Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2006 17:04:41 +0530
From:      Shantanoo Mahajan <shantanoo@gmail.com>
To:        Alex Zbyslaw <xfb52@dial.pipex.com>
Cc:        freebsd-questions@freebsd.org, up@3.am
Subject:   Re: How to change all /bin/bash at /etc/passwd to /sbin/nologin?
Message-ID:  <20061010113441.GA16708@madhosh.dhoomketu.net.in>
In-Reply-To: <452B7CAA.9030608@dial.pipex.com>
References:  <Pine.BSF.4.44.0610091617410.16925-100000@richard2.pil.net> <452B7CAA.9030608@dial.pipex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
+++ Alex Zbyslaw [freebsd] [10-10-06 11:57 +0100]:
| up@3.am wrote:
| 
| >I would not recommend using vipw [...] to change your users' shells.
| > 
| Why not?
| 
| --Alex

man pw
and look for '-s' option
Though it many need little bit of scripting. This may be useful to
automate the process. But if for one time change, I would prefer vipw.

-- 
Ignore everybody.



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