Difference between revisions of "Admin reference"

From ProgClub
Jump to: navigation, search
Line 14: Line 14:
 
= Etckeeper =
 
= Etckeeper =
  
Etckeeper is [https://www.progclub.org/pc/Charity_Admin#Setting_up_Etckeeper now installed] on [[Charity]], which means the correct procedure after making edits to files in /etc is to issue:
+
Etckeeper is [[Charity_Admin#Setting_up_Etckeeper|now installed]] on [[Charity]], which means the correct procedure after making edits to files in /etc is to issue:
  
 
  $ sudo etckeeper commit "my reasoning here"
 
  $ sudo etckeeper commit "my reasoning here"

Revision as of 10:50, 27 July 2011

Overview

See the Fleet of Machines for information about hosts on the ProgClub network.

If you're administering ProgClub assets, please document your actions on the wiki. See the relevant pages:

See Future Machine Names for the kind of stuff we're on about.

See, or update, Network Administration for work that needs to be done.

Etckeeper

Etckeeper is now installed on Charity, which means the correct procedure after making edits to files in /etc is to issue:

$ sudo etckeeper commit "my reasoning here"

after you're done with your changes. There's an auto commit every day, and an autocommit whenever you apt-get install something. You can manually commit your changes as above. To see the commit log for a particular file:

$ sudo bzr log /etc/passwd

TODO: explain how to revert unwanted or mistaken changes.

TODO: explain what to do if you want to check if there are any uncheckedin changes.