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,886 of 138,051   
   Bit Twister to Carlos E.R.   
   Re: sudo   
   21 Oct 19 12:19:15   
   
   From: BitTwister@mouse-potato.com   
      
   On Mon, 21 Oct 2019 17:57:10 +0200, Carlos E.R. wrote:   
   > You might make a backup of /etc/sudoers, and then cp   
   > /etc/sudoers.YaST2.new to /etc/sudoers.   
      
   With the new and improved sudo, there is no reason to edit those files.   
   You just create a file in /etc/sudoers.d with just the directives   
   to do what you want.   
      
   For example I have   
       # ls -Al /etc/sudoers.d   
       total 8   
       -rw-r----- 1 root root 303 Jun 29 08:38 xx__a_general   
       -rw-r----- 1 root root 270 Jun 29 08:38 xx__bittwister   
      
   xx__a_general has basic ip range protection, and xx__bittwister   
   has directives which only bittwister need.   
      
   --- 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