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,890 of 138,051    |
|    Carlos E.R. to All    |
|    Re: sudo    |
|    22 Oct 19 00:35:02    |
      From: robin_listas@es.invalid              On 21/10/2019 23.45, Sidney_Kotic wrote:       > 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.              I'm sorry, but I'm not familiar at all with that YaST module. So read       the help and the documentation at doc.opensuse.org, and if it does not       behave as documented, open an official bug at bugzilla.              Or ask at the mail list.              >       > 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 <<<              And what is line 79?              Perhaps:              kant ALL = (root) ALL ALL              Is there a proper empty line below it?              > sudo: parse error in /etc/sudoers near line 79       > sudo: no valid sudoers sources found, quitting       > sudo: unable to initialize policy plugin                     --       Cheers, Carlos.              --- 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