Forum Discussion
Veeram_75032
Feb 15, 2012Nimbostratus
Root / Admin account
Hi
How do I findout which one is my root account in the LTM from the list of users
Hamish
Feb 16, 2012Cirrocumulus
Mmm... This is one area where I was disappointed in the move from v4 to v9...
On v4 (BSD based) there were individual user accounts for the CLI. And each had a unique UID... And there was sudo do that you could customise what each user could do with bagpipe etc.
On v9 (Linux based) for some reason sudo was removed, and all CLI accounts get a UID of 0. WHich is roots UID. (So it you ssh in as for example user 'hamish' and type 'who am i' or 'w' you'll see that you're now the user 'root' (Because the kernel knows you're UID 0 and does a reverse lookup in /etc/passed for it and finds the first entry. Which is root.
As nitass says... The root user itself isn't shown in the GUI. You have to login to the CLI and cat /etc/passwd to see that.
admin by default doesn't have terminal/CLI access. So you can see that although there's an entry in /etc/passwd the shell is /bin/false.
(Surprisingly although admin users get a UID of 0, they still run things like postfix etc under their own UID).
H
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