Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Wed May 30 11:25:35 2012 from 38.107.179.228
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Sulogin en anglais

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


sulogin - Single-user login
 
SYNOPSIS


sulogin [ -e ] [ -p ] [ -t SECONDS ] [ TTY ]
 
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 the boot loader (e.g., grub(8)) passes it the -b option. The user is prompted Give root password for system maintenance (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 -t option is used then the program only waits the given number of seconds for user input. If the -p option is used then the single-user shell is invoked with a dash as the first character in argv[0]. This causes the shell process 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 option to init. To boot the system into single user mode, with the root file system mounted read/write, using a special "fail safe" 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 nonexistent, 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
 
SEE ALSO


init(8), inittab(5). 17 Jan 2006 SULOGIN(8)


 Dernières recherches
Man  en anglais Man sulogin en anglaisMan  en français Man sulogin en français
Man  en anglais Man strxfrm en anglaisMan  en français Man strxfrm en français
Man  en anglais Man strverscmp en anglaisMan  en français Man strverscmp en français
Man  en anglais Man strtoull en anglaisMan  en français Man strtoull en français
Man  en anglais Man strtoq en anglaisMan  en français Man strtoq en français
Man  en anglais Man strtoll en anglaisMan  en français Man strtoll en français
Man  en anglais Man strtok_r en anglaisMan  en français Man strtok_r en français
Man  en anglais Man strtof en anglaisMan  en français Man strtof en français
Man  en anglais Man strrchr en anglaisMan  en français Man strrchr en français
Man  en anglais Man strnlen en anglaisMan  en français Man strnlen en français
Man  en anglais Man strndup en anglaisMan  en français Man strndup en français
Man  en anglais Man strncpy en anglaisMan  en français Man strncpy en français
Man  en anglais Man strncmp en anglaisMan  en français Man strncmp en français
Man  en anglais Man strncat en anglaisMan  en français Man strncat en français
Man  en anglais Man strncasecmp en anglaisMan  en français Man strncasecmp en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher