Welcome to the new Linux Foundation Forum!

Security using consolehelper and pam

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?

Comments

  • mfillpotmfillpot Posts: 2,180
    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.
Sign In or Register to comment.