[solved] HP-UX /etc/passwd file


 
Thread Tools Search this Thread
Operating Systems HP-UX [solved] HP-UX /etc/passwd file
# 1  
Old 01-18-2012
[solved] HP-UX /etc/passwd file

Hi.

i have the accessibility to cat the /et/passwd file
in this file we see the paassword field but the password is in encrypted form

So, it can be possible to get the password encrypted string to convert it into human readable string via some md5 encryption code mechanism etc..


regards
Rajesh kumarSmilie
# 2  
Old 01-18-2012
No it is not possible.
See
Code:
man 3c crypt

# 3  
Old 01-18-2012
DES-crypt password can be brute forced fairly easily (may take some hardware resources for 8 char fairly random passwords though... and some time). You can use tools like John the Ripper to aid in doing this. If you're using the tcb for HP-UX, then the passwords I believe may be salted triple-DES... and even trying to brute force that is practically impossible.
# 4  
Old 01-18-2012
Modern UNIX systems use md5 or sha256 or similar encryption technique. They use special irreversible algorithm. So just from seeing the encrypted password, one will not be able to get the password. But, you still can bruteforce. It can take long time depending on the length and complexity of the password. Any reason why you are asking this?

---------- Post updated at 06:04 PM ---------- Previous update was at 06:00 PM ----------

If you want you can enable shadow password in HP-UX too. See the below link for HP-UX11i:
https://h20392.www2.hp.com/portal/sw...ShadowPassword
# 5  
Old 01-19-2012
If you use shadow password functionality, be aware you may get issues with some products, I had with some Reflection software, with SAS (9.1.3) etc... where these vendors designed their products on what is standard for HP: either no shadow, either trusted...
Nevertheless. works well... and found no real issues in 7(or 8?) years now
# 6  
Old 06-10-2012
Thanks to all for Valuable information.Smilie
# 7  
Old 06-11-2012
As vbe notes, changing a mature system to a Trusted system is not trivial. It takes planning and research. One of the side effects is that every user password needs resetting, and remote login to the root account is disabled.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Reading etc/passwd file

I am new to UNIX and I am trying to read an etc/passwd file. I have 2 questions. 1) Looking at several of the User IDs, there are appears to be alphanumeric characters under the password column, for Root and Oracle. Does this mean that the password is not encrypted? 2) Should I be... (9 Replies)
Discussion started by: McMeatface
9 Replies

2. Red Hat

Sudo to execute script without passwd[solved]

Hi Hope someone can sched some light i'm trying to execute a script via sudo but i don't want to be prompted for a password when i run the script using sudo my sudo entry does work in that the script gets executed but i'm having to give a password, my current entry is given below user1 ... (0 Replies)
Discussion started by: duckeggs01
0 Replies

3. AIX

When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords?

Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies

4. Solaris

[Solved] passwd command not working

Hi all, I have got a problem, i have Solaris 8 server, where on running the passwd command, it says permission denied. I have checked /bin/passwd, /etc/passwd, /etc/shadow all have permissions as like one working server. It is happening for root user and all other users. i have tried... (6 Replies)
Discussion started by: varunksharma87
6 Replies

5. UNIX for Dummies Questions & Answers

help with passwd file

Not an unix expert, I read a few pages on the web about passwd files, but I didn't find the answers I need about the last 8 lines of the passwd file I'm taking a look at. I'm assuming their shortcuts to another file that may have the actual usernames of users on the system. Please, any help... (1 Reply)
Discussion started by: fusion31
1 Replies

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

7. Shell Programming and Scripting

[solved] merging two files and writing to another file- solved

i have two files as file1: 1 2 3 file2: a b c and the output should be: file3: 1~a 2~b 3~c (1 Reply)
Discussion started by: mlpathir
1 Replies

8. Solaris

A question on /etc/passwd file

I have a question here on /etc/passwd file. There is a user called user_a, when it is defined in /etc/passwd as below +user_a:x:::::/bin/ksh after user_a login, the system could not recognize the correct enviromental variable $USER_A_HOME which is defined in .kshrc file (under /home/user_a... (2 Replies)
Discussion started by: ij_2005
2 Replies

9. Shell Programming and Scripting

help in /etc/passwd file

Hi all, As all of us know that in /etc/passwd file the first field correspond to username could any one tell me what is bin , damoen etc in the first field, and r they in user field , what is nologin in the last column ? root:x:0:0:root:/root:/bin/bash ... (4 Replies)
Discussion started by: useless79
4 Replies

10. Cybersecurity

/etc/passwd file

hi Does anyone anyone know what the last line of a unix user passwd file signifes? Mine shows "+:::::" best (4 Replies)
Discussion started by: s_mad010
4 Replies
Login or Register to Ask a Question