The System admin team of xFusionCorp Industries has installed a backup agent tool on all app servers. As per the tool's requirements, they need to create a user with a non-interactive shell.
Therefore, create a user named Siva with a non-interactive shell in the app01 server.
Answer :
ssh <user>@<server>
sudo su
adduser siva -s /sbin/nologin
Note: ** The question copied for learning purposes.**, Commands are correct but based on your question the server and user name(siva) might differ so please do check.
check below video too for how to do the task (i have done a sample task on Ubuntu OS)
No comments:
Post a Comment