![]() You should see something similar (numbers may be different): uid=1002(rancid) gid=1002(rancid) groups=1002(rancid) If you are not sure simply type "id" on the command line at any time.įrom a root prompt ("#"), switch identity to become the 'rancid' user: # su - rancid Pay very close attention to what userid you are using during the rest of these exercises. Set Rancid log folder permission to "rancid" user # chown -R rancid:rancid /var/log/rancid Change to the rancid user CRITICAL! CRITICAL! CRITICAL! CRITICAL! CRITICAL! CRITICAL! CRITICAL! CRITICAL! CRITICAL! Set Rancid folder permission to "rancid" user # chown -R rancid:rancid /var/lib/rancid We will proceed with creating "rancid" user in the system # useradd -d /var/lib/rancid -s /bin/bash rancid We want to use Subversion for our Version Control System, and not CVS, so find the line with the parameter RCSSYS: RCSSYS=cvs export RCSSYSĪnd, change it to: RCSSYS=svn export RCSSYS (with no '#' at the front of line, and aligned to the left)įind the line with CVSROOT: CVSROOT=$BASEDIR/CVS export CVSROOTĪnd, change it to: CVSROOT=$BASEDIR/svn export CVSROOT #LIST_OF_GROUPS="sl joebobisp" export LIST_OF_GROUPSĪnd, underneath them add the following line: LIST_OF_GROUPS="routers" Save the file, then run: # newaliases Configure rancidĮdit /etc/rancid/nf # nano /etc/rancid/nfįind these lines in nf: # list of rancid groups # nano /etc/aliasesĪdd the following entries. We want them to be sent to the sysadm user instead and use the alias function for this. RANCID by default sends emails to the users rancid-groupname and rancid-admin-groupname. We have no data, so select and press ENTER to continue.Īdd an alias for the rancid user in /etc/aliases file
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |