Sample Linux password files and how they work.

The /etc/passwd file contains each user, one on each line. And the user ID number, then the home directory and the shell used by that user. /etc/passwd1 2 3 4 5 sifiso:x:554:554::/home/commitec/mail/commitec.co.za/sifiso:/bin/bash info:x:554:554::/home/commitec/mail/commitec.co.za/info:/bin/bash sales:x:554:554::/home/commitec/mail/commitec.co.za/sales:/bin/bash admin:x:554:554::/home/commitec/mail/commitec.co.za/admin:/home/commitec siphiwos:x:1794:1790::/home/commitec/mail/commitec.co.za/siphiwos:/home/commitecsifiso:x:554:554::/home/commitec/mail/commitec.co.za/sifiso:/bin/bash info:x:554:554::/home/commitec/mail/commitec.co.za/info:/bin/bash sales:x:554:554::/home/commitec/mail/commitec.co.za/sales:/bin/bash admin:x:554:554::/home/commitec/mail/commitec.co.za/admin:/home/commitec siphiwos:x:1794:1790::/home/commitec/mail/commitec.co.za/siphiwos:/home/commitec Then the /etc/shadow file contains the username again, then the…

Read More