| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
of -p/-s/-a related cruft.
Closes PR # misc/933 "chpass -s <shell>" does not work
|
|
|
|
|
|
|
|
| |
Install (optional) libutil.h with prototypes for the functions and
document this in the man page.
minor cleanups to the various routines, include the prototype file, declare
return codes etc.
|
| |
|
| |
|
|
|
|
| |
Submitted by: Coranth Gryphon <gryphon@healer.com> & Wolfram Schneider <wosch@cs.tu-berlin.de>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
NIS (or both, or neither). Also add support for -l and -y flags to
force behavior to local or NIS. use_yp() also goes out of its way to
retrieve the correct password database information (local or NIS)
depending on what the situation since getpwent() & co. can't
necessarily be trusted in some cases.
Also document new flags in man page.
|
|
|
|
|
|
|
| |
Keep DPADD up to date with LDADD.
bsd.prog.mk's install rule can't handle schg'ed links, so ugly
beforeinstall and afterinstall rules are required.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and graft it into chpass.
Chpass can now tell when it's being asked to operate on an NIS
user and it displayes the appropriate message in the editor
template ("Changing NIS information for foo"). After the changes
have been made, chpass will promte the user for his NIS password.
If the password is correct, the changes are committed to yppasswdd.
Hopefully, this should make NIS more transparent to the end user.
Note that even the superuser needs to know a user's password before
he can change any NIS information (such is the nature of yppasswdd).
Also, changes to the password field are not permitted -- that's what
yppasswd is for. (The superuser may specify a new password, but
again, he needs to know the user's original password before he can
change it.)
|
|
|
|
|
|
|
|
|
| |
'NIS information unchanged' or '/etc/master.passwd unchanged'
depending on which was is being modified (conditional on -DYP).
This is to save me the trouble of writing a whole other error
routine (nis_error()?) for the upcoming changes to passwd and
chpass.
|
|
|
|
| |
which is no longer bogusly installed in /usr/include.
|
|
|
|
|
| |
change and expire dates by 1 day anytime root
edits a user that has a change/expire date set.
|
|
|
|
|
|
|
|
|
|
|
|
| |
restricted. Am I the only one who sees the absurdity of having chfn be
a link to chpass, and then denying users permission to use chpass to
change their full names?
Of course, chpass has a much more severe bug in it, which is that it
allows users to change their password database info without first
asking them for their password. I hope to fix this at some point
so that I can merge ypchpass, ypchfn, ypchsh and chpass into one
program (password authentication is required for changing NIS data).
|
| |
|
| |
|
|
|
|
|
|
| |
crypt salt string begin with a '_', no other crypt's do. If you remove the
initialization of $salt to '_' in sub salt(), everything works as advertised.
Submitted by: Charles Henrich <henrich@crh.cl.msu.edu>
|
|
|
|
| |
Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
|
| |
|
|
|
|
|
| |
Remove old salt cause possible endless loop
Submitted by: <wosch@cs.tu-berlin.de>
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
|
|
| |
o less restrictive, you can choise uid, gid ...
o invite user into some groups
o encrypted passwords with crypt
o batch mode (for instance, this works now:
$ adduser -batch jkh guest,uuadmin "Jordan K. Hubbard" passwd
see manpage for more details)
Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
|
|
|
|
| |
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
|
|
|
|
| |
reported by MARC Giannoni <marc@cmc.eng.comsat.com>, this fix is by me.
|
|
|
|
|
| |
encrypted password. Kerberized `login' might use this, if I get around
to implementing the complete Allspice System behavior.
|
| |
|
|
|
|
|
|
|
| |
o manpage
o save configuration in /etc/adduser.conf
o send message file (/etc/adduser.message)
Submitted by: woschcs.tu-berlin.de
|
|
|
|
|
| |
adduser is a Cadillac to your Volkswagen.. :-)
Submitted by: wosch@cs.tu-berlin.de
|
|
|
|
| |
Remove manpage reference to BSD adduser, add pwd_mkdb reference
|
|
|
|
| |
Use more macros instead of hardcoded things
|
| |
|
|
|
|
| |
Add empty clean and obj targets.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Would a makefile guru please look this over to make sure I did this right?
|
| |
|
|
|
|
| |
be compleate.
|
| |
|
|
|
|
| |
use chflags /usr/bin/chpass ONLY if chpass present
|
|
|
|
|
|
|
|
|
|
|
| |
!!!!!!!!
NB
!!!!!!!!
You MUST pwd_mkdb /etc/master.passwd before attempting to use the new
libc, or things may go wrong. (I doubt anything actually /will/ go
wrong, but the actual behavior is undefined. YOU HAVE BEEN WARNED.)
The database format is, however, backwards-compatible, so old executables
will still work.
|
|
|
|
| |
can install a new copy of it.
|
| |
|
|
|