restrict a normail unix user from going anywhere

M E Fieu sibu168 at yahoo.com
Tue Jun 21 08:26:24 UTC 2005


Thanks! I actually heard about the sudo method.  But could a normal user do anything harmful or
see any sensitive information in our system. it is for a third party operator to just restart the
service.  Can we restrict a user to just issue a command or not allow it to issue some command ? 

--- Hari N <hari2n at gmail.com> wrote:

> 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
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 



		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com




More information about the redhat-list mailing list