On Fri, 7 Aug 1998, Liran Zvibel wrote:

: On Thu, 6 Aug 1998, Doug Thistlethwaite wrote:
: > Hello,
: > 
: > What is the command that a user can use to change their default shells?  I 
did
: > it once long ago and have purged that part of my memory...
: > 
: 
: You can edit the file /etc/passwd, the defauld shell for the user is the
: last thing in the line.
: I'm sure that there is a script that does it for you, but I like doing it
: myself.

Uh, what about the case where a non-trusted user wants to change her
shell?  If you're going to let anyone edit /etc/passwd that's your
business, but I think it's insanity :)

`chsh' was invented so that a user who does not have root access may
change their shell.  See also `chfn', etc.

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD
mailto:[EMAIL PROTECTED]             http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to