Re: ! password in /etc/shadow
On Thursday 31 of March 2005 16:32, Matt Zagrabelny wrote:
> On Wed, 2005-03-30 at 20:47 -0800, Todd A. Jacobs wrote:
> > On Wed, Mar 30, 2005 at 04:21:38PM -0600, Matt Zagrabelny wrote:
> > > vi :)
> >
> > Or, more safely: vipw
>
> huh, i thought that was a bsd thing.
>
> be sure to use the -s:
>
> # vipw -s
or use
`passwd -d -l $user`
-d -- delete current password
-l -- "add" exlamation mark.
(if you use only -l parameter user also won't be able to login because of
exlamation mark added at the begining of hashed password)
regards,
--
Lech Karol Pawłaszek <ike>
"You will never see me fall from grace..." [KoRn]
Reply to: