restrict a normail unix user from going anywhere

Hari N hari2n at gmail.com
Tue Jun 21 08:19:27 UTC 2005


On 6/21/05, M E Fieu <sibu168 at yahoo.com> wrote:
> 
> Hi..Is there a way to restrict a normail unix for example unix1 to its 
> HOME directory /home/unix1/
> with going anywhere but still allow it to start and stop the some service 
> like apache?
> /etc/init.d/httpd stop/start.
> 
> Yes, it is possible to do this by giving root privileges to the user to 
execute only specific commands. To do this, edit the /etc/sudoers file using 
the command - visudo. Follow the syntax as specified in that file.

-- 
Hari
http://hari.accosted.net



More information about the redhat-list mailing list