Re: asking passwd during the login of single user mode

From: Lew Pitcher (Lew_Pitcher@td.com)
Date: 01/23/02


From: Lew_Pitcher@td.com (Lew Pitcher)
Date: Wed, 23 Jan 2002 13:30:13 GMT

On Wed, 23 Jan 2002 00:30:19 GMT, thegreatkarthik@yahoo.co.in
(karthikeyan) wrote:

>sir,
> I am using redhat 6.2.I want to set the passwd for single user mode.
>i am not saying about the lilo.conf (something like restricted
>password="something").But I want to provide more security.(ie)when the
>user entering in single user mode should be prompted for some password
>??how can i do that ?? asking password for user before getting the
>single user mode shell .help me .thk in adv...

Funny, that's exactly how my Slackware boxen work; you have to give a
password even in single-user runstate.

FWIW, the Slackware /etc/inittab looks like ...
  si:S:sysinit:/etc/rc.d/rc.S
  su:1S:wait:/etc/rc.d/rc.K
  c1:1235:respawn:/sbin/agetty 38400 tty1 linux
  c2:1235:respawn:/sbin/agetty 38400 tty2 linux
  c3:1235:respawn:/sbin/agetty 38400 tty3 linux
  c4:1235:respawn:/sbin/agetty 38400 tty4 linux
  c5:1235:respawn:/sbin/agetty 38400 tty5 linux
  c6:12345:respawn:/sbin/agetty 38400 tty6 linux

Lew Pitcher, Information Technology Consultant, Toronto Dominion Bank Financial Group
(Lew_Pitcher@td.com)

(Opinions expressed are my own, not my employer's.)



Relevant Pages

  • Re: asking passwd during the login of single user mode
    ... > I am using redhat 6.2.I want to set the passwd for single user mode. ... > am not saying about the lilo.conf (something like restricted ... asking password for user before getting the single ...
    (comp.os.linux.security)
  • Re: asking passwd during the login of single user mode
    ... > I am using redhat 6.2.I want to set the passwd for single user mode. ... > am not saying about the lilo.conf (something like restricted ... asking password for user before getting the single ...
    (comp.os.linux.security)
  • asking passwd during the login of single user mode
    ... I am using redhat 6.2.I want to set the passwd for single user mode. ... i am not saying about the lilo.conf (something like restricted ... asking password for user before getting the ...
    (comp.os.linux.security)
  • asking passwd during the login of single user mode
    ... I am using redhat 6.2.I want to set the passwd for single user mode. ... i am not saying about the lilo.conf (something like restricted ... asking password for user before getting the ...
    (comp.os.linux.security)
  • Re: Password Problem in RH Linux ES
    ... passwd someone ... What if I'm smart enough to require a password for single user mode? ... Users should know that they are not allowed to change accounts. ... People who are not sysadmins should generally not have root. ...
    (comp.os.linux.security)

Quantcast