From: Daniel47@teranews.com   
      
   unruh wrote:   
   > On 2013-05-03, Jim Beard wrote:   
   >> On 05/03/2013 09:20 AM, Daniel47@teranews.com wrote:   
   >>> Yeap, let me try again......   
   >>>   
   >>> ls -l /daniel/ gives a full list, including   
   >>>   
   >>> -rwxr-xr-x 1 daniel root 597 2010-04-04 21:20 ppp.sh*   
   >>   
   >> Owner of this file may need to be root, and this one change might   
   >> do everything needed. But that is just a possiblity.   
   >>   
   >> chown root:root /path/to/ppp.sh   
   >> /* Must be done as root, of course. */   
   >>   
   >> should make owner and group both root. Permissions can be set to   
   >> make things work with owner of this file daniel, but that could   
   >> be complex as most often it is the owner of the file/executable   
   >> that is critical and dealing with chains of commands/files can   
   >> get tricky.   
   >   
   > That should not make a difference unless the file were an suid file. It   
   > is not ( and I do not believe a script can be). The owner of the command   
   > is user runs the command, not the owner of the file.   
   >   
   > Anyway, try running it as root to see if it is a permission problem   
   > somewhere. It is useless to hunt for permission changes if they actually   
   > have nothing to do with the problem.   
      
   Running the ppp.sh as user (which is as it was), now brings up a warning   
   message ........   
      
   [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 ~]$   
      
   (Where do I find the "sudoers file"??)   
      
   My Network Center offers me an Ethernet connection, a Wireless   
   connection and a GPRS/EDGE/3G. If I then select GPRS/EDGE/3G, it   
   connects to the network. I then opened a terminal as SU, ran ppp.sh and   
   I was able to run my SeaMonkey Internet Suite however the Mail profile   
   could not be written to, although the permission/properties for the   
   Inbox (and other files as well) said I can read and write it!   
   Incidentally, the profile I normally use in Linux is the exact same   
   profile I'm using now in Win7.   
      
   Daniel   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|