linux_wiki:log_in_and_switch_users_in_multiuser_targets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 "runlevels" equivalent if you are coming from RHEL 6. +Targets are the new "runlevels" equivalent if you are coming from RHEL 6. You need to be able to switch users.
  
 ---- ----
Line 14: Line 14:
  
 \\ \\
-Switch User to root+Switch User
 <code bash> <code bash>
-su -+su - <username>
 </code> </code>
   * -, -l, --login => Load login profile (~/.bash_profile)   * -, -l, --login => Load login profile (~/.bash_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 -)**.
  
 \\ \\
  • linux_wiki/log_in_and_switch_users_in_multiuser_targets.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)