On Fri, 11 Apr 2003 Srinivas wrote :
using passwd command how can i pass password argument?
Exactly I want like this in normal user:
Command -u <user> -op <old password> -np <new passwpod>
I don't know if there is any such command. If there is however (which I seriously doubt), you might want to think about how (un)safe this is. Whatever you type on the shell prompt will not be hidden. Also, all executed commands show up in your history.
Regards, Nikhil.
_______________________________________________________________________ Odomos - the only mosquito protection outside 4 walls - Click here to know more! http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&o...
Correct,
anybody else issuing commands like "ps exwww" "w"
can see what passwd other user is setting.
Richard
----- Original Message ----- From: "Nikhil Karkera" ianmalc@rediffmail.com To: linuxers@mm.ilug-bom.org.in Sent: Friday, April 11, 2003 12:51 PM Subject: Re: [ILUG-BOM] How a non-root user can change password in commandline
I don't know if there is any such command. If there is however (which I seriously doubt), you might want to think about how (un)safe this is. Whatever you type on the shell prompt will not be hidden. Also, all executed commands show up in your history.
Regards, Nikhil.