silc-server does not drop privileges when run in foreground

Pekka Riikonen priikone at iki.fi
Wed Mar 7 08:38:28 CET 2007


: 
: > This is fine except when debugging in enabled (-d or -D) in which
: > case we don't want to drop privileges, at least I don't.
: 
: Really?  Sorting out privilege errors is one of the most common
: reasons that i run tools in debug mode.  Often i'm debugging a service
: which doesn't have appropriate privileges to do something or other,
: and i want to get clearer information about what limitations it's
: bumping up against.  If the process retains superuser privs when i'm
: debugging it, any lack-of-privilege errors won't be reproducible.  As
: a sysadmin, i think that'd make me tear my hair out :)
: 
Yeah, I'm using those options during development of course and I usually 
don't care about privileges.  I usually run the silcd during development 
as normal user so if that works fine when dropping the privileges it 
doesn't matter to me even if that code is called when debugging is 
enabled.

	Pekka
________________________________________________________________________
 Pekka Riikonen                                 priikone at silcnet.org
 Secure Internet Live Conferencing (SILC)       http://silcnet.org/


More information about the silc-devel mailing list