DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 29th October 2017
acampbell acampbell is offline
Real Name: Anthony Campbell
Shell Scout
 
Join Date: Sep 2014
Location: London, UK
Posts: 138
Default Security problem with permission

The cups package creates an /etc/printcap link with permission 0755. The daily run of the security script says that this should be 0644. I can reset this, of course, but it reverts to the default on the next upgrade of cups.

Alternatively, I can edit /etc/mtree/special to accept 0755 but this is lost when I upgrade the base system.

The security man page says:
security also provides hooks for administrators to create their own lists. These lists should be kept in /etc/mtree/ and filenames must have the suffix “.secure”.
And it gives examples of entries. So I made a file called "/etc/mtree/printcap.secure" with the line: "chmod 0644 /etc/printcap" but this doesn't help. Perhaps I misunderstood the example.

So far the only work-around I've found is to make an entry in root's crontab to change the permission every night. This works but doesn't seem very elegant.

Can anyone suggest what I'm doing wrong?

Last edited by acampbell; 29th October 2017 at 09:47 AM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Security problem in VMware vSphere 5 J65nko News 0 31st May 2012 08:13 AM
Security problem in PuTTY SSH client fixed J65nko News 0 12th December 2011 04:26 PM
security LOG problem paul-lkw FreeBSD General 5 9th July 2009 05:05 AM
Samba + Ldap... permission problem coppermine FreeBSD General 3 13th October 2008 10:00 AM
Apache Problem ( Permission ) dctr FreeBSD General 8 27th May 2008 09:48 PM


All times are GMT. The time now is 05:13 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick