Basic Exam1
- 1 Reset root password (set password “linux”)
- 2 set selinux into enforcing mode permanently
- 3 User creation.
- Create 3 users – anil sunil satish
- All 3 users belong to secondary group linux.
- User satish should have a shell of no login
- 4. Create a shared folder?
- Create a /sagar directory that members of the linux group can access.
- 5. Create a gzipped tar archive (/data/log.tar.gz) containing all the files in /var/log
- 6. Create a new 1GB swap partition?
- 7. set umask 0222 for all normal user permanently
- 8. Create logical volume “lv1” in volume group “vg1” with 30Gb and then reduce to 20Gb