1753394 Members
7159 Online
108792 Solutions
New Discussion юеВ

sendmail / not root

 
Nobody's Hero
Valued Contributor

sendmail / not root

OK, sorry to blast so many questons here, but you all are a real help.

Can I change /etc/mail and all the files under it
from
rwx r--r-- root root
to
rwx rw-r-- root somegroupname

This way a non root user has access to it by being in the 'somegroupname' group ?
Can this be done?
UNIX IS GOOD
2 REPLIES 2
F Verschuren
Esteemed Contributor

Re: sendmail / not root



i never tested this normaly if a user neet asses to this kind of files i use sudo...

if you chang it just stop/ start sendmail, if this is not giving errors an mail still works it doesn't harm the system.
Ivan Krastev
Honored Contributor

Re: sendmail / not root

If you want other users to stop/start/change sendmail settings use sudo:

user ALL= /usr/bin/vi /etc/mail/*, /sbin/init.d/sendmail

regards,
ivan