Difference between revisions of "Su"
Jump to navigation
Jump to search
(Created page with "{{Draft}} == See also == * <code>ksu</code>") Tags: Mobile web edit, Mobile edit |
|||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercase}} |
+ | <code>su -</code> | ||
+ | <code>[[su --help]]</code> | ||
+ | <code>su: must be [[suid]] to work properly</code> | ||
+ | |||
+ | <code>-, -l, --login make the shell a login shell </code> | ||
+ | |||
+ | <code>sudo -u root [[su -c]] ps</code> | ||
+ | |||
+ | <code>[[su -s]]</code> | ||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[runas]]</code> | ||
+ | * <code>[[.bash_profile]]</code> | ||
+ | * <code>[[.bashrc]]</code> | ||
+ | * <code>[[sudoers]]</code> | ||
+ | * <code>[[sudo su -]]</code> | ||
+ | * <code>[[suaws]]</code> | ||
== See also == | == See also == | ||
* <code>[[ksu]]</code> | * <code>[[ksu]]</code> | ||
+ | * {{su}} | ||
+ | * {{sudo}} | ||
+ | |||
+ | |||
+ | [[Category:Linux]] |
Latest revision as of 10:05, 22 November 2023
su -
su: must be suid to work properly
-, -l, --login make the shell a login shell
sudo -u root su -c ps
Related terms[edit]
See also[edit]
ksu
su
: [-s
],gosu, suaws
,su --help
sudo
,visudo
,su, passwd, sudo su
,Passwordless sudo
,/etc/sudoers
,/etc/sudoers.d/
,/etc/sudoers
,sudo --help
Advertising: