- All processes have a PID and a group ID. The group leader is your shell (terminal).
- So for a process to qualify as background, we change the process group using
setgrp()
. nohup ./a,out &
- chmod 4750 file1.txt
- 4 means SUID permission. An ordinary user can run this file with privileges of the actual owner of the file1.txt. Useful to allow an ordinary user to run commands accessible only to e.g. root.
$chmod u+s file
- 4 means SUID permission. An ordinary user can run this file with privileges of the actual owner of the file1.txt. Useful to allow an ordinary user to run commands accessible only to e.g. root.
Written with StackEdit.
No comments:
Post a Comment