Hello,

I was trying to use runuser from utillinux to run a process as another
user but ran into a problem. Running the command (as root) gives the
following.

# runuser -ukevincox whoami
runuser: Failure setting user credentials
# echo $?
1

A similar command using sudo works but I was wondering why runuser
doesn't. Looking around on the web I found that this error could be
caused by missing PAM config files[1,2] however I don't really know PAM
at all and was wondering if someone knew what the problem was in our case.

[1] http://patchwork.openembedded.org/patch/104339/
[2] https://bugs.mageia.org/show_bug.cgi?id=6391

Thanks, Kevin

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to