Welcome to the Linux Foundation Forum!

Security using consolehelper and pam

Options

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

  • mfillpot
    mfillpot Posts: 2,177
    Options
    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.

Categories

Upcoming Training