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}"



On Jun 24,  5:34pm, Cem Kayali wrote:
} 
} 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).

     This doesn't have anything to do with the permissions on rc.d
script unless SUID and/or SGID bits are set.  But, as tls explained
NetBSD doesn't support SGID for scripts.  I have adjusted the rc.d
script to set the group as well as the user.  Can you check to see if
this fixes the issue for you, please?

     BTW, issues like this should be discussed on
pkgsrc-users%NetBSD.org.@localhost  NetBSD-users%NetBSD.org@localhost is for 
issues
affecting the base system.

}-- End of excerpt from Cem Kayali


Home | Main Index | Thread Index | Old Index