Oracle Solaris System Administration (MOSC)

MOSC Banner

Unable to switch to root user in Solaris 11.1

edited Nov 28, 2016 6:41PM in Oracle Solaris System Administration (MOSC) 3 commentsAnswered

Hi Experts,

We are not able to switch to root user from the normal user. We had a user (monitor) with root role, which is currently in locked.

$ roles monitor

root

$

No other have root role currently. In this scenario, how we can either unlock the user or can we directly login root with other method.

$ roles user1

No roles

$

$ su -

Password:

Roles can only be assumed by authorized users

su: Sorry

Version: 0.5.11 (Oracle Solaris 11.1.8.4.0)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center