solaris roles cannot login directly
1 oracle@solaris:~$ su - root 2 Password: 3 Oracle Corporation SunOS 5.11 11.2 June 2014 4 root@solaris:~# cat /etc/user_attr 5 # 6 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. 7 # 8 # The system provided entries are stored in different files 9 # under "/etc/user_attr.d". They should not be copied to this file. 10 # 11 # Only local changes should be stored in this file. 12 # 13 root::::type=role 14 oracle::::lock_after_retries=no;profiles=System Administrator;roles=root 15 root@solaris:~# rolemod -K type=normal root 16 root@solaris:~# cat /etc/user_attr 17 # 18 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. 19 # 20 # The system provided entries are stored in different files 21 # under "/etc/user_attr.d". They should not be copied to this file. 22 # 23 # Only local changes should be stored in this file. 24 # 25 oracle::::lock_after_retries=no;profiles=System Administrator;roles=root 26 root@solaris:~#