Hi @michelvankessel ,
Did you take a look at the script?
Leaf1201# cat $(which setup-admin-ssh.sh)
#!/bin/bash
. /etc/isim_include
usr=`id -un `
if [ $usr == "root" ]; then
echo "\$5\$VavFBmOIPhCa90ck\$/Z99NUB126ofwGlDGXK.bzzxN9TlJgX7JxfSb4nmUg8" > /ifc/cfg/local-admin.pwd
else
bg_action /tmp/setup-admin-ssh
fi
digging deeper - take a look at /etc/isim_include
Leaf1201# cat /etc/isim_include
#! /bin/sh
. /etc/ins_card_index
...<snip 1050 lines>...
...this could go on for a LONG time
But at the end of the day, I suspect that if you are logged in as user root (which you can only do with TAC support) it creates a file /ifc/cfg/local-admin.pwd
with a temporary password.
So I think you can be sure that this script is only useful to TAC
RedNectar aka Chris Welsh.
Forum Tips: 1. Paste images inline - don't attach. 2. Always mark helpful and correct answers, it helps others find what they need.