Results 1 to 2 of 2
Hi all, I have a SPARC server with solaris 8 installed on it recently i installed Sudo package for it and configured it so that it will limits users to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-03-2008 #1
- Join Date
- Apr 2008
I have a SPARC server with solaris 8 installed on it
recently i installed Sudo package for it and configured it so that it will limits users to what they can do
below is the config for sudoers file
# sudoers file.
# This file MUST be edited with the 'visudo' command as root.
# See the man page for details on how to write a sudoers file.
# Host alias specification
# User alias specification
User_Alias MAINTAINERS = chris
# Cmnd alias specification
Cmnd_Alias DEB = /usr/sbin/passwd, /usr/bin/useradd, /usr/local/MAINT/test.ksh
# User privilege specification
root ALL=(ALL) ALL
MAINTAINERS ALL = DEB
I was wonder there's a file that i need to edit by using 'vi' but as a normal user i only have read access to it where and what do i need to add in the 'sudoers' file in order to edit that file for e.g that file is located in '/etc/users'
- 04-04-2008 #2
IMO, sudoers is not for files but processes.
If you want permission for a file
you can change permissions or try
Personally, i feel setfacl is a useful command
but have been wondering whether its safe or not?