sudo problem with kppp causes .ICEauthority login failure on Deb 3.1
Gurus of the council,
I just switched from FC1 to Debian Sarge. I (still) use a dial-up internet connection and have traditionally used kppp. However, for users to use kppp without the root password, I used sudo. Essentially, I added an application launcher at the bottom of the screen that issued the command:
sudo kppp
This worked fine in FC1, but now it is causing login problems in Sarge. It appears that when kppp is accessed via sudo, the .ICEauthority file is overwritten after closing the ppp connection. This overwriting is done at the root level and assigns a -rw------ permission to .ICEauthority (which is now owned by root in group 'root') , so the user cannot login since logging in requires access to .ICEauthority. I went in as root and chown'ed the .ICEauthority file to allow user access. This let the user ('other' permission) log in, but then when the user used sudo kppp, the file permissions were changed back to allow only root access.
As root, I chown'ed the file to give the user ownership, but this fix only worked until the user used sudo kppp and the file ownership and permissions changed back to root.
Also, following (oops) an earlier achived thread ("givng permission to kppp, process manager and etc"), I issued the command:
ln -sf /usr/sbin/kppp /usr/bin/kppp
Being somewhat of a novice, I'm not exactly sure what this did, but now trying "kppp" as root replies that there is no bash command kppp. Why does this cause a problem with the kppp command and how can I fix this to allow at least the root to be able to start kppp by typing "kppp"?
Thanks.
(Sorry for my lack of brevity)
System info:Debian 3.1 (Sarge), kernel 2.4-27-i386, P4 (celeron) 512 DDR RAM, nVidia GeForce2, Gnome 2.8, KDE 3.2.2
Last edited by HalfDiminished; 01-07-2005 at 12:02 PM.
|