Skip to content

Instantly share code, notes, and snippets.

@1951FDG
Created October 26, 2013 19:57
Show Gist options
  • Save 1951FDG/104821e1b985aae15c1a to your computer and use it in GitHub Desktop.
Save 1951FDG/104821e1b985aae15c1a to your computer and use it in GitHub Desktop.
setuid 'root' permission
This special permission allows the file to be executed with the security permissions of the file owner instead of the permission of the user who ran the program. This can be a source of security problems. Some daemons run as suid root. The suid permission is seen as an "S" in the user executable position a long directory listing (ls -l). Has no effect if the file is not executable.
sudo chown root
sudo chmod u+s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment