CT320 IQ 03
Show Main.IQ03 as a slide show.
UID vs. EUID—the difference?
- A set-user-id (SUID) program changes the EUID.
- EUID is the UID at process exit.
- A set-user-id (SUID) program changes the UID.
- UID is for the child, EUID is for the parent.
- They are always the same.
In which order do these typically occur?
exit()
, fork()
, exec()
exec()
, exit()
, fork()
fork()
, exit()
, exec()
fork()
, exec()
, exit()
exec()
, fork()
, exit()
How do you find out why your system is so slow?
ps
top
kill
exit
Where is the file name stored?
- with the file data
- in the inode
- in the hard link
- in the directory
- in the MBR
What can I do with zot
?
% id
uid=2464(pete) gid=1555(under) groups=1555(under)
% ls -l zot
-rw-r-x-wx 1 jack under 2751 Jul 27 12:21 zot
- read & write only
- execute & read only
- execute & write only
- execute, read, and write
- nothing
What’s the opposite of mount
?
demount
dismount
mount -u
umount
unmount