Unix Technical Forum

schg, /etc/security, and /var/backup

This is a discussion on schg, /etc/security, and /var/backup within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Hi All, Does anyone have a workaround for /etc/security to make it safely and securely backup etc files which ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:06 AM
Matt Harrington
 
Posts: n/a
Default schg, /etc/security, and /var/backup

Hi All,

Does anyone have a workaround for /etc/security to make it safely and
securely backup etc files which have the immutability flag set? It is
currently doing a `cp -p' which sets schg on the backup files making them
unwritable.

I understand that this largely is not an issue because files with the schg
flag set shoudn't be changing anyhow but on occasion I do tinker with
pf.conf and I am trying to find the 'right' way to handle /var/backup in
this case.

I have been tinkering with `tar - | tar -' to do the copy but I am not
sure of my ability to make safe, secure, and reliable shell scripts.

Anyone have input?

Thanks,
Matt Harrington

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:53 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com