[rancid] Re: fnrancid and Fortinet equipment
Eric Humphries
ehumphri at gmail.com
Mon Sep 18 19:13:17 UTC 2006
I have tried using the admin and a nonadmin account (bassically the
difference between the # and $ at the end of the prompt and it didn't seem
to matter. One thing that did bother me about the loginprompt was the space
between the hostname (prompt) and the # or $. I don't think there is a way
for me to eliminate that space - and I'm not sure how fnrancid handles it.
I haven't tried the noenable option in .cloginrc yet. I will try that and
get back to the list in the morning as I'm firewalled from my work laptop
from home.
I appreciate your responses. ;)
--
efk
On 9/18/06, Justin Sherrill <jsherrill at currentcomm.net> wrote:
>
> This seems similar to a problem I had:
>
>
>
> http://www.shrubbery.net/pipermail/rancid-discuss/2006-August/001685.html
>
>
>
> Basically: is there any other # characters in your login banner?
>
>
>
> Failing that: have you tried a "noenable" command in your /.cloginrc?
>
>
>
> -----------------------------------------
> Justin C. Sherrill - CURRENT Communications
> 220 Kenneth Drive
> Rochester, New York 14623
> P: 585.486.0549 F: 585.486.0030
> ------------------------------
>
> *From:* rancid-discuss-bounces at shrubbery.net [mailto:
> rancid-discuss-bounces at shrubbery.net] *On Behalf Of *Eric Humphries
> *Sent:* Sunday, September 17, 2006 4:49 PM
> *To:* Rancid-discuss at shrubbery.net
> *Subject:* [rancid] fnrancid and Fortinet equipment
>
>
>
> Hey guys,
>
> I'm using rancid on a FreeBSD 6.1-Stable box, and I'm trying to log into
> some fortinet equipment (more specifically a Fortigate 60M) using the
> fnrancid module.
>
> I'm able to manually use clogin to log into the firewall and it brings me
> to the prompt but immediately after the session freezes and I'm unable to
> type/run commands. Using rancid-run fails to run the commands as well so it
> appears to be something with how the script expects the login prompt to
> appear, possibly. The hostname I have on the device is "testdevice $" when I
> log in as a user and "testdevice #" when I log in with admin. There is not
> enable password required.
>
> I'm quite new to rancid (a few days) and I've searched around for help
> regarding this specific issue but I've yet to find anything that matches my
> problem well. I can provide information as necessary, just tell me what you
> need to see.
>
> Is there something I'm doing wrong that would cause the shell to hang?
> I've tried running rancid with tcsh, and sh - both with the same result.
>
> Thanks in advance for your suggestions.
> --
> efk
>
> ***CONFIDENTIALITY NOTICE***
> The information in this email may be confidential and/or privileged. This
> email is intended to be reviewed by only the individual or organization
> named above. If you are not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> review, dissemination or copying of this email and its attachments, if any,
> or the information contained herein is prohibited. If you have received this
> email in error, please immediately notify the sender by return email and
> delete this message from your system.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20060918/e64e879c/attachment.html
More information about the Rancid-discuss
mailing list