Name : Lakshmanan Palaniappan usc uname/id : lpalania

advertisement
Name : Lakshmanan Palaniappan
usc uname/id : lpalania
/ 5511763991
CSCI 530 Lab - Authorization
Question 1
baseline case:
Bill
mary
Joe
strategies
Yes
No
No
salaries
No
Yes
No
Yes
Yes
workschedule Yes
modified case:
Bill
strategies
Yes
mary
Joe
No
Yes
Yes
Yes
Yes
Yes
Yes
salaries
Yes
workschedule
Before Scenario :
a) Bill :
i)strategies file : Strategies file is under the ownership of group executives to which
bill is a part of and group permissionfor it is r-- ad hence bill can read the file .
ii) salaries : file under humanresources group ownership , which bill is not a part of .
Permission for other users is --- which implies bill can neither read nor write nor execute
this file .
iii) workschedule : permissions for this file is rw-r--r-- which means everyone can
read this file and hence bill too .
b) Mary :
i)strategies file : mary does not own this file nor belongs to the group owing the file
and the other user permissions is --- and hence she cannot read nor write nor execute this
file.
ii) salaries : Ownership by humanresources goup to which mary is a part of . Group
permission for this file is rw- and hence mary can read the file .
iii) workschedule : permissions for this file is rw-r--r-- which means everyone can
read this file and hence mary too
c) Joe:
i)strategies file & ii) salaries file : Both these files are managed by groups which joe
is not a part of and the other user permissions for both these files are --- which means joe
can not read nor write nor execute this file .
iii) workschedule : permissions for this file is rw-r--r-- which means everyone can
read this file and hence joe too
After Scenario :
a) Bill :
i)strategies file : No changes in permissions to this file and hence bill continues to
read this file without any difficulty .
ii) salaries : In the ACL the executives group to which bill belongs to has been
granted read write access to this file and hence bill can read and write salaries file .
iii) workschedule : No changes made in after case to this file and hence everyone
can read this file and hence bill too .
b) Mary :
i)strategies file : No changes in ACL wrt Mary and her group and this file and hence
due to the above mentioned reason mary cannot read this file .
ii) salaries : Ownership by humanresources goup to which mary is a part of . Group
permission for this file is rw- and hence mary can read the file .
iii) workschedule : No changes made in after case to this file and hence everyone
can read this file and hence mary too .
c) Joe:
i)strategies file && ii) salaries : Since in the ACL for user joe read and write
permissions has been set for both these files joe can read and write strategies files .
iii) workschedule : No changes made in after case to this file and hence everyone
can read this file and hence joe too .
Q2 )
Though Bill , Mary and Joe use the same password different content appeared in the
etc/shadow file because the salt being used in the algorithm to encode/encrypt the
password for the three users are totally different ones and hence the encoded/encrypted
password stored in etc/shadow file is different .
Download