04-28-2009
syslog file permission
Hi,
I have setup syslog.conf to rotate and compress a messages file but the only problem is when it creates the new log file it creates it with the following permissions -rw-r-----. I just wondered if there is anywhere where i can specify what permissions this new log file is created with so I can set other to read rather than just doing a chmod?
Thanks,
Matt
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a file ( /tmp/file.txt ) , the file owner is user1:edp , the permission is 644 , I want everyone can overwrite the file but don't change the file owner and permssion , could suggest what can I do ? thx (2 Replies)
Discussion started by: ust
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have one question. My home directory of my unix account is open for everyone. If other account copy my files to their directory, is there a way that I can find out who did it. Does the system administrator have some kind of events logs to find out? Thank you so much! (3 Replies)
Discussion started by: cleanice
3 Replies
3. Solaris
Hi Folks
I have a file with the following permission.
-r-sr-lr-- 1 apps appsgp 7612 Dec 19 2001 startup
Any idea what is the in the group means? In my mind I believe I need to be root to set l in the group. Am I right?
I don't have root access now. When I (as apps) a chmod... (2 Replies)
Discussion started by: hlee411
2 Replies
4. Cybersecurity
Hello,
i need some help/advice on how to solve a particular problem.
these are the users:
|name | group |
---------- ---------------
|boss | department1 |
|assistant | department1 |
|employee | department1 |
|spy | department2 |
this is the... (0 Replies)
Discussion started by: elzalem
0 Replies
5. UNIX for Dummies Questions & Answers
i have two user named sourav and jishu.
i have created a file named source.txt in sourav.
i made another user called shovon.
i want to give read write permission of souce.txt for shovon but not for jishu.
how can i set permission only for jishu ? (1 Reply)
Discussion started by: sourav_ray
1 Replies
6. Solaris
hi frnds
can u explain
/etc/shadow file have read and write permissions for root only
but while normal user changes his passwd it also updated in that file whats the logic behind that. (2 Replies)
Discussion started by: sravan ega
2 Replies
7. Shell Programming and Scripting
Hi All,
https://www.unix.com/unix-advanced-expert-users/105758-chmod-parent-sub-directories.html
I have to change permission for the directories and subdirectories in single command
when googled i found some updates but i understand what is switch.
If there is a command please... (2 Replies)
Discussion started by: thelakbe
2 Replies
8. Shell Programming and Scripting
I have an application with the user mark and another user james is trying to run the application and ending up with file permission issues.
The user mark has set the umask as 002, I wanted to have a setting so that anyone can run the application without any file permission issues. Can anyone... (2 Replies)
Discussion started by: Muthuraj K
2 Replies
9. AIX
I'm trying to set the permission for the syslog log file in syslog,conf.
---------
The below is my configuration file
## example:
# "mail messages, at debug or higher, go to Log file. File must exist."
# "all facilities, at debug and higher, go to console"
# "all facilities, at crit or... (1 Reply)
Discussion started by: novaothers
1 Replies
10. HP-UX
Hi,
Could you please tell me the OS command to grant as similar to below permission?
rwxrwxr-x
OS -- HP-UX
Regards,
Maddy (8 Replies)
Discussion started by: Maddy123
8 Replies
LEARN ABOUT OSF1
fasthalt
fasthalt(8) System Manager's Manual fasthalt(8)
NAME
fasthalt - Halts the system
SYNOPSIS
/usr/sbin/fasthalt [-lnq]
DESCRIPTION
The fasthalt command halts the system and flags a subsequent reboot to skip the execution of fsck. The program creates the fastboot file,
then invokes the halt program. The system start-up script contains instructions to look for the fastboot file. If present, the script
removes the file and skips the invocation of the fsck command.
If the command is invoked without the -l, -n, or -q flag, the halt program logs the shutdown using the syslogd command and places a record
of the shutdown in the login accounting file, /var/adm/wtmp. Using the -q and the -n flags imply the -l flag.
You must have root privileges to use this command.
FLAGS
Does not log the halt using syslog. Prevents the sync before stopping, and does not log the halt using syslog. Causes a quick halt, does
not log the halt using syslog, and makes no attempt to kill all processes.
FILES
Specifies the command path Specifies the path of the syslog daemon
RELATED INFORMATION
Commands: fsck(8), halt(8), syslogd(8)
Functions: sync(2), syslog(3) delim off
fasthalt(8)