Avatar of janhoedt
janhoedt
 asked on

ZFS Solaris: roles cannot login directly

Hi,

I installed Oracle Solaris 11. Now I created a user during logon and try to logon via vm console. That gives me access denied. When I try via ssh, I cannot login either.
When I connect on console via root, it says that roles cannot login directly, "permission denied". I had similar issue before (after installing vnc but might be vnc is not involved).

100 percent positive about the password, can reinstall but want to avoid to do it again and again without knowing root cause.
Anybody had this experience also?

J.
VMware

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

If you have created a user and cannot login via the console, the username and password is incorrect.

you must use this user initial;y you have created and su to root, knowing the root password.

without modifications to Solaris OS, you cannot login at the console as root or login remotely via ssh as root either, unless you have reduced security configuration todo this, which means you need to login as a user, and then su to root.

check your spelling of password and syntax.
janhoedt

ASKER
I found this:
http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-112-s11-first-steps-524819.html
Was absolutely sure about password but might be qwerty azerty thing ...
Will reinstall and check again.

The installer asked you for only a single password, which is used as the password for both the root account and the initial user account. However, the root password is immediately expired, as you'll see if you try to switch to root:

larry@solaris:~$ su
Password:
su: Password for user 'root' has expired
New Password:
Re-enter new Password:
su: password successfully changed for root


GUI tools requiring administrator privileges will also prompt you for the root password initially and then explain that the root user has expired and a new password must be provided.
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
janhoedt

ASKER
Ok, that worked fine.
However, no I'm not able to set a static ip. I remembered last time there was an icon to change it and everything worked fine, now the icon isn't there.
I can go via administration but then in a submenu somewhere it tells me to do it commandline ... I'm trying to avoid command line as much as possible.

Please advise howto configure ip address of Solaris the fastest way/via gui(?)
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

I believe this question has been answered. If this question has been helpful please assign points. If you would like to post a new question, myself or other Experts will be glad to assist.