home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 136,888 of 138,051   
   Sidney_Kotic to Carlos E.R.   
   Re: sudo   
   21 Oct 19 14:45:01   
   
   From: kant@have.it   
      
   On 10/21/19 8:57 AM, Carlos E.R. wrote:   
      
   > You might make a backup of /etc/sudoers, and then cp   
   > /etc/sudoers.YaST2.new to /etc/sudoers. Mind that you have to recreate   
   > the correct permissions. Then test it. I do not warranty it works, nor   
   > that it does what you intended - as William, I do not understand the   
   > meaning of "add myuserid to sudo".   
      
   OK, massive confusion:   
   I used yast from the gui.  I gave it the root password to use.  Then:   
   Security and Users -> Sudo -> Rules for sudo -> Add   
    From there I added User kant, Host ALL, RunAs root, Command ALL, Parameters   
   ALL   
   It accepted the OK and put me back one screen.  When I did OK again it said   
   Write the settings   
   and then said:   
   ERROR   
   Cannot write settings.   
      
   My userid is my name on this computer, the one I login with.   
      
   Try to copy file:   
   Nope, what I did as root:   
   snail:/etc # cp sudoers sudoers.ootb   
   snail:/etc # cp sudoers.YaST2.new sudoers   
      
   What happens as me:   
   kant@snail:~> sudo df   
    >>> /etc/sudoers: syntax error near line 79 <<<   
   sudo: parse error in /etc/sudoers near line 79   
   sudo: no valid sudoers sources found, quitting   
   sudo: unable to initialize policy plugin   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca