Changes

Jump to: navigation, search

OPS102 - Permissions

141 bytes removed, 13:49, 26 September 2023
Special Permissions
$ '''chmod u+s mycp''' # add SUID
$ '''ls -l mycp''' # view the new permissions
-rwsr-xr-x. 1 chris chris 145488 Sep 26 12:2$ ls -l -d /usr/bin/passwd /tmpdrwxrwxrwt. 26 root root 600 Sep 26 12:21 /tmp-rwsr-xr-x. 1 root root 32760 Jan 18 2023 /usr/bin/passwd1 mycp
$ '''cp /usr/bin/mv mymv''' # make a private copy of the 'mv' command

Navigation menu