Thursday, May 7, 2020

Crearing Users & Group in CentOS7 /RHEL

What is User?

Group is an object which is used to access computer resources (like file, directory and printer etc)

Types of User Accounts in Linux

  Default user in linux operating system
  most powerful
2) System User-
        Create by any application like Appache user create during appache server installation.
3) Normal User($)
  Create by root users with limited access rights
Permission with normal user rights user can work in linux operation system.
This user only create or delete by root user.
Step-1) Open terminal and type su command for access root user session (#).

Step-2) Type command as below mention
              #useradd username.

Step-3 Check whether the user is created using with /etc/passwd file

             #cat /etc/passwd

Note it RepresentUser1-USernamex-Password
1003-UID1003-GUID/home/user1-User1 horme directory/bin/bash-Shell


No comments:

Post a Comment