Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


log file permission

Posted on 1998-12-30
Medium Priority
Last Modified: 2013-12-16
I am using Solaris 2.5 w/s. How can I change the permission
of system log_file ( /var/log/syslog ) ?
Question by:deeptish
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 84

Expert Comment

ID: 1812605

Author Comment

ID: 1812606
I don't like to use "chmod" because when server starts it again set the permision of it to default.  

Accepted Solution

arthurd earned 100 total points
ID: 1812607
Use chmod, then create a file in /etc/rc3.d/ called S10syslog.chmod (or whatever, as long as it starts with a "S" and has a number next).

In that file, put the chmod command.  Every time the system boots up, it will chmod the syslog file to whatever you set it to.

Author Comment

ID: 1812608
Hi arthurd,

      In the file S10syslog.chmod "10" stands for what ?

Expert Comment

ID: 1812609
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,


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question