changing users default shell

2005-05-14 Thread mojo fms
i know you use to be able to change it in /etc/passwd but im kind of
out of date on how it is done on newer versions of fbsd.. i cant find
any real info execpt for adduser in the handbook..

I want to change a users shell from sh to bash..

thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changing users default shell

2005-05-14 Thread [EMAIL PROTECTED]
mojo fms wrote:
 i know you use to be able to change it in /etc/passwd but im kind of
 out of date on how it is done on newer versions of fbsd.. i cant find
 any real info execpt for adduser in the handbook..
 
 I want to change a users shell from sh to bash..
 
 thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


man chsh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changing users default shell

2005-05-14 Thread albi
On Sat, 14 May 2005 10:28:07 -0700
mojo fms [EMAIL PROTECTED] wrote:

 i know you use to be able to change it in /etc/passwd but im kind of
 out of date on how it is done on newer versions of fbsd.. 

vipw is still valid for that :)

 i cant find
 any real info execpt for adduser in the handbook..
 
 I want to change a users shell from sh to bash..

from : man chsh
chpass -s bash username

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: changing users default shell

2005-05-14 Thread Steven R Howe
or
just to be a know-it-all with anither answer

pw usermod username -s /path/to/shell

I personally use vipw to mod user account info, but use this to add
users.


Good Luck
-steven





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mojo fms
Sent: Saturday, May 14, 2005 1:28 PM
To: freebsd-questions@freebsd.org
Subject: changing users default shell


i know you use to be able to change it in /etc/passwd but im kind of out
of date on how it is done on newer versions of fbsd.. i cant find any
real info execpt for adduser in the handbook..

I want to change a users shell from sh to bash..

thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 5/13/2005
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]