Re: sudoers file management

"Matthew Stier \(Fujitsu\) via sudo-users" <[email protected]> Wed, 28 Jan 2026 19:37:05 +0000
Newsgroups gmane.comp.tools.sudo.user
Message-ID <MW4PR07MB84904189D0640A7F3645525DF691A@MW4PR07MB8490.namprd07.prod.outlook.com>
I use an Ansible playbook to install OpenCSW packages, and make symbolic links for the installed applications, from where they normally reside, and where OpenCSW places them.

I also modify  /etc/opt/csw/sudo.conf, changing the definitions of sudoers_file to /etc/sudoers



-----Original Message-----
From: sudo-users <[email protected]> On Behalf Of Todd C. Miller via sudo-users
Sent: Wednesday, January 28, 2026 12:10 PM
To: Pascal Guy <[email protected]>
Cc: [email protected]
Subject: Re: [sudo-users] sudoers file management

On Wed, 28 Jan 2026 15:47:19 +0000, Pascal Guy via sudo-users wrote:

> I'm rookie user on csw/sudo. I install package on solaris 10 sparc 
> environment.  But I don't find how I must manage suoers file.  I want 
> just to add a new user to have root access but I don't find how and 
> where is the suders file.

The sudoers file is usually edited via the "visudo" command which will make sure that the file is correctly formatted.

For csw on Solaris the command should be /opt/csw/sbin/visudo and sudoers is usually /etc/opt/csw/sudoers.

 - todd
____________________________________________________________
sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users