You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 mark with a non-interactive shell in the app02 server
This is how I created mine and it worked finally after several tries.
ssh into the server specified.
e.g. ssh tony@stapp01
enter the passwd for tony;
now create user with no interactive shell
sudo useradd --shell /bin/false john
check to see if the user created has no interactive shell, should look like this; /bin/false instead of /bin/bash
Having some background of Linux commands is of great help.
First ssh user@ with server name or ip address
input password for the particular user as provided
once you login: ls /home to check the existing users
sudo su to switch to root adduser
It's
sudo adduser user -s /sbin/nologin
instead thatsudo adduser user -s /sbin/nologin/