| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
to the mangpage explaining the consequences (to be updated at a later
date after login class conf support is added).
|
|
|
|
|
|
| |
(/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.
|
|
|
|
| |
Minor fix for security patch.
|
|
|
|
|
| |
Submitted by: proff@iq.org
Security patch for better random password generation.
|
|
|
|
|
|
| |
the allowable character set.
Submitted by: David Nugent
|
| |
|
|
|
|
|
|
| |
copyright.
Submitted by: David Nugent
|
| |
|
|
|
|
|
|
|
|
| |
sysinstall use of this tool (plus some bug fixes).
2.2 candidate...
Submitted by: David Nugent <davidn@nserver.usn.blaze.net.au>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
(in /etc/adduser.message text)
Sending password by E-mail on local machine is joke in any case
|
|
|
|
| |
Submitted by: kuku
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
usage: rmgroup group
|
|
|
|
| |
addgroup [-g gid] group [user[,user,...]]
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
| |
was going on in pwd_mkdb, except here we also have to deal with
the pw_change and pw_expire fields.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
close PR#1595
suggested by: Seppo Kallio <kallio@beeblebrox.cc.jyu.fi
|
|
|
|
|
|
|
| |
was to paranoid, pwd_mkdb(8) is carefully enough to not
corrupt master.passwd on failure.
Submitted by: joerg
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
of /etc/master.passwd
|
| |
|
|
|
|
|
|
| |
you can still enable it. Better, use mail client like elm or pine.
Requested by: Jordan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from a script as if it was done in the interactive editor.
When reassembling the gecos string, trim any excess trailing commas, they
look ugly in the passwd file. :-)
Have a simple Makefile tweak to prevent mortal users from changing their
fullname. As ISP's we have seem some real bizzare stuff here..
When decoding the change/expire string, allow the month number as a
synonym for the name of the month.. (ie: 1 as well as Jan or January)
Note that using numbers means there's a chance that you can get bitten
if you're not used to the American DD-MM-YY order.
|
|
|
|
| |
Reviewed by: peter@freebsd.org
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
option to pwd_mkdb and adding this option to utilities invoking it.
Further, the filling of both the secure and insecure databases has been
merged into one loop giving also a performance improvemnet.
Note that I did *not* change the adduser command. I don't read perl
(it is a write only language anyway).
The change will drastically improve performance for passwd and
friends with large passwd files. Vipw's performance won't change.
In order to do that some kind of diff should be made between the
old and new master.passwd and depending the amount of changes, an
incremental or complete update of the databases should be agreed
upon.
|
|
|
|
|
| |
This program should COMPLAIN about uids > 65K but not abort.. they are after
all legal, and some of us NEED them!
|
|
|
|
| |
Submitted (via Usenet) by: Nathan Torkington <gnat@frii.com>
|
|
|
|
| |
Obtained from: mailing list
|
|
|
|
|
|
| |
that would cause it to fail if anyone but the superuser tried to use it.
Also fix a couple of harmless typos since I'm in the area.
|
|
|
|
|
|
|
| |
is available before trying to go hunting for a domain name. This fixes
the following problem: you have +::::::::: in /etc/master.passwd but
NIS isn't running (no ypbind, no domain name set) -- passwd and chpass
will still try to change an NIS password instead of the local one.
|
|
|
|
|
|
| |
We also don't ship tcsh or ksh by default.
Correct these two things to make sh the default and increase csh and sh
to be higher priority.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shell to one of the following:
- a non-existent file
- a non-regular file
- a file without any execute bits set
The shell is still set to whatever they entered even if the above
conditions exist (hey, it is the super user doing this after all :-),
but this might give the admin. some warning that they are about to screw
themselves and give them a chance to fix it before it is too late.
Inspired by: some new FreeBSD user on USENET who set his root shell
to a shell that doesn't exist and now can't gain access to root (don't
worry, I sent him some mail on how to recover from this).
|
|
|
|
|
|
|
|
|
|
| |
a master server and initialize the suser_override flag, but in a non-NIS
environment is should be smart enough to just leave the flag cleared
and return (unless forced with a command-line argument like -y).
Otherwise, it will return an NIS-related error even if NIS isn't
turned on.
Pointed out by: ache
|