On Friday, Feb 7, 2003, at 23:50 Europe/Vienna, Pontarelli, Brian wrote:
First of all, one quick question, does the sharity daemon have to be
run as
root? Currently I am starting it up as a user named sharity, is this
acceptable?
No, it must run as root. The daemon must be able to use the "mount()"
system call which is limited to root on most operating systems. It must
also be able to change the ownership of a socket to any user
(authentication mechanism). This is limited to root on all operating
systems.
I'm only trying to get the Sharity GUI to display and if I run that
command
as the sharity user, it works fine. If I run it as any other user, I
get an
GUI dialog that says something like:
"FRW: Internal error: Communication with UI client"
This is also the same error I get from using the sharity program on the
command like from any user except sharity.
The daemon creates a communication socket and changes the ownership to
the user who issues the command. If the daemon does not run as root,
this will only succeed if the user is the same as the one which runs
the daemon.
My first thought is that the daemon is can't be properly accessed by
other
users since it is being run by the sharity user. Any help would be much
appreciated, thanks.
Yes. That's it.
Regards, Christian.
--
Dipl.-Ing. Christian Starkjohann
Objective Development
mailto:[EMAIL PROTECTED] | http://www.obdev.at/
_______________________________________________
Sharity-talk mailing list
[EMAIL PROTECTED]
To unsubscribe see http://at.obdev.at/mailman/listinfo/sharity-talk