Category Archives: Unix

Setuid, Setguid and the Sticky Bit

Before getting into setups, let’s quickly review the permission bits as they are displayed by the classic “ls -l” command: The first bit is the file/folder flag: ‘-‘ for file and ‘d’ for folders The rest 9 bits are grouped … Continue reading

Posted in Unix | Leave a comment

Sudo

Sudo allows you to manage / control the use-case when a user wants to execute commands as another user (usually as “root” but not limited to the super-user). The generic sudo rule Aliases You can assign an alias (a name) … Continue reading

Posted in Unix | Leave a comment

Bash special parameters

$* Expands to the positional parameters starting from one (the parameter with index “zero” is the script name). When the expansion occurs within double quotes, it expands to a single word with the value of each parameter separated by the … Continue reading

Posted in Unix | Tagged | Leave a comment