Re: Undo chmod u+s `which kppp`
From: Peter T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 08/28/03
- Next message: Yann Crispin: "Software quota ?"
- Previous message: Andreas Janssen: "Re: Undo chmod u+s `which kppp`"
- In reply to: Bill Dika: "Undo chmod u+s `which kppp`"
- Next in thread: Bill Marcum: "Re: Undo chmod u+s `which kppp`"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 28 Aug 2003 15:07:02 +0200
Bill Dika <bdikaca@yahoo.com> wrote:
> 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`
Nice idea, wrong execution.
> 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?
All your questions are loaded, presumably because of wrong assumptions.
"undoing" is just a question of replacing a + with a - in your command,
unless you know something I don't about the original perms. What were
they? Just reestablish them.
The real problem here is that you are applying your chmod to the wrong
thing. The kppp in your path is not the kppp that you want to run -
it's only a shell that asks for the root password and starts the real
kppp. It's the real kppp that you want to make suid and executable by
you, and it's the real kppp that you want to run. Ditto pppd, if
you care.
> Any help would be much appreciated.
Stop messing up.
Peter
- Next message: Yann Crispin: "Software quota ?"
- Previous message: Andreas Janssen: "Re: Undo chmod u+s `which kppp`"
- In reply to: Bill Dika: "Undo chmod u+s `which kppp`"
- Next in thread: Bill Marcum: "Re: Undo chmod u+s `which kppp`"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]