Well, there was thread on this last week, and it may also be useful to 
others, so I'm posting it.

To let all users use wvdial without giving them root password or making 
wvdial setuid root, do this (tested on RH6.0)

1. put your wvdial binary in /usr/sbin or /usr/local/sbin (your pref)
   make sure permissions are no more than 755 (-rwxr-xr-x)
2. create /etc/pam.d/wvdial with the following:
#%PAM-1.0
auth       sufficient   /lib/security/pam_rootok.so
auth       required     /lib/security/pam_console.so
#auth       required     /lib/security/pam_pwdb.so
account    required     /lib/security/pam_permit.so

The line with pam_pwdb is commented out.  If you want wvdial to prompt 
for user's password (not root password), then uncomment that line.

3. create /etc/security/console.apps/wvdial with the following:
PROGRAM=/usr/sbin/wvdial     (or /usr/local/sbin/wvdial depending...)

4. create a symlink from /usr/bin/consolehelper to /usr/bin/wvdial (or 
   /usr/local/bin/wvdial)

5. run wvdial as a normal user.

-- 
Can't open /usr/fortunes.  Lid stuck on cookie jar.







-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to