passwd file corrupted


 
Thread Tools Search this Thread
Operating Systems HP-UX passwd file corrupted
# 8  
Old 03-17-2005
Quote:
Originally Posted by jospap
I have tried logging in via single user mode, but after i get to the ISL prompt and type "hpux -is", I am prompted for a username and password.
I have never seen behavior like that. What version of HP-UX are you running? Was it in C2 security mode? After "hpux -is", does the system boot up? What kind of username prompt do you get...a standard login prompt? What kind of hardware are you running on?

At the isl prompt, type "lsa" and post the results.
# 9  
Old 03-17-2005
Quote:
Originally Posted by Perderabo
I have never seen behavior like that. What version of HP-UX are you running? Was it in C2 security mode? After "hpux -is", does the system boot up? What kind of username prompt do you get...a standard login prompt? What kind of hardware are you running on?

At the isl prompt, type "lsa" and post the results.
Thanks for the help. Here's the answers to your questions.

HP-UX 10.20
I don't know what C2 security mode is.
The system does boot up.
I'm not sure what you mean by standard login prompt, but the login prompt I get is plain text:

Boot Authentication:

Please enter your login name:
Password:
Authentication incorrect.

HP C3600


At the ISL prompt I get this:

ISL>lsa

Auto-execute file contains:
hpux
# 10  
Old 03-17-2005
C2 refers to a level of trusted systems. I believe that you may actually be running a B level version of HP-UX which has military grade security features. I have some experience with 10.0 at C2 and it didn't behave like your system is. I'm not sure how much I can help you, but I do have a couple of ideas.

What does "The weird thing is that I changed the passwords for other users as well and have acheived the same results." mean? That these accounts are also screwed up? Can you login as any user?

There is a problem that you may have stumbled into: according to the termio man page, the default ERASE character is # and the default KILL character is @. There are ways to change these defaults, but unless you did, neither character will be a reasonable choice for use in a password. In a shell where you have changed your ERASE and KILL characters, they will work with the su command. But they won't work with a login prompt. If this is your problem, you may be able to login as an ordinary user, change your ERASE and KILL characters, and then su to root. You might give this a try.
# 11  
Old 03-21-2005
Quote:
Originally Posted by Perderabo
C2 refers to a level of trusted systems. I believe that you may actually be running a B level version of HP-UX which has military grade security features. I have some experience with 10.0 at C2 and it didn't behave like your system is. I'm not sure how much I can help you, but I do have a couple of ideas.

What does "The weird thing is that I changed the passwords for other users as well and have acheived the same results." mean? That these accounts are also screwed up? Can you login as any user?

There is a problem that you may have stumbled into: according to the termio man page, the default ERASE character is # and the default KILL character is @. There are ways to change these defaults, but unless you did, neither character will be a reasonable choice for use in a password. In a shell where you have changed your ERASE and KILL characters, they will work with the su command. But they won't work with a login prompt. If this is your problem, you may be able to login as an ordinary user, change your ERASE and KILL characters, and then su to root. You might give this a try.

This sounds like my systems.

I was doing a password reset for all my users. I tested the accounts multiple times, but none of them work. I cannot login to the workstation from the login prompt with any user acct. I think I am screwed.

The termino issue sounds like it may have a hand in the problem, as my root does have those characters in it, but my users do not.

Oh well, thanks for the help.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Big problem: shell entry in /etc/passwd corrupted for user root

did a big mistake, changing root entry of /etc/passwd to root:x:0:0:root:/root:/usr/bin/tmux split-window -v \; attach as expected, now I can't login as root anymore. sudo ed /etc/passwd etc. doesn't work. Any idea? Use code tags to increase readability and follow the rules. (4 Replies)
Discussion started by: dodona
4 Replies

2. UNIX for Dummies Questions & Answers

After Ftp'ing file to destination how to check the file if it is in correct ASCII and not corrupted

Hi Folks, While transferring file from FTP software like Filezilla the files gets corrupted. Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have tried using file -i filename command which does tell if the file character set is ASCII or binary... (6 Replies)
Discussion started by: Khan28
6 Replies

3. UNIX for Dummies Questions & Answers

Passwd Utility Corrupted

I have a legacy Solaris 8 machine. Someone has overwitten the passwd utility so I now can't change passwords. Is there somwhere I can download a copy? I do have the installation CDs as well. Thanks (1 Reply)
Discussion started by: hawess
1 Replies

4. Red Hat

.bash_profile file corrupted

Hi, Unexpectedly i entered wrong entries in .bash_profile for my user which has administrative permissions. So, i am getting errors for every command. I dont have backup file also, so any body can help me how to recover it. Regards, Mastan (7 Replies)
Discussion started by: mastansaheb
7 Replies

5. Solaris

WTMPX File corrupted

Hi All I work on solaris 8, 9 and 10 platforms and have encountered an error which is my wtmpx files appear to be corrupted as all entries contain the date 1970 (the birth of unix). Now this is obviously not the case, so my query is: 1 - Can the existing wtmpx files be manipulated to... (6 Replies)
Discussion started by: drestarr96
6 Replies

6. Red Hat

Root shell in /etc/passwd is corrupted

I accidentally changed root shell from /bin/bash to bash in /etc/password, then logged out from root. Now I can't login as root and got "No shell" error, although I have root password. "su -f -s /bin/bash" command does NOT work. There is no GUI interface for this system. My question: Do I have... (7 Replies)
Discussion started by: aixlover
7 Replies

7. UNIX for Dummies Questions & Answers

may a corrupted .gz file be repaired?

Preparing for a move to a new server, I needed to offload about somewhat over a gigabyte of newsfeeds that my website collects, and that I had been saving on the server. I tarred them and zipped them into about a dozen smaller files of about 150Mb each. All seemed well. I downloaded them onto my... (3 Replies)
Discussion started by: JohnTinker
3 Replies

8. HP-UX

Could be a corrupted file?

Hello! Do you know the meaning of... "crw-rw---- 1 informix informix 64 0x020001 Jan 21 2004 rifxroot" I don't know what the first "c" means. Furthermor, if I try to copy this file (rifxroot) it appears a message: "cp: cannot open rifxroot: No such device or address" I don't... (1 Reply)
Discussion started by: kaugrs
1 Replies

9. UNIX for Dummies Questions & Answers

Help! passwd file corrupted

Hi, I am new to UNIX, and have recently installed Suse 9.3. I have been experimenting with all of the commands and have somehow managed to modify the default shell of the root user to an invalid file. Consequently I cannot su to the root user as I receive the 'no such file or directory' error... (2 Replies)
Discussion started by: Tony Montana
2 Replies

10. Shell Programming and Scripting

detecting corrupted file

Hello, Newbie question: How can I detect a corrupted file from a script (ksh)? Thank you, Martin (6 Replies)
Discussion started by: starless
6 Replies
Login or Register to Ask a Question