1830250 Members
2849 Online
110000 Solutions
New Discussion

passwd file

 
SOLVED
Go to solution
Norman_21
Honored Contributor

passwd file

Could anyone advise how can I read a passwd from the passwd file. Can I use crypt for this purpose!
appreciate your assisstance.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
9 REPLIES 9
Animesh Chakraborty
Honored Contributor

Re: passwd file

No way...
You need some hackers programs.Contact your nearest "hacker centre" :)
Best of Luck
Did you take a backup?
Patrick Chim
Trusted Contributor

Re: passwd file

Hi,

Of course you can't do that ! I think even you contact HP and they will not help you to do so !

In fact, what's the purpose of you to do this ?? :P

Regards,
Patrick
Animesh Chakraborty
Honored Contributor
Solution

Re: passwd file

More discussion on this "crack" topics

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8af76c96588ad4118fef0090279cd0f9,00.html
Did you take a backup?
Norman_21
Honored Contributor

Re: passwd file

Thanks Animesh,

Patrick,
My concern is that if someone changed the root passwd by accedent and nobody could login as root what other alternatives could be used for recovery.
appreciate your reply.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Animesh Chakraborty
Honored Contributor

Re: passwd file

Hi Again,
We can always boot in single user mode from ISL prompt and change root passwd.
Did you take a backup?
T G Manikandan
Honored Contributor

Re: passwd file

reboot your server
interrupt the boot sequence boot from the primary boot device
answer Y to interact with IPL
then boot into single user mode
hpux -is

This will take you to the # prompt.

Here you can change the password of root.

Then do a reboot to take it into multiuser mode.


Thanks

Sean OB_1
Honored Contributor

Re: passwd file

There is no way to read the password from the password file.

However you can run a crack program against an encrypted password which will encrypt strings and compare it to the encrypted password.

If root is lost you need to boot into single user mode and then you can change the password.

Of course you can always install Sudo and set it up to allow certain people to su to root. Then they can change the password.

Darrell Allen
Honored Contributor

Re: passwd file

Hi,

You should also create /etc/shutdown.allow with a list of system administrator accounts. That way, if the root password is lost and no one is logged in as root, you can still gracefully shutdown your system so that you'll be able to interrupt the boot process. Otherwise, you'll have to crash the system to reboot.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Norman_21
Honored Contributor

Re: passwd file

Closed?
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003