[ncolug] Re: /etc/shadow !! in password file

  • From: nor thern <zboson2003@xxxxxxxxx>
  • To: ncolug@xxxxxxxxxxxxx
  • Date: Thu, 20 Jun 2013 09:09:16 -0700 (PDT)


--- On Thu, 6/20/13, M. Knisely <charon79m@xxxxxxxxx> wrote:

> From: M. Knisely <charon79m@xxxxxxxxx>
> Subject: [ncolug] /etc/shadow !! in password file
> To: "ncolug@xxxxxxxxxxxxx" <ncolug@xxxxxxxxxxxxx>
> Date: Thursday, June 20, 2013, 7:49 AM
> I know that the ! can mean
> that the password field is blank or disabled... what I need
> to do is to use the passwd command to get it to write a !!
> in the password field of /etc/shadow.
> Any suggestions?  
> 
> Mike K.
> PS:  Yes, I have googled it... extensively.
> PPS:  Yes, I know I can, as root, edit
> /etc/shadow and do it manually.  Trust me when I say that
> there are reasons I don't want to do that unless I
> absolutely have to.
> 
> echo \!\! > shadowtest 


To unsubscribe send to ncolug-request@xxxxxxxxxxxxx with 'unsubscribe' in the 
Subject field.

Other related posts: