On Sun, 05 Dec 2004 19:55:13 -0500 Peter Hyman <[EMAIL PROTECTED]> babbled:
(B
(B> On Sun, 2004-12-05 at 19:50 -0500, Corey Donohoe wrote:
(B> Maybe I was not clear.
(B> 
(B> When I run entrance -T from an xterm as user, I get NO test screen. I
(B> just get the error message that entrance cannot connect to daemon. This
(B> occurs whether or not I run entranced.
(B> 
(B> If I sudo entrance -T, then the test screen comes up. That's the big
(B> difference. I get no "cannot connect to daemon" error when sudo.
(B
(Bbecause it tries to connect to the SYSTEM entranced which only allows other root
(Bprocesses to connect for security reasons. entrance is special. it is a login
(Bmanager - it runs as root as has security "concerns". it needs to authenticate
(Busers. if it restricts you like this.. guess what. it's by DESIGN. security is
(Binvariably NEVER convenient.
(B
(B> * Peter Hyman ([EMAIL PROTECTED]) wrote:
(B> > > Running entrance -T returns the following:
(B> > > 
(B> > > bash-2.05b$ entrance -T
(B> > > WARNING: not a utf8 locale!
(B> > ^^^ is a message from edje I believe, you'll see that in apps other than
(B> > entrance
(B> > > Debug: ipc_title = /var/entrance_ipc_0
(B> > ^^^ is a message from entrance_ipc.c, it's debateable whether or not this
(B> > should be spewing out info, but for now you can simply ignore it.
(B> > > entrance_ipc_init: connect to daemon failed.
(B> > ^^^ is your user failing to connect to the ipc socket that entranced and
(B> > entrance use to communicate, it can safely big ignored.  
(B> > 
(B> > Notice:
(B> > nemesis% entrance -T
(B> > WARNING: not a utf8 locale!
(B> > Debug: ipc_title = /var/lib/entrance/entrance_ipc_0
(B> > entrance_ipc_init: connect to daemon failed.
(B> > 
(B> > nemesis% sudo entrance -T
(B> > WARNING: not a utf8 locale!
(B> > Debug: ipc_title = /var/lib/entrance/entrance_ipc_0
(B> > entrance_ipc_init: connect to daemon failed.
(B> > 
(B> > nemesis% ps auwwx | grep entranced
(B> > root      8333  0.0  0.9  56068  4940 ?        S    Dec04   0:00
(B> > /usr/sbin/entranced
(B> > 
(B> > nemesis% entrance -T -z 8333      
(B> > WARNING: not a utf8 locale!
(B> > entrance: main: z optarg = 8333
(B> > Debug: ipc_title = /var/lib/entrance/entrance_ipc_8333
(B> > entrance_ipc_init: connect to daemon failed.
(B> > 
(B> > nemesis% sudo entrance -T -z 8333
(B> > WARNING: not a utf8 locale!
(B> > entrance: main: z optarg = 8333
(B> > Debug: ipc_title = /var/lib/entrance/entrance_ipc_8333
(B> > entrance_ipc_init: Success
(B> > 
(B> > Worth noting is that unless you identify the pid you're not going to connect
(B> > to ipc even w/ sudo or as root. 
(B> > > 
(B> > > I must run as root or sudo entrance -T.
(B> > > 
(B> > > Does this make sense? 
(B> > Yes.
(B> > > Any user should be able to run this. 
(B> > Any user can.
(B> > > Are there auth checks going on that are not needed?
(B> > Sorta, but they don't hurt the app
(B> > > 
(B> > > I think it should allow any user to run it though, not just root or
(B> > > through sudo.
(B> > As stated above anyone can run entrance -T, you just can't login for the
(B> > same reasons you wouldn't want me calling initgroups, setgid, and setuid to
(B> > your user on a shell box. :D
(B> > 
(B> > > -- 
(B> > > Peter
(B> > > 
(B> > __
(B> > Corey Donohoe
(B> > http://www.atmos.org
(B> > 
(B> > 
(B> > -------------------------------------------------------
(B> > SF email is sponsored by - The IT Product Guide
(B> > Read honest & candid reviews on hundreds of IT Products from real users.
(B> > Discover which products truly live up to the hype. Start reading now. 
(B> > http://productguide.itmanagersjournal.com/
(B> > _______________________________________________
(B> > enlightenment-devel mailing list
(B> > [EMAIL PROTECTED]
(B> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B> -- 
(B> Peter
(B> 
(B> 
(B> 
(B> -------------------------------------------------------
(B> SF email is sponsored by - The IT Product Guide
(B> Read honest & candid reviews on hundreds of IT Products from real users.
(B> Discover which products truly live up to the hype. Start reading now. 
(B> http://productguide.itmanagersjournal.com/
(B> _______________________________________________
(B> enlightenment-devel mailing list
(B> [EMAIL PROTECTED]
(B> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B> 
(B
(B
(B-- 
(B------------- Codito, ergo sum - "I code, therefore I am" --------------
(BThe Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
$BMg9%B?(B                              [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B-------------------------------------------------------
(BSF email is sponsored by - The IT Product Guide
(BRead honest & candid reviews on hundreds of IT Products from real users.
(BDiscover which products truly live up to the hype. Start reading now. 
(Bhttp://productguide.itmanagersjournal.com/
(B_______________________________________________
(Benlightenment-devel mailing list
([EMAIL PROTECTED]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to