Steve Langasek said:
> su *is* the wrong tool to use for starting services, because su *is* defined
> to start PAM sessions.
Gosh, I wish I'd seen that a year ago :)
I hope this is a reasonable place to ask the following question:
So if I can't use su, what can I use? I want to start the rabbit process as the "rabbitmq" user, and Erlang programs can't easily setuid(3). I'm not aware of an alternative to su, but I could well be ignorant.
Steve Langasek said:
> su *is* the wrong tool to use for starting services, because su *is* defined
> to start PAM sessions.
Gosh, I wish I'd seen that a year ago :)
I hope this is a reasonable place to ask the following question:
So if I can't use su, what can I use? I want to start the rabbit process as the "rabbitmq" user, and Erlang programs can't easily setuid(3). I'm not aware of an alternative to su, but I could well be ignorant.