09-11-2006
See
this thread and try searching or using the FAQ section next time.
8 More Discussions You Might Find Interesting
1. Linux
Dear Forum savants,
I have a problem that I am not sure how to overcome. Two years ago I had
a friend build me computer with a linux os (red hat) for learning purposes. It happens to have an oracle server on it as well... Anyway , because of personal reasons, I lost complete interest in... (5 Replies)
Discussion started by: jxh461
5 Replies
2. HP-UX
i forgot my password on a HP-UX 9.xx machine. is there a possible way of changing it without knowing the root passwd?
I would do it with a boot disk and chroot but I dont have a boot disk available....
any ideas?
thanks!!
Paul Tittel (1 Reply)
Discussion started by: paultittel
1 Replies
3. UNIX for Advanced & Expert Users
Hi friends,
I am having ibm pseries615c3 server. previously i set privileged access password for the firmware. Now i forgot that password. Help me to reset or remove the firmware password from the server. Otherwise anyone plz help me how to change the default boot device in pseries servers. I... (8 Replies)
Discussion started by: muthulingaraja
8 Replies
4. Solaris
hello friends,
I am currently using solaris 10.
I have lost the root password.
Can you please give me a step by step procedure on how to set the password again. (11 Replies)
Discussion started by: nsharath
11 Replies
5. UNIX for Dummies Questions & Answers
i am a new user of unix .
i lost my SGI unix server root password
Any body please help me,how get password? (2 Replies)
Discussion started by: vasu.k82
2 Replies
6. AIX
Hi,
I cannot login to an AIX machine. The login mechanism was that we had disabled remote "root" logins.
We have only one user that can access over SSH and that is "userabc".
Probably have forgotten the password or it has expired. Is there a way to recover or login. I have the password... (2 Replies)
Discussion started by: aixromeo
2 Replies
7. Web Development
I have VPS openSUSE 12.2
I forgot MYSQL password root
when i run in CMD:
> mysql
Error Message Show :
>> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) (6 Replies)
Discussion started by: CloudniX
6 Replies
8. UNIX for Beginners Questions & Answers
hi everyone
i have forgot my root password and i have other user to login. can i get the password without restarting the server as that cant be afforded. . it is a Sparc architecture 2U blade server. it is old server mounted and functional since 2009. what should be the modus oprandee. i am novice... (5 Replies)
Discussion started by: janakors
5 Replies
LEARN ABOUT REDHAT
sulogin
SULOGIN(8) Linux System Administrator's Manual SULOGIN(8)
NAME
sulogin -- Single-user login
SYNOPSIS
sulogin [ -e ] [ -p ] [ -t timeout ] [ tty-device ]
DESCRIPTION
sulogin can be 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 maintenance
(or type Control-D for normal startup):
sulogin will 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 determine 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 methods first. If the -e option was specified, sulogin examines the next files to find
the root password. If they are damaged, or non-existant, it will use fallback methods that even go so far as to provide you with a shell
prompt without asking for the root password if they are irrepairably damaged.
/etc/passwd,
/etc/shadow (if present)
AUTHOR
Miquel van Smoorenburg <miquels@cistron.nl>
SEE ALSO
init(8), inittab(5).
11 Sep 2000 SULOGIN(8)