[2333] in RedHat Linux List

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

Re: Is "linux single" a security concern?

daemon@ATHENA.MIT.EDU (Sunando Sen)
Sat Nov 2 12:02:22 1996

Date: Sat, 2 Nov 1996 11:57:33 -0500
From: Sunando Sen <sunando@nycc.com>
To: redhat-list@redhat.com, smurphy@antares.zrz.TU-Berlin.DE
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


>=20
> Well, I'm doing it differently. There's a programm, notably found in
> the shadow-packages, that can also be compiled for normal Passwoords,
> called "sulogin". I use them on all my Systems. once installed, put
> the Following lines in your /etc/inittab:
>=20
> # Shell to run in single user mode.
> ~~:S:wait:/sbin/sulogin
>=20
> and the following into the /etc/rc.d/rc.sysinit
>=20
>                 echo "*** An error occurred during the file system =
check."
>                 echo "*** Dropping you to a shell; the system will =
reboot"
>                 echo "*** when you leave the shell."
>=20
>                 PS1=3D"(Repair filesystem) #"; export PS1=20
>                 /sbin/sulogin                            <- This line =
!!!
>=20
>                 echo "Automatic reboot in progress."
>                 reboot
>=20
>=20
> It is a login programm, that asks for root's password as soon as
> invoqued. You folks should compile it statically, since a missing libc
> will not let you got into your system without boot-root disks.
>=20

I found sulogin in the source RPM of the sysvinit program downloaded =
from the=20
kernel 2.0 update areas of ftp.redhat.com.  I too made exactly the same =
changes=20
in inittab & rc.sysinit.  I wonder why Redhat did not bother to include =
it in=20
their binary RPM, since it seems to be useful.  Does it have any =
unintended side=20
effects that I may have overlooked?

Regards,


--
  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