[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Change root > normal user?



On Tue, 2006-09-19 at 09:37 -0400, Bob Goodwin wrote:
> Aaron Konstam wrote:
> > On Tue, 2006-09-19 at 10:34 +0200, Mike wrote:
> >   
> >> Bob Goodwin schreef:
> >>     
> >>> I have a computer where I have set up FC5 as
> >>> root and need to provide normal user access to
> >>> applications I have configured.
> >>>
> >>> What is the proper way to do this?
> >>>
> >>> Bob Goodwin
> >>>
> >>>       
> >> sudo if the  application needs root privileges?
> >>     
> > Mostly it is a matter of having the permissions for the program to be
> > something like 755 if owned by root.
> >
> > Although sudo is ok if you want to give execution permissions to a small
> > group of users, if you want to give permission to all users to execute a
> > program that needs root privileges when running, then SUID through:
> > chmod u+s  seems more direct.
> >   
> Ok, thanks, I thought perhaps there was some
> other command that would do this.  I can change
> permissions as required as I find problems ...
> 
> If I used SU I might as well let him run as root; I'd
> prefer not doing that.

The suggestion is that you use sudo not su which are different things.
Using sudo it is possible to have specific users be able to run root
executable programs, while other users could not.
> 
> One of the things confusing me was an inability to
> run an application [Navicat] on a second x-window
> [from startx -- :1] but I see that as long as I log
> in as the user and startx from there it works which is
> what I need.
> 
> Thank you.
> 
> Bob Goodwin   
>  
> 
--
=======================================================================
Psychology. Mind over matter. Mind under matter? It doesn't matter.
Never mind.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam sbcglobal net


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]