Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 1998 11:11:44 -0500 (CDT)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        calvin@corp.gulf.net (Calvin Meloon)
Cc:        root@bmkind.lnk.telstra.net, questions@FreeBSD.ORG
Subject:   Re: FreeBSD Problems
Message-ID:  <199804231611.LAA16885@horton.iaces.com>
In-Reply-To: <Pine.BSI.3.95.980423104844.24676K-100000@marlin.corp.gulf.net> from Calvin Meloon at "Apr 23, 98 10:51:10 am"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Calvin Meloon said:
> > 
> > 1. If I change the root login shell in /etc/passwd to /bin/sh instead of
> > /bin/csh , it still comes up as "csh" when I login as root.
> 
> As root, try chfn. Make sure you have the right path set up for 'sh'.

I think the problem was that he editted /etc/passwd instead of using
vipw. 

vipw edits /etc/master.passwd and then runs pwd_mkdb, which populates
/etc/passwd /etc/pwd.db and /etc/spwd.db



> > 
> > 2. The /etc/passwd file has * for all passwords. This is confusing because
> > older unix systems used * to DISABLE a user login. If * is NOT disable,
> > then how do I disable a user login ?
> 
> This should be normal for the /etc/passwd file. Check your
> /etc/master.passwd file, and you should see the encrypted passwords. 

/etc/passwd holds all information except passwords. 



>   _____     __     _
>  / ___/__ _/ /  __(_)__  Gulf Coast Internet           Calvin M. Meloon
> / /__/ _ `/ / |/ / / _ \ Pensacola, FL               Unix Administrator
> \___/\_,_/_/|___/_/_//_/ (850)438-5700                   writer of code
> ~~~~ calvin@gulf.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Proponent of FreeBSD
>                              and the right of everyone to use a real OS
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


-- 
"Everything that irritates us about others can lead us to an
 understanding about ourselves."   --Carl Jung (1875-1961)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804231611.LAA16885>