Hi,

Am Sonntag, 30. Sep 2007, 20:15:06 -0500 schrieb Dan Farrell:
> On Sun, 30 Sep 2007 04:30:11 +0200
> Bertram Scharpf <[EMAIL PROTECTED]> wrote:
> > Now I detect there are users in passwd that don't have a
> > shadow entry...
> that makes sense, because some users aren't allowed to log in.  For
> example: 
> |  man:x:13:15:man:/usr/share/man:/bin/false
> the man user can't log in.  the shell is /bin/false.  

I detected it because there is a warning message in case
there is _no_ shadow entry. Instantiating an _empty_ shadow
entry makes it disappear:

  myhost ~ # su - man
  su: Authentication service cannot retrieve authentication
  info.
  (Ignored)
  myhost ~ # su - portage
  su: Authentication service cannot retrieve authentication
  info.
  (Ignored)
  myhost ~ # vi /etc/shadow
  myhost ~ # grep portage /etc/shadow
  portage:!:13784:0:99999:7:::
  myhost ~ # su - portage
  myhost ~ # echo $?
  1
  myhost ~ #                    


Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list

Reply via email to