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,883 of 138,051    |
|    Sidney_Kotic to Carlos E.R.    |
|    Re: sudo    |
|    20 Oct 19 18:52:35    |
      From: kant@have.it              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              As lowly me:       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              /etc/sudoers.d:       total 0       drwxr-x--- 1 root root 0 Oct 14 09:14 .       drwxr-xr-x 1 root root 5380 Oct 20 17:13 ..              --- 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