LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to undo 'chmod u+s `which kppp`' (https://www.linuxquestions.org/questions/linux-general-1/how-to-undo-chmod-u-s-%60which-kppp%60-86538/)

bdika 08-28-2003 06:09 AM

How to undo 'chmod u+s `which kppp`'
 
I am using RedHat Linux 9 and entered the following commands in order to get non-root dialup:

chmod u+s `which kppp`
chmod u+s `which pppd`

Now I get no response when I choose the Kppp item from the KDE menu in RedHat and cannot start kppp except as root. This is the opposite of what I was trying to achieve. When I type the command for kppp from a terminal as a non root user I also get no response. Before I entered the above commands the same action would ask me for my root password and then proceed to start up kppp

How do I undo the above commands and restore the menu response in KDE?

Any help would be much appreciated.

Regards,
Bill Dika

DrOzz 08-28-2003 11:04 AM

well you can do the opposite of what was done, to remove it:
chmod -s kppp
chmod -s pppd

darthtux 08-28-2003 04:31 PM

To undo just do the opposite of what you did

chmod u-s `which kppp`
chmod u-s `which pp

When trying to give users acces you don't need to mess with pppd just kppp. And leave out the which

chmod u+s /sbin/kppp

bdika 08-29-2003 07:33 AM

Many thanks.

Regards,
Bill Dika


All times are GMT -5. The time now is 10:59 AM.