[prev in list] [next in list] [prev in thread] [next in thread] 

List:       privoxy-users
Subject:    Re: [privoxy-users] Fatal error: User 'privoxy' not found
From:       Duncan <1i5t5.duncan () cox ! net>
Date:       2015-02-08 7:08:56
Message-ID: pan$e45bf$f32fdadf$8fd75356$14ce5a04 () cox ! net
[Download RAW message or body]

Ian Silvester posted on Sat, 07 Feb 2015 14:03:20 -0500 as excerpted:

> I'm an OS X user but am aware that Privoxy prefers to run as a
> non-privileged user so as to improve security. The OS X installation
> package creates a daemon user and group named _privoxy, so I'm guessing
> that dpkg-deb isn't creating these? You're running as sudo so it's not a
> permissions issue in attempting to create the user/group; does the
> Debian binary installer mandate creating the user/group manually
> perhaps?

I can confirm that for Linux as a gentoo user.

Addressing the OP...

I know little about debs in terms of packaging and my knowledge of rpms 
is now over a decade out of date as I've been a gentooer since 2004, but 
if it's anything like rpms back then, putting the binaries in place is 
only part of what happens with an install.  There's normally a script 
that runs or some other mechanism for doing things like creating any 
needed daemon-user for the binary to run as, etc.

I'd guess that the dpkg-deb command run does the files installation, but 
didn't run that script or otherwise trigger whatever it is that sets up 
the user, which the initscript obviously is setup to expect.

Of course you can create the user and/or group manually, but I'd suggest 
you look up your packaging documentation and figure out exactly how it 
does such "extra" stuff, following a script or whatever, then look up 
that script or deb-config or whatever and see exactly what else it's 
doing, so you can either replicate that manually or decide that you don't 
need it in your case for the same reason you're already doing it semi-
manually, and bypass it or do some other appropriate alternative.


I used to do this sort of customization and/or running various bits of 
the installation independently semi-regularly back on mandrake, and of 
course gentoo is /designed/ for admin-level customization and makes it 
very easy and well documented, one of the reasons I've been a gentooer 
for over a decade now.  But I'll guess that debian has similar 
mechanisms, likely well documented as well, and you just need to find and 
follow them. =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ijbswa-users mailing list
Ijbswa-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ijbswa-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic