[[su]]

su

su - change user ID or become superuser

# become user munin (who has no shell configured in /etc/passwd)
su - munin --shell=/bin/bash
# execute command as user nagios
su - nagios --shell=/bin/bash -c "netcat localhost 40005 < /tmp/localPing.txt"
linux/su.txt · Last modified: 2013-11 by tb
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready