RE: [SLE] yast resetting permissions
Hi, Short version. YaST >> System administration >> change configuration file >> check_permissions change it to <no> Tim
-----Original Message----- From: stuarthall@mailandnews.com [SMTP:stuarthall@mailandnews.com] Sent: Thursday, January 27, 2000 1:54 PM To: suse-linux-e@suse.com Subject: [SLE] yast resetting permissions
A few weeks ago someone complained that Yast was resetting their permissions on their /var/log files. Well I have just run up against the same problem, and even though I changed permissions in /etc/permissions, suse.config still likes to overright my /var/log/messages with root owner and root user.
thanks in advance, Stuart aka vwpassat on IRC.
p.s. Thx kepe - procmail is working perfectly. Thx. Dren, the softlink to /var/spool/mail/$USER is an awesome solution. The power of IRC! ;-)
-- Stuart Hall Cheshire, Connecticut, USA Linux User# 141732
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Why not just change the permission and ownership in /etc/logfiles? Avi Tim Duggan wrote:
Hi, Short version. YaST >> System administration >> change configuration file >> check_permissions change it to <no>
Tim
-----Original Message----- From: stuarthall@mailandnews.com [SMTP:stuarthall@mailandnews.com] Sent: Thursday, January 27, 2000 1:54 PM To: suse-linux-e@suse.com Subject: [SLE] yast resetting permissions
A few weeks ago someone complained that Yast was resetting their permissions on their /var/log files. Well I have just run up against the same problem, and even though I changed permissions in /etc/permissions, suse.config still likes to overright my /var/log/messages with root owner and root user.
thanks in advance, Stuart aka vwpassat on IRC.
p.s. Thx kepe - procmail is working perfectly. Thx. Dren, the softlink to /var/spool/mail/$USER is an awesome solution. The power of IRC! ;-)
-- Stuart Hall Cheshire, Connecticut, USA Linux User# 141732
-- Avi Schwartz Get a Life avi@CFFtechnologies.com Get Linux -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Avi Schwartz wrote:
Why not just change the permission and ownership in /etc/logfiles?
Because Yast will set them back to what it thinks is correct (unless you explicitly tell it not to by turning off the configuration variable CHECK_PERMISSIONS). Paul Abrahams -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Tim Duggan wrote:
Short version. YaST >> System administration >> change configuration file >> check_permissions change it to <no>
-----Original Message----- From: stuarthall@mailandnews.com [SMTP:stuarthall@mailandnews.com] Sent: Thursday, January 27, 2000 1:54 PM To: suse-linux-e@suse.com Subject: [SLE] yast resetting permissions
A few weeks ago someone complained that Yast was resetting their permissions on their /var/log files. Well I have just run up against the same problem, and even though I changed permissions in /etc/permissions, suse.config still likes to overright my /var/log/messages with root owner and root user.
Hmmm. I thought that /etc/permissions contains the list of ``correct'' permissions that Yast uses. Is such a list elsewhere? Turning off CHECK_PERMISSIONS tells Yast not to look in /etc/permissions at all and seems to me like overkill. Better would be to modify /etc/permissions to contain the permissions you want (which seems to be what Stuart did) and then let Yast do its thing on the various permissions hither and yon. Paul Abrahams -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Thu, 27 Jan 2000, Paul W. Abrahams wrote:
Hmmm. I thought that /etc/permissions contains the list of ``correct'' permissions that Yast uses. Is such a list elsewhere? Turning off CHECK_PERMISSIONS tells Yast not to look in /etc/permissions at all and seems to me like overkill. Better would be to modify /etc/permissions to contain the permissions you want (which seems to be what Stuart did) and then let Yast do its thing on the various permissions hither and yon.
Logfiles are handled in /etc/logfiles. This file also contains the correct permissions and ownerships for these files. A cron job (/etc/cron.daily/aaa_base) takes care of setting these permissions and log rotation. Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer 90443 Nuernberg, Germany -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Lenz Grimmer wrote:
Logfiles are handled in /etc/logfiles. This file also contains the correct permissions and ownerships for these files. A cron job (/etc/cron.daily/aaa_base) takes care of setting these permissions and log rotation.
In other words, if I want permissions other than those listed in /etc/logfiles, I should modify /etc/logfiles - right? For example, I want everyone to be able to read /var/log/messages so I should set its mode to 644 in that file. If I do make changes to /etc/logfiles, will that cause the modes to be changes accordingly on the next system startup? Paul Abrahams -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Fri, 28 Jan 2000, Paul W. Abrahams wrote:
Logfiles are handled in /etc/logfiles. This file also contains the correct permissions and ownerships for these files. A cron job (/etc/cron.daily/aaa_base) takes care of setting these permissions and log rotation.
In other words, if I want permissions other than those listed in /etc/logfiles, I should modify /etc/logfiles - right?
No, you should edit /etc/permissions in that case :)
For example, I want everyone to be able to read /var/log/messages so I should set its mode to 644 in that file.
Since /var/log/messages is a logfile, you should edit /etc/logfiles instead. You should not have it listed in both files, since this will certainly lead to confusion, especially if you use different permissions in these files ;)
If I do make changes to /etc/logfiles, will that cause the modes to be changes accordingly on the next system startup?
No, they will be changed the next time the cron job has been run (once a day). If you want to have them changed now, you could either set them manually to the value in /etc/logfiles or /etc/permissions, or you could execute /etc/cron.daily/aaa_base manually. If you changed the permissions in /etc/permissions, run SuSEconfig to apply and check the permissions and ownerships. Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer 90443 Nuernberg, Germany -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
May I also suggest looking at /etc/logfiles. On Fri, 28 Jan 2000, Tim Duggan wrote:
Hi, Short version. YaST >> System administration >> change configuration file >> check_permissions change it to <no>
Tim
-----Original Message----- From: stuarthall@mailandnews.com [SMTP:stuarthall@mailandnews.com] Sent: Thursday, January 27, 2000 1:54 PM To: suse-linux-e@suse.com Subject: [SLE] yast resetting permissions
A few weeks ago someone complained that Yast was resetting their permissions on their /var/log files. Well I have just run up against the same problem, and even though I changed permissions in /etc/permissions, suse.config still likes to overright my /var/log/messages with root owner and root user.
thanks in advance, Stuart aka vwpassat on IRC.
p.s. Thx kepe - procmail is working perfectly. Thx. Dren, the softlink to /var/spool/mail/$USER is an awesome solution. The power of IRC! ;-)
-- Stuart Hall Cheshire, Connecticut, USA Linux User# 141732
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Ill put something here when I have the time. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (5)
-
abrahams@mbs.valinet.com
-
avi@CFFtechnologies.com
-
grimmer@suse.de
-
nagash@ozemail.com.au
-
tduggan@dekaresearch.com