IPB
>  Man Pages > Linux > openSUSE 10.2 > Section 8 > sulogin man page

sulogin man page

Section 8 - openSUSE 10.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


SULOGIN(8)            Linux System Administrator's Manual           SULOGIN(8)



NAME
       sulogin -- Single-user login

SYNOPSIS
       sulogin [ -e ] [ -p ] [ -t timeout ] [ tty-device ]

DESCRIPTION
       sulogin  is  invoked  by  init(8) when the system goes into single user
       mode (this is done through an entry in inittab(5)). Init also tries  to
       execute sulogin when it is passed the -b flag from the bootmonitor (eg,
       LILO).

       The user is prompted

            Give root password for system login
            (or type Control-D for normal startup):

       sulogin will be connected to the current terminal, or to  the  optional
       device  that  can be specified on the command line (typically /dev/con-
       sole).

       If the -p flag was set, the single-user shell will be  invoked  with  a
       dash  as the first character in argv[0]. That will cause most shells to
       behave as a login shell. The default is not to do  this,  so  that  the
       shell will not read /etc/profile or $HOME/.profile at startup.

       After the user exits the single-user shell, or presses control-d at the
       prompt, the system will (continue to) boot to the default runlevel.

ENVIRONMENT VARIABLES
       sulogin looks for the environment variable SUSHELL or sushell to deter-
       mine  what  shell  to start. If the environment variable is not set, it
       will try to execute root's shell from /etc/passwd.  If  that  fails  it
       will fall back to /bin/sh.

       This  is  very  valuable together with the -b flag to init. To boot the
       system into single  user  mode,  with  the  root  file  system  mounted
       read/write,  using a special "failsafe" shell that is statically linked
       (this example is valid for the LILO bootprompt)

       boot: linux -b rw sushell=/sbin/sash

FALLBACK METHODS
       sulogin checks the root password using the standard  method  (getpwnam)
       first.   Then,  if  the -e option was specified, sulogin examines these
       files directly to find the root password:

       /etc/passwd,
       /etc/shadow (if present)

       If they are damaged or non-existant, sulogin will start  a  root  shell
       without  asking  for a password. Only use the -e option if you are sure
       the console is physically protected against unauthorized access.

AUTHOR
       Miquel van Smoorenburg <miquels@cistron.nl>

SEE ALSO
       init(8), inittab(5).



                                  04 Nov 2003                       SULOGIN(8)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Sat Sep 8 16:40:34 GMT 2007

Your favourite pages:

No pages logged yet...

Top 10 most popular pages:

prstat man page (24541 hits)
(Solaris 10 11_06)

netcat man page (17692 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (13521 hits)
(Solaris 10 11_06)

signal man page (12550 hits)
(Suse Linux 10.1)

startproc man page (11987 hits)
(Suse Linux 10.1)

raidctl man page (11353 hits)
(Solaris 10 11_06)

adv_cap_autoneg man page (10283 hits)
(Solaris 10 11_06)

sqlite3 man page (9729 hits)
(openSUSE 10.2)

CPAN man page (8947 hits)
(Suse Linux 10.1)

BusyBox man page (7698 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Cambridge Plus :: Pyrenees Ski Holidays :: Prototype PCB Etching :: Hepolite Piston Rings
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum