Professional Documents
Culture Documents
CS 470 Lab 7
CS 470 Lab 7
CS 470
a) Used commands useradd –u and useradd –g. it get ID 1001 because 1000
was already deserved with my user.
c) Passwd file is differ from shadow file as passwd is readable and shadow
isn’t. but with some action we also can get access on shadow file too.
d) These three line shows details from /etc/group file which are group name,
encrypted password placeholder, GID group list.
e) These are fragments from /etc/group and /etc/shadow files. In shadow file
we can see that password is not assigned yet.
With command passwd –S test we get information about password. In this case it shows us that it is
locked as it is not assigned yet.
passwd
o)
q)
s)
v)
w)