summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Various bugfixes.David Nugent1997-01-071-7/+11
|
* Commit the right version this time. :-)David Nugent1997-01-071-2/+2
|
* Fix for login_getclass(NULL) case.David Nugent1997-01-071-4/+6
|
* Adds optional NIS passwd file updating and optionally rebuildingDavid Nugent1997-01-058-22/+202
| | | | | | NIS maps. Suggested by: Peter Wemm
* Remove duplicated #include.David Nugent1997-01-051-2/+1
|
* Fix reference /etc/acct/pw.conf -> /etc/pw.conf.David Nugent1997-01-051-2/+2
| | | | Pointed-Out-By: Peter Wemm.
* Library functions relating to the login class capabilities database,David Nugent1997-01-041-0/+564
| | | | | including manpages. See also login_cap.h.
* Implemented /home -> /usr/home symlink kludge.David Nugent1997-01-031-11/+28
| | | | | If home basedir would be created in the root partition, create it under /usr instead, and symlink /basedir -> /usr/basedir.
* 1) Base home directory is created if it does not already exist ifDavid Nugent1996-12-301-35/+65
| | | | | | | | useradd -m or useradd -D -b are used. 2) Hyphen allowed in username if not first character. Fix trivial bug in error fmt string. 3) /etc/skeykeys updating changed to do 'inplace' update, commenting out a username rather than removing it completely.
* Allow dash `-' (except for first char) and underscore `_' in usernames.Wolfram Schneider1996-12-292-5/+7
| | | | pointed out by: max
* Finally document the interfaces found in libutil. While being here,Joerg Wunsch1996-12-291-1/+3
| | | | | | | | | also add the missing declaration of forkpty() to libutil.h. Btw., the calling interface for login(3) is crude. Some better abstraction is needed, perhaps similar to logwtmp(3). 2.2 candidate, but i'll wait for the spelling police first. :)
* remove group limits checksWolfram Schneider1996-12-292-45/+7
|
* increase username length limit to 16Wolfram Schneider1996-12-291-2/+2
|
* Correct file modes on updated /etc/skeykeys.David Nugent1996-12-231-2/+2
|
* Minor internal mdoc usage changes.Mike Pritchard1996-12-231-4/+6
|
* Minor style fixes.Mike Pritchard1996-12-235-87/+94
| | | | | | I also renamed the adduser "-quit" option to "-quiet", since it is supposed to be the same as the -s/-silent option, and -quit must have beena typo.
* 1) 200 users per group limitation removed and pwDavid Nugent1996-12-219-290/+472
| | | | | | | will handle lines of any length in /etc/group. 2) Fixed bug with usermod -d not updating user's home directory. 3) Minor formatting display changes/fixes with *show -P.
* Bugfix (cosmetic) for output of generated passwords.David Nugent1996-12-201-3/+3
|
* Allow 8-bit characters in the passwd gecos field, and adds a paragraphDavid Nugent1996-12-194-16/+37
| | | | | to the mangpage explaining the consequences (to be updated at a later date after login class conf support is added).
* Changes to password generator: fallback to MD5 generator disabledDavid Nugent1996-12-172-35/+70
| | | | | | (/dev/urandom used by default under FreeBSD), and implemented a "portable" but less secure generator for other systems. Add display of expiry/password change dates in -P user display.
* Submitted by: proff@iq.orgDavid Nugent1996-12-171-2/+2
| | | | Minor fix for security patch.
* Reviewed by: davidn@blaze.net.auDavid Nugent1996-12-161-4/+50
| | | | | Submitted by: proff@iq.org Security patch for better random password generation.
* Update from David, reflecting Wolfram's wishes regarding limitation ofJoerg Wunsch1996-12-111-5/+8
| | | | | | the allowable character set. Submitted by: David Nugent
* Merg-o-matic.Joerg Wunsch1996-12-111-13/+7
|
* Copyright update by the author, to be more in line with our sampleJoerg Wunsch1996-12-1020-219/+111
| | | | | | copyright. Submitted by: David Nugent
* Merge from the vendor-branch.Joerg Wunsch1996-12-101-56/+208
|
* Upgrade from the author, reflecting all my wishes resulting out of theJoerg Wunsch1996-12-098-127/+274
| | | | | | | | sysinstall use of this tool (plus some bug fixes). 2.2 candidate... Submitted by: David Nugent <davidn@nserver.usn.blaze.net.au>
* Minor spelling/mdoc/style fixes.Mike Pritchard1996-12-091-20/+25
|
* pw(8) -- a backend utility to manage the user and group databases.Joerg Wunsch1996-12-0921-0/+4523
| | | | | | | sysinstall's new User&group menu will use it, hence it's a 2.2 candidate despite of providing new functionality. Submitted by: David L. Nugent, <davidn@blaze.net.au>
* Expand username limit to 16Andrey A. Chernov1996-12-072-7/+7
|
* Don't show on the screen just securely entered passwordAndrey A. Chernov1996-11-271-3/+3
| | | | | (in /etc/adduser.message text) Sending password by E-mail on local machine is joke in any case
* do not print 'illegal shell' for pseudo users news and xtenWolfram Schneider1996-11-201-2/+2
| | | | Submitted by: kuku
* install rmuser, addgroup, rmgroup in /usr/sbinWolfram Schneider1996-11-174-4/+574
|
* pw_scan() was being used to convert a string into a struct passwd, withPeter Wemm1996-11-151-1/+1
| | | | | | | | | | | an auto stack variable that was about to disappear. It broke with some nis passwd changes because of a gethostbyname() call that uses a fair bit of stack.. This was a timebomb waiting to go off at any time and could have been causing subtle corruption for a while. AARGH!! This is HIGHLY reccomended for 2.2 and presumably 2.1.6
* manpages for rmgroup(8) and addgroup(8)Wolfram Schneider1996-11-043-2/+142
|
* rmgroup - delete a Unix groupWolfram Schneider1996-10-301-0/+29
| | | | usage: rmgroup group
* addgroup - add a group or add users to a groupWolfram Schneider1996-10-291-0/+220
| | | | addgroup [-g gid] group [user[,user,...]]
* Add a flag to allow the 'use NIS or local?' logic to tell when NIS isBill Paul1996-10-232-5/+8
| | | | | | | enabled in /etc/master.passwd & friends. This allows the 'USER_YP_AND_LOCAL' case to make a more sensible guess (if NIS is enabled, default to NIS, otherwise default to local -- this is better than defaulting to NIS all the time).
* *blush* Whoops: got the format strings wrong.Bill Paul1996-10-221-4/+4
|
* Part 2 of fix for PR #1519. The problem here is similar to whatBill Paul1996-10-221-8/+25
| | | | | was going on in pwd_mkdb, except here we also have to deal with the pw_change and pw_expire fields.
* Modify the 'couldn't create udp handle' message so it tell youBill Paul1996-10-221-4/+5
| | | | | | the name of the host that couldn't be connected to. This will hopefully make it easier to diagnose problems with certain NIS configuration problems.
* warn if reach group line limit (>200 users, >1024 bytes per line)Wolfram Schneider1996-09-171-1/+10
| | | | | | close PR#1595 suggested by: Seppo Kallio <kallio@beeblebrox.cc.jyu.fi
* Do not backup master.passwd if pwd_mkdb returned an error. ThisWolfram Schneider1996-09-141-13/+3
| | | | | | | was to paranoid, pwd_mkdb(8) is carefully enough to not corrupt master.passwd on failure. Submitted by: joerg
* Make passwords no longer echo or display. Because of this, we now alsoJordan K. Hubbard1996-09-111-4/+16
| | | | | | | ask for matching confirmation. I'm sure there is a clever direct-from-perl ioctl way of putting the terminal into noecho mode, but I don't feel like learning perl so I just used system. [yes, I'll put stty on the installation boot floppy as necessary]
* typo policeAdam David1996-08-282-34/+35
| | | | | | | | I couldn't make any sense of the sentence "Eval variables in this file." so I left it alone. also allow creation of new local group when NIS groups are used. this can probably be done more elegantly, and needs more thought.
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightWolfram Schneider1996-08-272-46/+30
|
* Use the .Fx macro where appropriate.Mike Pritchard1996-08-231-2/+3
|
* run pwd_mkdb with new check option [-c] to verify correctnessWolfram Schneider1996-08-201-2/+2
| | | | of /etc/master.passwd
* Do not add an user to a group if the group is also the login group.Wolfram Schneider1996-08-141-11/+14
|
* Do not send "welcome mail" as default. If you want this featureWolfram Schneider1996-08-131-4/+8
| | | | | | you can still enable it. Better, use mail client like elm or pine. Requested by: Jordan