SteveEast;214531 Wrote:
> Try running something like:
>
> ps -p <slimserver pid> -o pid,egroup,rgroup,sgroup,fgroup,command
>
> and seeing exactly how slimserver is running.
Code:
--------------------
$ ps -p `pidof -x slimserver.pl` -o
pid,euser,egroup,ruser,rgroup,suser,sgroup,fuser,fgroup,command
PID EUSER EGROUP RUSER RGROUP SUSER SGROUP FUSER FGROUP
COMMAND
4134 1002 root root root root root 1002 root
/usr/bin/perl -w ./slimserver.pl --daemon --user slimserver --prefsfile
/home/slimserver/.slimserver.pref --cachedir /var/cache/slimserver --pidfile
/var/run/slimserver.pid --logfile /var/log/slimserver.log
--------------------
The server was started as root with parameter --user slimserver. Adding
--group users changed EGROUP and FGROUP above to "users", and now it
works.
Thanks alot for the help, SteveEast :)
--
bogomipz
------------------------------------------------------------------------
bogomipz's Profile: http://forums.slimdevices.com/member.php?userid=3743
View this thread: http://forums.slimdevices.com/showthread.php?t=36807
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix