Mailing List Archive

CatOS & IOS w/out enable
Hello,
I'm trying to get clogin to work with Cisco IOS and CatOS. The user/pw I
want to use does not have enable privileges, but all I want to do is some
"show" commands. I have used the -noenable command line switch and the
clogin config. I am not sure what I seem to be doing wrong, but I keep
getting a "no enable password" error in (version 2.1b). The following is
the command as I am using it:

clogin -noenable -u myusername -p myuserpassword -c 'show int'
myrouter.mydomain.com

If I use a .cloginrc file, I use the following lines:

# customer x
# these routers ask for a username and password. we automatically get
# enable access after successful authentication.

add user *.myrouter.mydomain.com myusername
add password *.myrouter.mydomain.com myuserpassword

# add autoenable *.myrouter.mydomain.com 1

# the route-server's do not provide enable access. cmdline -noenable
# equivalent.
add noenable myrouter.mydomain.com 1

Saro Hayan
Network Operation
(520)626-4275
saro at arizona.edu