Home | Mirror | Search

4. su - run a shell with substitute user and group IDs

Change the effective user id and group id to that of USER.

[neo@development ~]$ su - root
	
[neo@development ~]$ su root -c "rm -rf linux/"	
	
comments powered by Disqus