Shadow files and administrator access

I have a shadow file and I'd like to know who has administrator access to UNIX.

Included below is an example of how the shadow file looks like.

From my understanding, only root has administrative rights? Is this correct?

Also, is it possible to restrict users to login directly to the 'application' username? Can I require that users use the 'su' command to log into the account? Or are users always able to login to the 'application' account without having to 'su'?
application:x:5102:887:Application Accnt:/u01/app:/bin/ksh

Open in new window

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joseph GanSystem AdminCommented:
First of all this file looks like the password file not a shadow file, what OS is it?
By default in Unix/Linux, root has administrative right, so that is correct.
You can also restrict users to login as "application".
The file you show is /etc/passwd and not the shadow file.  /etc/shadow contains the encrypted passwords of the users.

Any user with UID 0 (3rd column in /etc/passwd) effective has root privs and can do anything they like on the system.  In your case, this is the default 'root' user.

Restricting direct login to the 'application' user depends on which *nix system you are using.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
OS Security

From novice to tech pro — start learning today.