Difference between revisions of "Su"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
su -
+
<code>su -</code>
[[su --help]]
 
  
 +
<code>[[su --help]]</code>
  
 +
<code>su: must be [[suid]] to work properly</code>
  
su: must be [[suid]] to work properly
 
  
 +
<code>-, -l, --login                  make the shell a login shell </code>
  
  -, -l, --login                  make the shell a login shell
+
<code>sudo -u root [[su -c]] ps</code>
  
sudo -u root [[su -c]] ps
+
<code>[[su -s]]</code>
 
 
[[su -s]]
 
  
 
== Related terms ==
 
== Related terms ==

Revision as of 12:25, 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: