Subject: mgetty does not work in single user mode
From: Bill Marcum
Date: 10/24/2007 3:53:37 AM
On 2007-10-23, wong_powah@yahoo.ca <wong_powah@yahoo.ca> wrote:
> I modify /etc/inittab so that mgetty should work in single user
> mode. However it does not work in single user mode but work in
> runlevel 6. Why?
> s1:12345:respawn:/sbin/mgetty /dev/ttyS1 -s 115200 -r
>
In single user mode, the file /etc/nologin is created. Users cannot
normally log in while that file exists. You could modify the /etc/pam.d
files to remove references to pam_nologin, or you could use a different
runlevel (in Debian-based distros, runlevels 2-5 are identical ny
default).
|