Hi,
On (20/12/05 17:35), Jose Gonzalez Gomez wrote:
> 2005/12/20, Rumen Yotov <[EMAIL PROTECTED]>:
> >
> > On (20/12/05 13:59), Jose Gonzalez Gomez wrote:
> > > Hi there,
> > >
> > > I've just emerged Dante, and I'm trying to start it, but I'm getting the
> > > following error and I don't know what's causing it...
> > >
> > > proxy ~ # /etc/init.d/dante-sockd start
> > > Dec 20 15:01:20 (1135087280) sockd[0]: socks_seteuid(): old: 0, new: 101
> > > Dec 20 15:01:20 (1135087280) sockd[0]: socks_reseteuid(): current: 101,
> > new:
> > > 0
> > > Dec 20 14:01:20 (1135087280) sockd[0]: socks_reseteuid(): getpwuid(0):
> > > Permission denied (errno = 13)
> > > Dec 20 14:01:20 (1135087280) sockd[0]: sockdexit(): terminating
> > >  * Something is wrong with your configuration file
> > >  * for more info, see: man sockd.conf
Check this file "/etc/sockd.conf (hint)" must be somewhere under /etc but i 
can't check
as i don't have 'dante' installed. Read "man sockd.conf" too.
Usually some programs (most often daemons) start as root and later fork/switch 
the process to other user ID.
Main purpose is to gain more security if the service is compromised. e.x. 
apache,ftp & others.
Check the above man page and the config file itself (read the comments, if any).
> > >
> > >
> > > Any ideas?
> > >
> > > Thanks in advance, best regards
> > > Jose
> > Hi,
> > Seems it wants to run as user ID 101, so check your config files, whatever
> > they are.
> > Run "grep 101 /etc/passwd" to see which user it wants to be, or change the
> > config.
> > No experience with 'dante' though.
> >
> 
> The user with id 101 is indeed the sockd user:
> 
> proxy ~ # grep 101 /etc/passwd
> sockd:x:101:2:added by portage for dante:/etc/socks:/bin/false
> 
> So I guess it must be doing something with that user that can't be done...
> 
> Thanks for your help, best regards
> Jose
Rumen

Attachment: pgp8tb1ZbBgeR.pgp
Description: PGP signature



Reply via email to