-
STUFF
- initiatess
- monitoring
- stopping
-
SHELL
-
DEF
- user access system through shell
- Bourne Again Shell for Linux
-
UNIX DESIGN
PRINCIPLE
- POWER OF 3
-
OWNERSHIP
- /etc/group
-
AUTHORITY
- read
- write
- execute
-
ROLE
- user
-
group
- a category of owners
- share same characteristics
- access to limited data
- other
-
ACCOUNTS
- process
- user
-
eg:
-
Root
- can do everything
- lost password -> need to recover with Live Linux
-
/etc/passwd
- premium:x:1000:1000:Hahn Do:/home/premium:/bin/bash
-
composition
- user login ID
- user password
- user ID
- group ID
- user details
- home directory
- shell
-
/etc/shadow
-
the major security file
- details of all accounts
- the cypher text of their passwords
-
logs into the system
- must have an account
- logging in is controlled
-
File System
-
key factors
- file system type
- blocking factor
- device where file system is located
-
devices at /dev
- /dev/sda1
- /dev/fd0
- /dev/cdrom
- .....
-
manipulate
-
create
- mkfs
-
mount
- mount
- unmount
-
/etc/mtab
- list of currently mounted file systems
-
/etc/fstab
- list of file systems to be automatically mounted at boot time
- Command syntax
- find
-
file attributes
-
DEF
- xxxx aAAABBBCCC # owner group size date time name
-
manipulate
-
?
- touch
-
chmod
- change file ownership
- change group association
- change security attribute