Re: rmnologin in rc$.d
In article <[🔎] 3F1A17C6.3010002@techhouse.org>,
Travis Crump <pretzalz@techhouse.org> wrote:
>David Z Maze wrote:
>
>> Another is to use the man command; often random files are documented
>> in man pages. For example, nologin(5) documents what exactly
>> /etc/nologin does such that you'd need an init script to remove it.
>
>
>No, it doesn't. It documents why you'd need an init script to remove it
>once another init script creates it, but it doesn't really explain why
>the bootmisc.sh needs to create it in the first place. Would there be
>anything wrong/dangerous in setting DELAYEDLOGIN=no[and then moving gdm
>as early as possible in the queue]?
You do not want to let users login before networking is up,
NIS is running, and $DEITY knows what else is needed for a correct
user environment.
That is why a /etc/nologin is created early in the bootprocess,
before it is possible for mortals to login, and removed just before
the entire bootsequence is complete.
Mike.
Reply to: