DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Security

FreeBSD Security Securing FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd May 2008
johny johny is offline
New User
 
Join Date: May 2008
Posts: 2
Default Manage changes in /etc

Hi !

I'am looking for a solution of problem manage /etc by system controle version. My problem is that any (git, mercurial, bazaar, svn) system controle version can't save file with privileges, attributes, owner, group, flags etc... so when I checkout or revert any file from repo i get bad privileges or owner :/ Is there any solution of this problem ?
Reply With Quote
  #2   (View Single Post)  
Old 22nd May 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

rsnapshot perhaps?
Quote:
Originally Posted by Their Site
Using rsync and hard links, it is possible to keep multiple, full backups instantly available. The disk space required is just a little more than the space of one full backup, plus incrementals.
Another option would be tar+crontab, not sure what else I can offer you..
Reply With Quote
  #3   (View Single Post)  
Old 23rd May 2008
johny johny is offline
New User
 
Join Date: May 2008
Posts: 2
Default

Thank you for fast forward ... I think about "dump" command too. Mayby I try to write VERY simple version controle system on tar / rsync / dump :P
Reply With Quote
  #4   (View Single Post)  
Old 23rd May 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

You may create repository and use CVS (or other versioning system) for configuration in /etc.

At lest use /etc/changelog flat file so other admins will know where to search for sollution
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #5   (View Single Post)  
Old 23rd May 2008
mousaka mousaka is offline
New User
 
Join Date: May 2008
Location: Switzerland
Posts: 4
Default

Why not use the revision control in the base system?

See BSD Tricks: Introductory Revision Control

mousaka
Reply With Quote
Reply

Tags
bazzar, git, svn

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

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
Best way to manage multiple freebsd servers? WaBBiT FreeBSD General 1 4th April 2009 10:37 PM


All times are GMT. The time now is 09:27 PM.


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