Creating a Read Only SPLAT user

Creating a user
1. SSH to the firewall where account will be setup on.
2. From the command line type “adduser ”, here we will add the user with username testuser. The command should read “adduser testuser”
3. Input the desired password when prompted to do so


Changing the users shell
1. Open the passwd file for editing by typing “vi /etc/passwd”
2. Find the line corresponding to the user you just created. If you have created a user with username “testuser”, the line you are looking for is “testuser:x:0:0::/home/test:/bin/cpshell”
3. Change the users shell, to do this we will change “/bin/cpshell” to “/path/to/shell”.
Before the change the line should read:
“testuser:x:0:0::/home/test:/bin/cpshell”
After the change the line will read:
“testuser:x:0:0::/home/test:/etc/scripts/myshell.sh”

Comments

0 Responses to "Creating a Read Only SPLAT user"

Post a Comment

Search This Blog

Blog Archive

Total Pageviews