User Creation and allowing access

 as  root user 


1) create group 

groupadd -g 1003 dba


2) Next, create the user and add it to the group:

 useradd appr12uat -u 54323 -g 1003


3) details of user

 id appr12uat

uid=54323(appr12uat) gid=1003(dba) groups=1003(dba)


4) allow users to access

cd /etc/ssh

sshd_config


vi sshd_config

AllowUsers opc appr12uat


5) restart sshd service

systemctl restart sshd

Comments

Popular posts from this blog

adop UNEXPECTED Unable to find appltop_id for host ebsapp2 in database

adop failing ORA-06512: at line 2 (DBD ERROR: OCIStmtExecute)