[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] kppp and root password



Rajesh Fowkar forced the electrons to say:
> Hi Binand,
> 
> Thanks for the response. Here is the output of the same commands on my Red Hat
> 6.1 machine :
> 
> [rajesh@rajesh] ~$ ls -li $(which kppp)
>   98654 lrwxrwxrwx   1 root     root           13 Nov 16 01:21 /usr/bin/kppp -> consolehelper*
> [rajesh@rajesh] ~$ ls -li $(which consolehelper)
>   99831 -rwsr-sr-x   1 root     root        17780 Sep 22 05:40 /usr/bin/consolehelper*
> [rajesh@rajesh] ~$           
> 

Hi Rajesh,

I have solved your problem (I think).

consolehelper is a program that, looking at the name by which it was
invoked, asks you for the root password and then runs the specified
program. So you can solve your problem by removing /usr/bin/kppp and
running /usr/sbin/kppp instead (of course, this has to be suid root).

Read consolehelper(8) for more details.

<smileys>
If this works, I expect a Thank You mail from you, as I had to install
RHL 6.1 to figure this out.
</smileys>

Binand

-- 
#include <stdio.h>                                   | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c;     | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c";    | printing program.
int main(){printf(p,10,34,p,34,10);return 0;}        | Try it!!
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.