Chapter 7 Flashcards
What does the unix security focuses on?
Focus on:
- protecting users from each other.
- protecting against attacks from the network.
Who manages security in unix ?
Security managed by skilled administrator, not by user.
Example: command line tools and scripting.
What does the secure versions of unix indicate?
Support of multi-level security.
What is principles called?
User identifiers (UID) and group identifiers (GID).
What is UID/GID ?
A UID/GID is a 16-bit numbers. UID values differ from system to system. Root UID is always zero.
(Example, 0:root 1:bin 2:daemon…)
Where is information about principals stored?
User accounts and home directories.
Where is user accounts stored?
/etc/psswd file
What is the format of user account?
Username:password:UID:GID:name:homedir:shell
What are the user account details?
Username: up to eight characters long
Password: stored “encrypted”
User ID: user identifier for access control
Group ID: user’s primary group
ID string: user’s full name
Home directory
Login shell: program started after successful log in
Define superuser.
The superuser is a special privileged principal with UID 0 and usually the user name root.
What are the restrictions on the superuser?
1) all security checks are turned off for superuser.
2) the superuser can become any other user.
3) the superuser can change the system clock.
4) superuser cannot write to a read-only file system but can remount it as writable.
5) superuser cannot decrypt passwords but can reset them.
Where does every user belong to?
Primary group.
Where is the GID of the primary group is stored in?
/etc/passwd
Where is the list of all groups stored? And what is the format of the entries stored?
/etc/group
Format: groupName:password:GID:listOfUsers
What is collecting users in groups mainly convenient for?
Access control decisions.