The workings of the Linux OS are very interesting.

The many Linux distributions out there are very interesting in how they work. The passwords for the users are stored in a file in /etc/shadow. This is only readable by the system administrator account and are encrypted with different levels of encryption. This example is using the outdated MD5 encryption scheme, which should never be … Read more

Understanding the /etc/passwd file on UNIX/Linux.

The /etc/passwd file on UNIX/Linux is where the user accounts for Linux are stored. This keeps your system safe as the passwords are stored as hashes in the /etc/shadow file, which is separate from the passwd file and is only accessible by the superuser. This keeps a system very safe. Red Hat Enterprise Linux uses … Read more

How to list only the usernames in the /etc/passwd file on Linux.

This is how to list only the usernames in the /etc/passwd file. A very useful tip indeed. The -f1 parameter is the section that is shown. jason@localhost ~ $ cut -d: -f1 /etc/passwd root bin daemon adm lp sync shutdown halt news uucp operator portage nobody sshd man messagebus jason polkitdjason@localhost ~ $ cut -d: … Read more