From: Daniel47@teranews.com   
      
   Moe Trin wrote:   
   > On Fri, 03 May 2013, in the Usenet newsgroup alt.os.linux.mandriva, in   
   article   
   > , Daniel47@teranews.com wrote:   
   >   
   >>>>>>> I figured I'd re-install my MD2009 system   
   >   
   >>>>>>> I'm guessing I've done something wrong (see below) because,   
   >>>>>>> previously, to connect to the internet I'd run Network Centre   
   >>>>>>> and select my 3G Wireless connection then I'd open a terminal   
   >>>>>>> and run, as user, a script written by my ISP to actually make   
   >>>>>>> the connection. Since I fixed the previously mentioned problem,   
   >>>>>>> to run my ISP's script I've had to SU in the terminal to be   
   >>>>>>> able to run the script.   
   >   
   > Better description of the problem helps. Your 're-install' didn't   
   > cross all the 'i's and dot all the 't's.   
   >   
   >> ls -l /daniel/ gives a full list, including   
   >   
   >> -rwxr-xr-x 1 daniel root 597 2010-04-04 21:20 ppp.sh*   
   >   
   >> After selecting my 3G USB dongle in Network Center, I run my ISP's   
   >> script, ppp.sh, which looks like this....   
   >> ____________________________________   
   >> #! /bin/sh   
   >>   
   >> echo "copies my config and tries to start ppp"   
   >   
   > As "ordinary user" (without 'su') do you see this line echoed?   
      
   Yes, normally,   
      
   >> sudo cp -pf /etc/sysconfig/network-scripts/chat-ppp0.rhw   
   >> /etc/sysconfig/network-scripts/chat-ppp0   
   >   
   >> echo "Trying to connect"   
   >   
   > Do you see _this_ line?   
      
   Yes, normally, but now ....   
      
   [daniel@localhost ~]$ ./ppp.sh   
   copies my config and tries to start ppp   
   daniel is not in the sudoers file. This incident will be reported.   
   Trying to connect   
   daniel is not in the sudoers file. This incident will be reported.   
   [daniel@localhost ~]$   
      
   >   
   > My guess is that your 'sudo' is barfing - hasn't been told you want   
   > it to run this   
   >   
   >> sudo pppd   
   >   
   > and this as root. When you 'su' first, sudo is following meekly and   
   > doing things as desired.   
   >   
   >> Again my mistake, I don't have a "guest" log-in, but I was unsure if   
   >> I didn't enter my account's password, I thought I just got some sort   
   >> of "Guest" (i.e. limit permissions) user account.   
   >   
   > No, the idea is 'sudo' can be configured to allow _you_ to run specific   
   > commands - and it can be set to require a password or not. In this   
   > case, probably set to not ask for the password.   
   >   
   > Old guy   
      
   Thanks for trying Moe, BT and Unruh   
      
   Daniel   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|