Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.
-
Bill Dika #1
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
Bill Dika Guest
-
NET::FTP problem w/CHMOD
Hi I am trying to use the NET::FTP module to recursively chmod files. Either of these two ways of telling the server to chmod it seem to work: ... -
php chmod?
say i have a php script that i access via the web and that creates a file whose permissions are changed to 600 (ie. only the owner can read or... -
chmod
Hi all! I like to read several rows out of two different table-files and put them successively in a new file by: @ergebnis_alles = ... -
chmod -- chomp not chmod!!
Oh-oh - there was a mistake - I tried chomp, not chmod.. How do I use chomp correctly? I have an array of strings, want to cut off the last \n in... -
having problems with kppp on mandrake 9.1
I am using whatever versions of kppp, kde and so on that Mandrake 9.1 installs by default. Startup mandrake 9.1, login, run kppp and it says "cant... -
Andreas Janssen #2
Re: Undo chmod u+s `which kppp`
Hello
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`> [...]I don't know if this will help you with your dialup problems, but to> How do I undo the above commands and restore the menu response in KDE?
remove the suid bit, you can simply use
chmod u-s 'which kppp'
best regards
Andreas Janssen
--
Andreas Janssen
[email]andreas.janssen@bigfoot.com[/email]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976
Andreas Janssen Guest
-
Peter T. Breuer #3
Re: Undo chmod u+s `which kppp`
Bill Dika <bdikaca@yahoo.com> wrote:
> I am using RedHat Linux 9 and entered the following commands in order
> to get non-root dialup:Nice idea, wrong execution.> 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 kpppAll your questions are loaded, presumably because of wrong assumptions.> How do I undo the above commands and restore the menu response in KDE?
"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.
Stop messing up.> Any help would be much appreciated.
Peter
Peter T. Breuer Guest
-
Bill Marcum #4
Re: Undo chmod u+s `which kppp`
On 28 Aug 2003 05:56:12 -0700, Bill Dika
<bdikaca@yahoo.com> wrote: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?
>
I don't have kppp, but pppd on my Debian system is u+s.
--
Commander Spiral Pyjama Pseudo-Rhinocerous Feline Thingamajig Bill Marcum
(the First)
Ozy and Millie Name Generator [url]http://heifong.phase.org/omname.php[/url]
Bill Marcum Guest
-
Bill Dika #5
Re: Undo chmod u+s `which kppp`
Many thanks.
Regards,
Bill Dika
Bill Marcum <bmarcum@iglou.com> wrote in message news:<mhg121-8jt.ln1@don.localnet>...> On 28 Aug 2003 05:56:12 -0700, Bill Dika
> <bdikaca@yahoo.com> wrote:> 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?
> >
> I don't have kppp, but pppd on my Debian system is u+s.Bill Dika Guest



Reply With Quote

