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,885 of 138,051    |
|    Carlos E.R. to All    |
|    Re: sudo    |
|    21 Oct 19 13:04:55    |
      From: robin_listas@es.invalid              On 21/10/2019 03.52, Sidney_Kotic wrote:       > On 10/20/19 5:37 PM, Carlos E.R. wrote:       >> On 21/10/2019 00.41, Sidney_Kotic wrote:       >>> I've run into a problem. Leap 15.1       >>> Using yast I've tried to add my userid to sudo.       >>> Specifically to run as root with ALL.       >>> I get "ERROR       >>> Cannot write settings."       >>       >> Start by posting the entire file, because I don't understand a word of       >> the above.       >>       >> egrep -v "^[[:space:]]*$|^#" /etc/sudoers       >>       > As root:       > snail:~ # egrep -v "^[[:space:]]*$|^#" /etc/sudoers       > Defaults always_set_home       > Defaults secure_path="/usr/sbin:/usr/bin:/sbin:/bin"       > Defaults env_reset       > Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE       > LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME       > LC_NUMERIC LC_PAPER LC_TELEPHONE LC_ATIME LC_ALL LANGUAGE LINGUAS       > XDG_SESSION_COOKIE"       > Defaults !insults       > Defaults targetpw # ask for the password of the target user i.e. root       > ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults       > targetpw'!       > root ALL=(ALL) ALL              The file is correct. What did you try to change there?              >       > As lowly me:              Not interested, I know you are not allowed.              > bill@snail:~> egrep -v "^[[:space:]]*$|^#" /etc/sudoers       > grep: /etc/sudoers: Permission denied       >       >       > As root:       > snail:~ # ls -laR /etc/sudoers*       > -r--r----- 1 root root 3391 Oct 14 09:14 /etc/sudoers       > -rw-r--r-- 1 root root 3033 Oct 20 15:39 /etc/sudoers.YaST2.new              Assuming that the changes would be there, please post /etc/sudoers.YaST2.new                     You did run yaST as root, did you?                     --       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