[1823] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: /etc/nologin fix

daemon@ATHENA.MIT.EDU (Michael K. Johnson)
Wed Oct 30 11:25:06 1996

To: redhat-list@redhat.com
From: "Michael K. Johnson" <johnsonm@redhat.com>
In-reply-to: Your message of "Wed, 30 Oct 1996 09:14:04 MST."
             <1.5.4.32.19961030161404.0092e4b4@digitalpla.net> 
Date: Wed, 30 Oct 1996 11:22:22 -0500
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


Mac McClellan writes:
>I've probably got the horse before the cart.

Yup.

>I upgraded pam, util-linux and
>NetKit before I ran the script.  After running the script I am unable to
>logon.  I've tried re-upgrading pam but that does'nt work.

Nope.

You can either re-upgrade (with the --force option) util-linux and NetKit-B,
or you can run this script:
for i in $(rpm -q --whatrequires pamconfig) ; do
  rpm --qf '%{POSTIN}' $i | sh -x
done
That's taken from another point in the errata, but it solves the same
problem.

>What exactly
>does the /etc/nologin file do?  Do I really need it?

You can lock out non-root users by creating /etc/nologin

When /etc/nologin is in place, its contents are displayed to
everyone trying to log in.

michaelkjohnson

"Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?"



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post