mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 a5b9fb28c2
			
		
	
	
		a5b9fb28c2
		
	
	
	
	
		
			
			Most man pages don't have these, so removing them where they do exist makes things more consistent.
		
			
				
	
	
	
	
		
			636 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			636 B
		
	
	
	
	
	
	
	
Name
su - switch to another user
Synopsis
$ su [-] [user]
$ su [-] [user] [-c command]
Description
su: Switch to another user.
When called with no user-specified, su defaults to switch to the root user. Need to enter the password if the user switch to has one.
Options
- -,- -l,- --login: Start the shell as it was a real login
- -c,- --command: Execute a command using- /bin/shinstead of starting an interactive shell
Arguments
- user: User to switch to (defaults to the user with UID 0)
Examples
Switch to root user
$ su
Switch to another user
$ su nona