Forum Discussion

JotaCePena_1783's avatar
JotaCePena_1783
Icon for Nimbostratus rankNimbostratus
Mar 28, 2019

How to list all users included root and f5hubblelcdadmin

Hi Folks: How I can to list all users included root and f5hubblelcdadmin in big-ip LTM config?

 

we have an automatic tool to compare the changes of users in the big-ip configuration and this does not work well because the show run command does not show the users: root and f5hubblelcdadmin

 

please your help Thanks

 

1 Reply

  • Hi JotaCePena,

    you need to parse the

    bigip_user.conf
    directly to see the buildin accounts....

    [root@f501:Active:Standalone] /  cat /config/bigip_user.conf
    TMSH-VERSION: 13.1.0.8
    
    auth user admin {
        description "Admin User"
        partition-access {
            all-partitions {
                role admin
            }
        }
        shell none
    }
    auth user f5hubblelcdadmin {
        description f5hubblelcdadmin
        partition-access {
            all-partitions {
                role admin
            }
        }
        shell none
    }
    auth user root {
        description root
        shell bash
    }
    [root@f501:Active:Standalone] /  cat /config/bigip_user.conf | grep "auth user" | awk '{print $3}'
    admin
    f5hubblelcdadmin
    root
    [root@f501:Active:Standalone] /  
    

    Cheers, Kai