Discussion:
[rancid] su - rancid password
Henry P Hardin
2011-10-05 15:37:45 UTC
Permalink
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.

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
Ryan West
2011-10-05 15:56:10 UTC
Permalink
Are you logged in as rancid or root?

Sent from handheld

On Oct 5, 2011, at 11:54 AM, Henry P Hardin <h-***@northwestern.edu<mailto:h-***@northwestern.edu>> wrote:

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.

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
john heasley
2011-10-05 16:05:25 UTC
Permalink
Post by 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.
Post by Henry P Hardin
# 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
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Continue reading on narkive:
Loading...