01-23-2005 11:40 PM - edited 03-10-2019 01:58 PM
Does the Shell Command Authorization Set allow the use of wild card?
For example, under shell command authorization set, what do i put in under arguments if I want to permit the command show interface fastethernet 0/1 to 24 to be executed?
And also, what do i put in as the argument for an ip address if I want to permit "ping x.x.x.x"?
Thanks in advance.
Solved! Go to Solution.
01-24-2005 02:55 AM
hi,
there are two wildcards used under Shell Command Authorization the first one is "^" sign which denotes whatever comes after this is accepted and the second wildcard is "$" which denotes whatever is before. In your case, you can use
Interface FastEthernet 0 1 ^
and
Ping ^
These commands would allow access to every Fastethernet and ping to any IP Addresss.
01-24-2005 02:55 AM
hi,
there are two wildcards used under Shell Command Authorization the first one is "^" sign which denotes whatever comes after this is accepted and the second wildcard is "$" which denotes whatever is before. In your case, you can use
Interface FastEthernet 0 1 ^
and
Ping ^
These commands would allow access to every Fastethernet and ping to any IP Addresss.
01-24-2005 04:37 AM
Hi,
Thanks. Just what i needed.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide