[rancid] su - rancid password

john heasley heas at shrubbery.net
Wed Oct 5 16:05:25 UTC 2011

Wed, Oct 05, 2011 at 03:37:45PM +0000, Henry P Hardin:
> Hi guys,
> I'm following the Rhys Evans linux install doc.  I'm installing in /var/rancid-2.3.6 rather than /usr/local/rancid but other than that following the notes.
> My problem is that in step 18 when I run the /var/rancid-2.3.6/bin/clogin I get an error: password file (/home/hph839/.cloginrc) does not exist.
> This is my home directory.  I thought it would look for .cloginrc in /var/rancid-2.3.6/.cloginrc as I put it there per step 9) of the doc.

its in ${HOME}/.cloginrc, so if you're running it as yourself or root (and
your environment is inheritted), it will look there.  if you were logged in
as the user who will run rancid, it will look in that users' homedir.

you can ln -s /var/rancid-whatever/.clogin ~ assuming you have common
unix group membership.

> I notice in the code of /var/rancid-2.3.6/clogin the password file is set as follows:
> # Password file
> set password_file $env(HOME)/.cloginrc
> ------------
> I assume I could set this value to /var/rancid-2.3.6/.cloginrc but I think I this shouldn't be necessary.
> I populated the LIST_OF_GROUPS in step 10 from an earlier version of Rancid as well as the password files in step 17.  Unfortunately the guy who installed the previous version is gone and he left no documentation.
> Sorry for the length of this.  I appreciate any information you guys can share.
> Thanks,
> Pat
> ---------------------
> Pat Hardin
> Monitor
> Cyberinfrastructure - MMS
> Northwestern University
> 1-847-467-1387  Office

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

More information about the Rancid-discuss mailing list