Running as Root

Bryan O'Neal BONeal at cornerstonehome.com
Thu May 10 19:10:48 MST 2007


Thanks everyone, su - works for the path problem.
Now can any one guess why synergy runs different when I am logged in as
a use, when it is launched on startup and when it run as root?  It runs
so much more smoothly when you execute it as root when logged in as root
:)

-----Original Message-----
From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of
Jeremy C. Reed
Sent: Thursday, May 10, 2007 5:53 PM
To: Main PLUG discussion list
Cc: Arizona State University Linux Users Group
Subject: Re: Running as Root

On Thu, 10 May 2007, Bryan O'Neal wrote:

> Ok, can some one tell me why when I log in as root I can run ifconfig
> but when I log in as user and su to root I can not run ifconfig?  I
have
> a similar issue with snort and a few other apps.  I want to stop
running
> as root when I am messing with my test box, but FC6 is making it
> difficult.

I am guessing it is just an execute path problem.

When you login as root and when you su as root, look at output of:

 id

 echo $PATH

 which ifconfig

If if it a path problem, then  you can use "su -l" or just set the path
or 
use the full path to your commands.

> Also, why is it when I log in as root and run synergys I can move my
> mouse freely across all my screens, but why it runs as itself
(init'ed)
> or as some other user I am locked to the FC screen when a menu is
down,
> or beryl is doing it's preview thing, etc.  I want synergys to work as
> well as it does when root but without having to log in as root.

I don't know about that. I don't know that software.

  Jeremy C. Reed
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list