Link to home
Start Free TrialLog in
Avatar of deeptish
deeptish

asked on

log file permission

I am using Solaris 2.5 w/s. How can I change the permission
of system log_file ( /var/log/syslog ) ?
Avatar of ozo
ozo
Flag of United States of America image

chmod
Avatar of deeptish
deeptish

ASKER

I don't like to use "chmod" because when server starts it again set the permision of it to default.  
ASKER CERTIFIED SOLUTION
Avatar of arthurd
arthurd

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi arthurd,

      In the file S10syslog.chmod "10" stands for what ?
It is just a number to indicate the order in which the scripts in the directory are started.  If you had more than one script, you would put different numbers for each.  The smaller the number the ealier it will be executed.  The "S" indicated it is a startup script.  If it were a "K", it would be a kill script (shutdown).

Hope this helps,

Dave