User Tools

Site Tools


ubuntu:users:use_root_account

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:users:use_root_account [2019/12/08 13:13] peterubuntu:users:use_root_account [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 9: Line 9:
 ---- ----
  
-===== Use the installation user account =====+===== Use sudo interactive mode ===== 
 + 
 +<code bash> 
 +sudo -i 
 +</code> 
 + 
 +Enter your password, and you will switch into privileged mode. 
 + 
 +---- 
 + 
 +===== Switch to the sudo account =====
  
 The user account added during installation is setup as an administrative account with sudo. The user account added during installation is setup as an administrative account with sudo.
Line 49: Line 59:
 ---- ----
  
-===== su command restriction =====+==== su command restriction ====
  
 It is recommended to restrict which users can su to root. It is recommended to restrict which users can su to root.
- 
-Limit or prohibit shells in sudoers config. 
- 
  
 <code bash> <code bash>
Line 68: Line 75:
 </file> </file>
  
-Add users to this group.+<WRAP info> 
 +**NOTE:** The **pam_wheel** PAM module is used to enforce the so-called wheel group. 
 + 
 +By default it permits root access to the system if the applicant user is a member of the wheel group. 
 +</WRAP> 
 + 
 +Add users to this group, who are allowed to issue the **su** command.
  
 <code bash> <code bash>
ubuntu/users/use_root_account.1575810790.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki