summaryrefslogtreecommitdiff
path: root/usr.sbin/adduser/rmuser.perl
AgeCommit message (Collapse)Author
2005-06-07Don't restrict what login name may be removed, the account mayTodd C. Miller
have been made with a tool other than adduser and thus may use characters adduser considers illegal. OK henning@ and krw@
2002-05-31Typo, "TMP_PW" used where "NEW_PW" was intended; fixes /etc/ptmpTodd C. Miller
deletion when rmuser is aborted. From Jason DiCioccio
2002-03-05Don't delete ptmp if we didn't create it ourselves; Brian PooleTodd C. Miller
2001-09-04another username limit issue; ianm@cit.uws.edu.auTheo de Raadt
2000-11-25Fix some warnings and take advantage of perl5 system definesTodd C. Miller
In adduser, use /etc/ptmp as a lock file like the other passwd programs. Currently it is just kept empty which is not so great. Use sysopen() with explicit file modes so there is no race whereby a user could see the contents on the master.passwd temp file in rmuser. Fix order of file opens in rmuser so we don't try and remove anything unless we can lock all our files.
1999-07-11Fix check for valid user name in interactive useMarc Espie
1996-12-08sync with FreeBSD, except for the damned tcl script.Jason Downs