1. User Account
2. Managing Filesystems
$ mount /dev/hda3 on / type ext2 (rw) none on /proc type proc (rw) /dev/hda1/ on /dos type vfat (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) |
$ df Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda7 996116 744416 201100 79% / /dev/hda1 2096160 1642528 453632 78% /dos |
$ cd /tmp $ cat > file1 from file1 ^D $ cat file1 from file1 $ ls -l /tmp |
$ chown wsuser.users /tmp/file1 $ ls -l /tmp/file1 |
3. Who am I? Who is using this system?
$ id $ whoami |
$ w $ finger |
$ finger root |
4. Add New Software
5. Managing Process
$ ps -aux $ top |
6. Practical Security Tips
| It (Unix) was not designed from the start to be secure.
It was designed with the necessary characteristics to make security serviceable.
-- Dennis Ritchie |
$ cat "ALL:ALL" >> /etc/hosts.deny |
$ chkconfig --list $ chkconfig --del sendmail $ chkconfig --del nfslock $ chkconfig --del rpc |