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
Thanked 0 Times in 0 Posts
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.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
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
Thanked 0 Times in 0 Posts
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,052
Thanked 118 Times in 93 Posts
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
Thanked 1 Time in 1 Post
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 11:45 PM.


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