Administrative Account

From PKC
Revision as of 00:06, 9 July 2021 by Benkoo (talk | contribs) (Created page with "The following instruction steps are inspired by the article<ref>https://www.cyberciti.biz/faq/add-new-user-account-with-admin-access-on-linux/</ref>: To add a new user accoun...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The following instruction steps are inspired by the article[1]:

To add a new user account with administrator access, one must follow these steps:

  1. Log in to the system with root access, using a terminal applications.
  2. Create a new user name, say xlp, by using the adduser command:
adduser xlp
  1. Make the user xlp, possess admin rights.
usermod -aG sudo xlp
  1. Verify its rights using id xlp
  2. Log in as xlp, by key in the following command
su - xlp
  1. Then run some sudo command
su ls -l /etc/