NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: About a rc.d script and "--user ${puser}"




Well, yes; let me briefly explain:

# userinfo privoxy
login   privoxy
passwd  *************
uid     50
groups  privoxy

Then, run "/etc/rc.d/privoxy onestart", then privoxy service runs as user:privoxy and group:wheel (uid:50 and gid=0) instead of user:privoxy group:privoxy (uid:50 and gid=50).

Regards,
Cem





Robert Elz, 02/01/09 22:27:
    Date:        Sun, 1 Feb 2009 14:19:35 -0500
    From:        Thor Lancelot Simon <tls%rek.tjls.com@localhost>
    Message-ID:  <20090201191935.GA7809%panix.com@localhost>

  | What do you mean, "has wheel permission"?

He means init is gid==0 when it runs rc scripts, so processes started
by rc scripts run as group 0 by default.

kre


Home | Main Index | Thread Index | Old Index