Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

[SOLVED] How to run polipo as daemon with user polipo?

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
rainer
Apprentice
Apprentice
User avatar
Posts: 251
Joined: Thu Feb 17, 2005 5:12 pm
Location: Bonn, Germany

[SOLVED] How to run polipo as daemon with user polipo?

  • Quote

Post by rainer » Sun Mar 25, 2012 7:23 am

I want to use polipo as a local proxy. Everything fine so far, but when I start polipo as a daemon via

Code: Select all

/etc/init.d/polipo start
it runs as root. So I better not add it to the startup script via

Code: Select all

rc-update add polipo default
But why?
This code snippet from /etc/init.d/polipo is supposed to make it run as polipo, isn't it?

Code: Select all

        start-stop-daemon --start --user polipo \
                --background --pidfile /var/run/polipo.pid --make-pidfile \
                        --exec /usr/bin/polipo
What can I do to have polipo starting from boot time as its own user?

Thanks,
Rainer

EDIT:

I'd better done this before - actually trying...
I added polipo to the boot level default, rebooted - and the user was polipo when I started again!

I didn't imagine that invoking /etc/init.d/polipo start from a root terminal would have a different effect from startup call.

Sorry,
Rainer
Top
Post Reply
1 post • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy