[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /bin/passwd as shell


David N Moore wrote:
> i'm a new poster here, but one thing that strikes me is that the
> source to passwd should be hanging around somewhere.  It wouldn't be
> incredibly difficult to make a custom version which does not ask for
> the original password, right?  Then you could set it to be the login
> shell and it wouldn't ask for the password twice.

and then no user, who has a valid shell has to enter the old password
from user x, when he wants to change the password of user x.
perhaps even if x=root ;-)

be careful, when you don't ask for the old password!


Reply to: