Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
linux_wiki:log_in_and_switch_users_in_multiuser_targets [2016/02/29 22:41] billdozor |
linux_wiki:log_in_and_switch_users_in_multiuser_targets [2016/02/29 22:43] billdozor |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | Targets are the new " | + | Targets are the new " |
---- | ---- | ||
Line 14: | Line 14: | ||
\\ | \\ | ||
- | Switch User to root | + | Switch User |
<code bash> | <code bash> | ||
- | su - | + | su - < |
</ | </ | ||
* -, -l, --login => Load login profile (~/ | * -, -l, --login => Load login profile (~/ | ||
* When no username is specified after options (such as -), root is assumed | * When no username is specified after options (such as -), root is assumed | ||
+ | * **Always use a login shell when switching users (su -)**. | ||
\\ | \\ |