how to add restrected user on CentOS
Hi guys
I would like to create a user on Cents with restricted access. The main idea is to create a user where:
1) The user will be able to perform specific commands such as ,ping,iptables, tracert,ifconfig.
2) The user WILL NOT BE ABLE to navigate to root directory or to any other folder except his home directory.
3) The user will be able to connect remotely with ssh.
Can someone please guide me on how to perform the above configuration? I am not asking for a step by step guide but just to know in which way i can add such user and from there i can make some studying. For example i have read from a forum that you can add such a user using rssh, or jailkit.
Will i have to use apps such as rssh or jailkit for such users or there are other ways? In case of the need for such application, which one is the best?
Thanks in advance for your help.
|
Recent comments
12 hours 41 min ago
17 hours 46 min ago
22 hours 10 min ago
23 hours 59 min ago
1 day 14 hours ago
1 day 14 hours ago
1 day 19 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 3 hours ago