[SunHELP] Invalid shell
Matthew Hattersley
MatthewHattersley at businessserve.co.uk
Fri Jun 3 09:42:42 CDT 2005
I tend to find that /bin/false works nicely ;)
Plus I see no reason not to just use vi, as opposed to vipw....
The only reason I can see to use vipw is on a bsd box where /etc/passwd is
the clear text version of the password db.
-----Original Message-----
From: adh at an.bradford.ma.us [mailto:adh at an.bradford.ma.us]
Sent: 02 June 2005 12:23
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] Invalid shell
" From: guna sekaran <guna_p3 at yahoo.com>
"
"
" In solaris 2.6,how to assign an invalid shell to user
" account smtp,where the uid of smtp and the root is 0.i
" cant use usermod command since it requires uid.is
" there any way to assign an invalid account to the user
" smtp.
read up on /usr/ucb/vipw and the passwd file format, then change the
smtp shell to /dev/null.
________________________________________________________________________
Andrew Hay the genius nature
internet rambler is to see what all have seen
adh at an.bradford.ma.us and think what none thought
_______________________________________________
SunHELP maillist - SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list