Re: ! password in /etc/shadow
From: Lech Karol Pawłaszek (ike_at_kni.univ.szczecin.pl)
Date: 03/31/05
- Previous message: Hugo Vanwoerkom: "evdev mouse protocol in Xfree86"
- In reply to: Matt Zagrabelny: "Re: ! password in /etc/shadow"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Thu, 31 Mar 2005 17:25:44 +0200
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]
- Previous message: Hugo Vanwoerkom: "evdev mouse protocol in Xfree86"
- In reply to: Matt Zagrabelny: "Re: ! password in /etc/shadow"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]