Sponsored Content
Operating Systems Solaris Recovering Solaris 8 root password Post 302616049 by alvaradogunner on Friday 30th of March 2012 11:47:37 AM
Old 03-30-2012
hello sunadmin, thanks for replying.

I executed the format command, and displayed the following:

Quote:

AVAILABLE DISK SELECTIONS:

0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@8, 600000/SUNW, q1c@4/fp@0, 0/ssd@w21000004cfef8bff,0


1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@8, 600000/SUNW, q1c@4/fp@0, 0/ssd@w2100002037fd3d50,0


2. c1t8d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@8, 600000/SUNW, q1c@4/fp@0, 0/ssd@w210000203742463e,0


3. c1t9d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@8, 600000/SUNW, q1c@4/fp@0, 0/ssd@w2100000c50106ba2,0

4. c1t10d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@8, 600000/SUNW, q1c@4/fp@0, 0/ssd@w21000004cfd99304,0


5. c1t11d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@8, 600000/SUNW, q1c@4/fp@0, 0/ssd@w21000004cfd99ad6,0




eeprom boot-device displayed the next info:
Quote:


boot-device=/pci@8,600000/SUNW,q1c@4/fp@0,0/disk@w21000004cfef8bff, 0: a disk

eeprom information matches with the first disk1 showed by the format command, so this means that my file system resides on disk1.

I did a fsck on /dev/rdsk/c1t0d0s0 and mounted in on /a:

Quote:
fsck -y /dev/rdsk/c1t0d0s0

mount /dev/dsk/c1t0d0s0
I also set my TERM variable to sun and exported it:

Quote:
TERM=sun
export TERM
I opened the /a/etc/shadow file but it is not displaying any information about passwords. It displays the following:

Quote:
../var/run/syslog_door

"/a/etc/shadow" 1 line, 464 characters ( 441 null )
Any suggestions? Smilie

Last edited by alvaradogunner; 03-30-2012 at 12:59 PM..
 

9 More Discussions You Might Find Interesting

1. Solaris

How to set Root password age limit in Solaris 9/10

Hi Friends, Can anyone tell me how can I set the password age limit for root user to 14 days....??? Also would like to add following for root password; min-alpha --- 4 min-other --- 1 min-length -- 6 min-diff ----- 3 How can I do these on command line....??? Regards, jumadhiya (7 Replies)
Discussion started by: jumadhiya
7 Replies

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

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

4. Solaris

install eclipse under solaris without root password?

hi, Ho can I install eclipse under solaris without root password? Thanks. peter (1 Reply)
Discussion started by: laopi
1 Replies

5. Solaris

Can't change root password in solaris express 11

How do I change root password in SolarisExpress 11? I used passwd while elevated to root and all it changes is the password of the user I am logged in, not te root password. (2 Replies)
Discussion started by: taltamir
2 Replies

6. Solaris

solaris 8 reset root password from OSX

Hello, I have two old Solaris machines $ uname -a SunOS unknown 5.8 Generic_117350-39 sun4u sparc SUNW,UltraAX-e2 unfortunately, it has been so long ago that i have used these that the root password has left my head... i can log into one of the machine as a normal user, but am unable to... (4 Replies)
Discussion started by: Norman Khine
4 Replies

7. Solaris

How recover the root password - Solaris 11?

Hello forum members, Please help me to recover the root password. I have had difficulties working with Solaris 11. The run-level equivalents single-user in Solaris 10, I can mount disk in one partition and edit files shadow/passwd. For example: {0} ok boot cdrom -s # mount... (4 Replies)
Discussion started by: Marcela Bueno
4 Replies

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

9. UNIX for Beginners Questions & Answers

I have forgot my root password. Solaris 10

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
suninstall(1M)                                            System Administration Commands                                            suninstall(1M)

NAME
suninstall - install the Solaris operating system SYNOPSIS
suninstall DESCRIPTION
install-solaris(1M) is now the preferred command for starting and restarting the Solaris Installation program. It should be used instead of suninstall. suninstall is symbolically linked to install-solaris. suninstall is a forms-based and graphical subsystem for installing the operating system. suninstall exists only on the Solaris installation media (CD or DVD) and should only be invoked from there. Refer to the Solaris 10 Instal- lation Guide: Basic Installations for more details. suninstall allows installation of the operating system onto any standalone system. suninstall loads the software available on the installa- tion media. Refer to the Solaris 10 Installation Guide: Basic Installations for disk space requirements. USAGE
Refer to the Solaris 10 Installation Guide: Basic Installations for more information on the various menus and selections. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcdrom (Solaris instal- | | |lation media) | +-----------------------------+-----------------------------+ SEE ALSO
pkginfo(1), install(1M), install-solaris(1M), pkgadd(1M), attributes(5) Solaris 10 Installation Guide: Basic Installations NOTES
It is advisable to exit suninstall by means of the exit options in the suninstall menus. SunOS 5.10 9 Sep 2004 suninstall(1M)
All times are GMT -4. The time now is 02:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy