Date: Thu, 9 Jul 1998 19:01:48 +0000 From: Lee Johnston <ljohnston@cyberworld.demon.co.uk> To: "Pavel V. Antipov" <pavel@ikar.elect.ru>, questions@FreeBSD.ORG Subject: Re: About passwd e.t.c. Message-ID: <19980709190148.A1087@ljis.ml.org> In-Reply-To: <Pine.BSF.3.96.980709141020.2582A-100000@ikar.elect.ru>; from Pavel V. Antipov on Thu, Jul 09, 1998 at 02:19:47PM %2B0400 References: <Pine.BSF.3.96.980709141020.2582A-100000@ikar.elect.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 09, 1998 at 02:19:47PM +0400, Pavel V. Antipov wrote: > Hi ! > > I added a mail-user to FreeBSD 2.2.5 with shell /sbin/nologin . > Mail service work properly but I cannot change shell for this mail-user. > I manualy wrote new shell program into /etc/passwd AND /etc/master.passwd > but shell (after rebooting) was not choose. > > Questions: > 1. Why I can't change shell program ? > 2. Why can I change shell program ? > 3. How can I change password for that mail-user (user need it)? Well, You could use these ways to change the shell: 1. Edit both password files automatically using vipw. 2. Change you users shell by using chsh [username]. As for the password, use the following as root: passwd [username] For more info see the man pages. Hope this helps you, Lee. 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?19980709190148.A1087>