Grant a user access with ACL

Give alice full access without changing the group owner.

setfacl -m u:alice:rwx /srv/shared

tool
linux133 commands
tags
linuxfilesystemsecurity

More linux commands

  • find / -perm /6000 -type f -ls 2>/dev/null

    Find setuid and setgid executables. Useful for a security audit.

  • pgrep -la nginx

    Show PIDs and full command lines of processes that match a name.

  • kill -TERM -$(pgrep -f 'my-app')

    Send SIGTERM to the whole process group of my-app.

  • renice -n 10 -p <pid>

    Lower the priority of a running process (nice +10).

  • systemd-run --scope -p MemoryMax=512M -p CPUQuota=50% -- ./heavy.sh

    Run a command in a temporary systemd scope with limits of 512M memory and 50% CPU.

all 133 linux commands