infrastructure:unix
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| infrastructure:unix [2018-08-31 10:05] – created mrks | infrastructure:unix [2020-06-11 12:18] (current) – mrks | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Unix ====== | ====== Unix ====== | ||
| + | |||
| + | |||
| + | ===== Shell ===== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | * Sometimes shell commands must be kept form history, e.g. when setting secrets to environment variables for configuring applications according to the [[https:// | ||
| + | * Configure the shell to not record history when starting with a space: '' | ||
| + | * Execute the command with a secret with a leading space: '' | ||
| + | * Verified in Bash. The command will not be recorded in '' | ||
| Line 8: | Line 18: | ||
| * Set owner: '' | * Set owner: '' | ||
| + | * Set owner and group: '' | ||
| * Change password: '' | * Change password: '' | ||
| * List user's groups: '' | * List user's groups: '' | ||
| Line 14: | Line 25: | ||
| ==== Groups ==== | ==== Groups ==== | ||
| - | + | | |
| - | | + | * Set owner and group: '' |
| * List group members: '' | * List group members: '' | ||
| Line 22: | Line 33: | ||
| * Flag s: created folders and files inherit the group of the upper folder. '' | * Flag s: created folders and files inherit the group of the upper folder. '' | ||
| - | * Setting | + | * List permissions: |
| + | * '' | ||
| + | * '' | ||
| + | * Set specific group permissions: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * Setting | + | * Set default group permissions: |
| * '' | * '' | ||
| * '' | * '' | ||
| - | * Removing | + | * Remove |
| * http:// | * http:// | ||
infrastructure/unix.1535702747.txt.gz · Last modified: (external edit)
