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
More linux commands
-
find / -perm /6000 -type f -ls 2>/dev/nullFind setuid and setgid executables. Useful for a security audit.
-
pgrep -la nginxShow 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.shRun a command in a temporary systemd scope with limits of 512M memory and 50% CPU.