How To Enable‘root’Account Login Solaris 11 Directly

In oracle solaris 11,a powerful role that is equivalent to the root user.However, this root cannot log in.A regular user must log in, then assume the assigned root role. This role is configured by default.when you use root account login directly,you'll get "Roles can not login directly" error.When you install solaris 11,you must create a normal user,it has Administrative Rights.To validate normal user,you can check /etc/user_attr file:

image

or use following command:

image

Change the root Role Into a User

Before you begin,you must be assigned the UserManagement and User Security rights profiles.

1.Remove the root role assignment fromlocal users:

In my system,i had one user candon has root roles,so i remove the role assignment from it.

image

After,you can check the /etc/user_attr file again to validate or use command:

image

2.Change the root role into a user:

image

Now,you can use root account login directly and normal user candon didn't have root roles.

For more information:

                   1.Oracle Solaris Administration: Security Services

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值