Passwd,shadow files deleted and abort sequence disabled


 
Thread Tools Search this Thread
Operating Systems Solaris Passwd,shadow files deleted and abort sequence disabled
# 8  
Old 05-21-2012
Your query is already answered by others here, I am sure your onsite guy or someone senior should have access to that console or a engineer would be in datacenter with that sun keyboard.

Get them to do Stop+a, you get to single usermode, copy over the files. and reset the password using the CD/DVD rom

/tmp gets cleared when you do a reboot, you should have checked it first Smilie
# 9  
Old 05-22-2012
Quote:
Originally Posted by solaris040
Your query is already answered by others here, I am sure your onsite guy or someone senior should have access to that console or a engineer would be in datacenter with that sun keyboard.

Get them to do Stop+a, you get to single usermode, copy over the files. and reset the password using the CD/DVD rom

/tmp gets cleared when you do a reboot, you should have checked it first Smilie

1. This is not a server in a remote datacentre. Its my brother's box. If that were my client's box.. I would have received my bye-bye letter by now. (Believe me, when I explained this scenario to my senior, he was like Smilie as if I had done the unthinkable.)
2. It doesn't have a console.
3. I disabled stop+a keystroke. That means, I cannot get the ok> prompt.
But, my sa200 doc says that stop+a, even if disabled, will work during booting. Will test it once I get home.
3. The /tmp dir is not a tmpfs. It is a part of /.. hence will be avaialable across reboots.
# 10  
Old 05-22-2012
Quote:
Originally Posted by satish51392111
3. The /tmp dir is not a tmpfs. It is a part of /.. hence will be avaialable across reboots.
I'm afraid you are also mistaken here. As a SVR4 Unix, Solaris is removing everything under the /tmp directory at boot time. On Solaris 10 and newer, this is done by the svc:system/rmtmpfiles:default service which is enabled by default. Older release had an rc file for the same purpose.
This User Gave Thanks to jlliagre For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Passwd -l or -u modifies lastchg field in /etc/shadow file

Hi, I have a Solaris 10 box where password aging is not functioning properly. Using the passwd command with the -l or -u options causes the lastchg field in the /etc/shadow file to be modified. Therefore, if a user's password is set to expire in 90 days and they are 1 day away, all they have... (4 Replies)
Discussion started by: cschar
4 Replies

2. UNIX for Dummies Questions & Answers

Deleted /etc/passwd file while accessing to our test server via putty

Hi I was accessing our linux test server via putty and By mistake i deleted /etc/passwd file..... It is allowing me to login..... So could anyone please help me out in this issue.... Please, it is urgent (6 Replies)
Discussion started by: rahul547
6 Replies

3. UNIX for Advanced & Expert Users

psswd&shadow 2 passwd together?!!

hi, all I just started on new box where I have to diff passwd working perfectly on the very same account/user. I see that shadow was added recently (I'm not a root in there), I see 'x' in passwd. Not sure how it should work, should I change old passwd for one defined in shadow? Or it's fine to... (20 Replies)
Discussion started by: trento17
20 Replies

4. Solaris

difference between /etc/shadow and /etc/default/passwd

Hi , can anyone explain me the difference between /etc/shadow and /etc/default/passwd . As per my knowledge both the files are used for password aging and control parameters. (2 Replies)
Discussion started by: rogerben
2 Replies

5. Solaris

passwd cmd reenables passwd aging in shadow entry

Hi Folks, I have Solaris 10, latest release. We have passwd aging set in /etc/defalut/passwd. I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging. When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

6. UNIX for Advanced & Expert Users

Converting freebsd (5.2.1) master.passwd to Debian shadow

I'm trying to make this work, and it half works. Accounts with password hashes matching the old crypt(3) algorithm work just fine: JUpfW/w6jo6aw But accounts with longer password hashes preceded by $1$, such as the following, do not work: $1$iIcbppdP$HDyjJeVMGgJ.ovLsnjtTR.... (0 Replies)
Discussion started by: davidstvz
0 Replies

7. Solaris

tool to convert /etc/passwd and etc/shadow

i wonder if there is a tool to read the /etc/passwd or /etc/shadow files in order to reset user accounts to the same one. By moving (restore) all filessytem and data to another same Sun box, none of the users are able to logon to the new box which i didn't change nothing. But if i reset the user... (1 Reply)
Discussion started by: lamoul
1 Replies

8. UNIX for Dummies Questions & Answers

How to : Identify the the password is encrypted or not in /etc/shadow or /etc/passwd?

Thanks AVKlinux (11 Replies)
Discussion started by: avklinux
11 Replies

9. Solaris

/etc/passwd file been deleted

Hi Folks , Would be grateful if someone could help me out in one of the question that came to my mind . If the /etc/passwd file has been deleted and the system has been rebooted . Then i dont think that any user would be able to login and the system will be useless . Whats the best solution for... (5 Replies)
Discussion started by: gera_sachin125
5 Replies

10. UNIX for Dummies Questions & Answers

Deleted /etc/passwd

Hi all, While playing with my LINUX machine i accidently deleted a file name called /etc/passwd . Even though the system is booted am unable to get the login prompt. Is there any remedy for this problem.:( (5 Replies)
Discussion started by: cyno
5 Replies
Login or Register to Ask a Question