Skip to main content
added 1 character in body
Source Link

In case of an AIX system and the usernames are know, I would use another way like:

HASH=HASH=$(grep -p $USERNAME /etc/security/passwd | awk '/password/ {print $3}') echo "${USERNAME}:$HASH" 

Certainly the search for "password" could be coded even more strictly.

In case of an AIX system and the usernames are know, I would use another way like:

HASH=(grep -p $USERNAME /etc/security/passwd | awk '/password/ {print $3}') echo "${USERNAME}:$HASH" 

Certainly the search for "password" could be coded even more strictly.

In case of an AIX system and the usernames are know, I would use another way like:

HASH=$(grep -p $USERNAME /etc/security/passwd | awk '/password/ {print $3}') echo "${USERNAME}:$HASH" 

Certainly the search for "password" could be coded even more strictly.

added 64 characters in body
Source Link

In case of an AIX system and the usernames are know, I would use an easieranother way like:

HASH=(grep -p $USERNAME /etc/security/passwd | awk '/password/ {print $3}') echo "${USERNAME}:$HASH" 

Certainly the search for "password" could be coded even more strictstrictly.

In case of an AIX system, I would use an easier way like:

grep -p $USERNAME /etc/security/passwd | awk '/password/ {print $3}' 

Certainly the search for "password" could be coded even more strict.

In case of an AIX system and the usernames are know, I would use another way like:

HASH=(grep -p $USERNAME /etc/security/passwd | awk '/password/ {print $3}') echo "${USERNAME}:$HASH" 

Certainly the search for "password" could be coded even more strictly.

Source Link

In case of an AIX system, I would use an easier way like:

grep -p $USERNAME /etc/security/passwd | awk '/password/ {print $3}' 

Certainly the search for "password" could be coded even more strict.