ZFS Solaris: roles cannot login directly

janhoedt
janhoedt used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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.

Author

Commented:
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.
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
that's all correct, that's Oracle Solaris.

Author

Commented:
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(?)
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial