Linux.com

Security using consolehelper and pam

Link to this post 27 Nov 09

Hi! I want to allow users to run the command wvdial as root. I am thinking in use consolehelper and pam to do this. This is a security way to this this?

Link to this post 27 Nov 09

You could setup pam access for all users in visudo to accomplish this or you can even set the setuid bit on the pam executable by using the commands "sudo chmod 777 {file};sudo chmod +s {file}". The setuid bit allow all users who have rights to execute the program to execute it as the file owner without the system requesting a password. If you decide to use visuo then depending on your choice of config type you can have the system request the user's password or no password to run the command.

As for security implications, I don't see any with using the wvdial as root, but it would be advisable to read the wvdial man page and check the internet for configuration options that may cause issues if they are run as root.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board