Forum Discussion
Tom_K_185554
Nimbostratus
Jan 26, 2018tmsh command to list all users in all partitions
Hello, anyone know the tmsh command syntax to list all users in all partitions ?
When I use "tmsh list auth user|grep auth"
it will list all the users but only from the Common partition and when I tr...
- Jan 26, 2018
Greetings,
If you have access to the advanced shell (bash), this should work:tmsh -c "cd /; list auth user" auth user bill { description bill encrypted-password !! partition Common partition-access { all-partitions { role no-access } } shell none } auth user john { description john encrypted-password !! partition Uncommon partition-access { all-partitions { role no-access } } shell none }Kevin
Kevin_K_51432
Jan 26, 2018Historic F5 Account
Greetings,
If you have access to the advanced shell (bash), this should work: tmsh -c "cd /; list auth user"
auth user bill {
description bill
encrypted-password !!
partition Common
partition-access {
all-partitions {
role no-access
}
}
shell none
}
auth user john {
description john
encrypted-password !!
partition Uncommon
partition-access {
all-partitions {
role no-access
}
}
shell none
}
Kevin
Tom_K_185554
Nimbostratus
Jan 28, 2018thanks for your prompt reply, not sure how to accept multiple answers but this answer is completely accepted.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects