Difference between revisions of "Su"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
  su: must be [[suid]] to work properly
 
  su: must be [[suid]] to work properly
  
 +
 +
  -, -l, --login                  make the shell a login shell
  
 
  sudo -u root [[su -c]] ps
 
  sudo -u root [[su -c]] ps

Revision as of 11:32, 14 March 2023

su -
su --help


su: must be suid to work properly


 -, -l, --login                  make the shell a login shell 
sudo -u root su -c ps
su -s

Related terms

See also

Advertising: