0
votes
3answers
749 views

different hash length in /etc/shadow

Here is the output of /etc/shadow for two different users stored on the system: usr1:$1$zgKwt6aQ$gXxsMLgcxa/u6rmq5QseP.:14307:0:99999:7::: ...
1
vote
6answers
3k views

Compare two user lists in bash

I have two different user lists. I need to compare the users and make sure they exist in both files. One is the passwd file, and another is a flat file for that has the usernames and other ...
2
votes
1answer
530 views

Why is the displayed name in bash different from the one in /etc/passwd?

I remotely SSH login as root (using PUTTY), The bash shell prompt becomes: [root@yukiko /]# When I entered: getent passwd The first line I see is this one: root:x:0:0:root:/root:/bin/bash ...