Sponsored Content
Top Forums UNIX for Beginners Questions & Answers I have forgot my root password. Solaris 10 Post 303045838 by Stellaman1977 on Tuesday 14th of April 2020 10:28:30 PM
Old 04-14-2020
Hi. I had the same problem and this solution was really helpful. However, I was able to do this without an installation CD. From the login screen, I did a
Code:
STOP A

then boot into failsafe mode
Code:
boot -F failsafe

. As a bonus, when it reboots, it tells you what drive the operating system is on and asks you if you would like to mount it to /a. Here is my whole procedure:


From the login screen:
Stop A
At the {1}ok prompt:
boot -F failsafe
Screen echoes that it has found the disk with the OS and do you wish to have it mounted read-write on /a. Choose:
y
Instead of using EDIT command, you can use VI by entering
TERM=vt100
Export TERM
Edit the password file:
vi /a/etc/shadow
Use ghjk to navigate to the hashed password (between 1st and 2nd colons), then x to delete the characters.
Save the file:
:
w!
Exit the file:
:
Q
Power the machine off, then back on.
This User Gave Thanks to Stellaman1977 For This Post:
 

10 More Discussions You Might Find Interesting

1. Linux

forgot password red hat ?

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

forgot password

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 Dummies Questions & Answers

I forgot my UNIX password!!

Hello, Is there a way to reset the "root" unix password, pretty much like you would do in linux by going into single user mode? :confused: :confused: Thank you in advance. (5 Replies)
Discussion started by: Mr Big
5 Replies

4. Solaris

Solaris root password

Bit of a strange problem I have never come across before.. I can log into the workstation going through the server as it is a trusted host but when I try and connect to the workstation through SSH or RSH directly it will not take the password, I changed the password when I logged in the machine... (5 Replies)
Discussion started by: Mr Pink
5 Replies

5. Red Hat

forgot root passwd

hi i have a RHEL 4 and have forgot root passwd tried to boot in by singel user and then changing the passwd but it's not letting me do that ......throwing some weird error as .......manipulation i also tried to make a new user from CLI but even though it's not letting me in from that user as... (12 Replies)
Discussion started by: techbravo
12 Replies

6. Solaris

forgot password

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

7. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

8. UNIX for Dummies Questions & Answers

Forgot root password

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

9. Web Development

Forgot MYSQL password root

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

10. UNIX for Beginners Questions & Answers

Can a root role change the root password in Solaris 10?

i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet. and do i have to use the # chgkey -p afterwards? i need to patch is why i am asking. thanks (1 Reply)
Discussion started by: goya
1 Replies
PLYMOUTH(1)							   User Commands						       PLYMOUTH(1)

NAME
plymouth - Send commands to plymouthd SYNOPSIS
plymouth [OPTION...] plymouth COMMAND [OPTION...] DESCRIPTION
The plymouth sends commands to a running plymouthd. This is used during the boot process to control the display of the graphical boot splash. OPTIONS
The following options are understood. These options are supported for compatibility with the old rhgb-client interface, and have been replaced by the commands that are described in the next section. --help Show summary of options. --debug Enable verbose debug logging. --get-splash-plugin-path Get directory where splash plugins are installed. --newroot=[STRING] Tell plymouthd that the new root filesystem is mounted. --quit Tell plymouthd to quit. --ping Check if plymouthd is running. --has-active-vt Check if plymouthd has an active vt. --sysinit Tell plymouthd root filesystem is mounted read-write. --show-splash Show the splash screen. --hide-splash Hide the splash screen. --ask-for-password Ask the user for a password. --ignore-keystroke=[STRING] Remove sensitivity to a keystroke. --update=[STRING] Tell plymouthd an update about boot progress. --details Tell plymouthd there were errors during boot. --wait Wait for plymouthd to quit. COMMANDS
The following commands are understood: change-mode OPTION Change the operation mode. --boot-up Start the system up --shutdown Shutting the system up --updates Applying updates system-update OPTION Tell plymouthd about boot progress. --progress=INTEGER The percentage progress of the updates update OPTION Tell plymouthd about boot status changes. --status=STRING Tell plymouthd the current boot status update-root-fs OPTION Tell plymouthd about root filesystem changes. --new-root-dir=STRING Root filesystem is about to change --read-write Root filesystem is no longer read-only show-splash Tell plymouthd to show splash screen. hide-splash Tell plymouthd to hide splash screen. ask-for-password OPTION Ask the user for a password. --command=STRING Command to send password to via standard input --prompt=STRING Message to display when asking for password --number-of-tries=INTEGER Number of times to ask before giving up (requires --command) --dont-pause-progress Don't pause boot progress bar while asking ask-question Ask the user a question. --command=STRING Command to send the answer to via standard input --prompt=STRING Message to display when asking the question --dont-pause-progress Don't pause boot progress bar while asking display-message OPTION Display a message. --text=STRING The message text hide-message OPTION Hide a message. --text=STRING The message text watch-keystroke OPTION Become sensitive to a keystroke. --command=STRING Command to send keystroke to via standard input --keys=STRING Keys to become sensitive to ignore-keystroke OPTION Remove sensitivity to a keystroke. --keys=STRING Keys to remove sensitivitiy from pause-progress Pause boot progress bar. unpause-progress Unpause boot progress bar. report-error Tell plymouthd there were errors during boot. deactivate Tell plymouthd to deactivate. reactivate Tell plymouthd to reactivate. quit OPTION Tell plymouthd to quit. --retain-splash Don't explicitly hide boot splash on exit SEE ALSO
grub(8), plymouth(8), plymouthd(8), http://www.freedesktop.org/wiki/Software/Plymouth plymouth PLYMOUTH(1)
All times are GMT -4. The time now is 06:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy