Discussion:
[rancid] Cant enable , privileged user with "#" pronpot
Piarres Beobide
2015-10-28 10:12:09 UTC
Permalink
Hello

first greet everyone and apologize for my low English


I want use rancid to manage large site configuration backups but I have a
problem with some Cisco devices.

To log in this devices we use a little privileged user an then we need to
enable to get configuration but the prompt for this user is "#" , I cant
change this log procedure and I think rancid not enable because the program
assumes that you already are enabled.


Searching the web I fount this solution [1], but I cant find the code to
change in clogin script.

Can any help me ?


[1] - http://networking-forum.com/viewtopic.php?t=16699
Jason Biel
2015-10-28 12:55:56 UTC
Permalink
Piarres,

Look here: http://www.shrubbery.net/rancid/man/cloginrc.5.html

Directives:
*add enableprompt <router name glob> {"<enable prompt>"}*

You may be able to modify the enableprompt to suit your needs.
Post by Piarres Beobide
Hello
first greet everyone and apologize for my low English
I want use rancid to manage large site configuration backups but I have a
problem with some Cisco devices.
To log in this devices we use a little privileged user an then we need to
enable to get configuration but the prompt for this user is "#" , I cant
change this log procedure and I think rancid not enable because the program
assumes that you already are enabled.
Searching the web I fount this solution [1], but I cant find the code to
change in clogin script.
Can any help me ?
[1] - http://networking-forum.com/viewtopic.php?t=16699
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
--
Jason
heasley
2015-12-02 21:56:56 UTC
Permalink
Post by Jason Biel
Piarres,
Look here: http://www.shrubbery.net/rancid/man/cloginrc.5.html
*add enableprompt <router name glob> {"<enable prompt>"}*
You may be able to modify the enableprompt to suit your needs.
that will not work; clogin will believe it is already enabled give the #
prompt.
Post by Jason Biel
Post by Piarres Beobide
Hello
first greet everyone and apologize for my low English
I want use rancid to manage large site configuration backups but I have a
problem with some Cisco devices.
To log in this devices we use a little privileged user an then we need to
enable to get configuration but the prompt for this user is "#" , I cant
change this log procedure and I think rancid not enable because the program
assumes that you already are enabled.
Searching the web I fount this solution [1], but I cant find the code to
change in clogin script.
Can any help me ?
i can offer two suggestions,
1) if it hurts, stop doing that. use a different user that either is not
enabled or is automatically fully enabled.
2) fully enable that user you have and use aaa authorization to limit what
it can do to include the stuff racnid runs.

Loading...