solaris roles cannot login directly

 1 [email protected]:~$ su - root
 2 Password:
 3 Oracle Corporation      SunOS 5.11      11.2    June 2014
 4 [email protected]:~# 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 [email protected]:~# rolemod -K type=normal root
16 [email protected]:~# 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 [email protected]:~#
时间: 2024-08-05 17:46:39

solaris roles cannot login directly的相关文章

springboot配置文件application.properties

# =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline. Do NOT copy it in its # entirety to your own application. ^^^ # ===================================

玩转spring boot——properties配置

前言 在以往的java开发中,程序员最怕大量的配置,是因为配置一多就不好统一管理,经常出现找不到配置的情况.而项目中,从开发测试环境到生产环境,往往需要切换不同的配置,如测试数据库连接换成生产数据库连接,若有一处配错或遗漏,就会带来不可挽回的损失.正因为这样,spring boot给出了非常理想的解决方案——application.properties.见application-properties的官方文档:http://docs.spring.io/spring-boot/docs/curr

Spring boot配置文件application.properties

# =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline. Do NOT copy it in its # entirety to your own application.               ^^^ # =====================

shiro不重启动态加载权限

最近一朋友让我帮他做一个后台权限管理的项目.我就在我原来的项目加加改改但是还是不理想,查了不少资料也走了不了弯路...... shiro基本的配置我就不多说了这个很简单自己查查资料就完成----下面是基本的配置不多说,如果这个静态的都不会配置那么就没必要继续往下看了,要稍微了解一点shiro的知识.另外要想动态加载权限的--思路就是重写ShiroFilterFactoryBean类中的setFilterChainDefinitions()方法 <bean id="myShiro"

spring-boot默认的application.properties属性

# =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline. Do NOT copy it in its # entirety to your own application. ^^^ # ===================================

Spring Boot application.properties

1 # =================================================================== 2 # COMMON SPRING BOOT PROPERTIES 3 # 4 # This sample file is provided as a guideline. Do NOT copy it in its 5 # entirety to your own application. ^^^ 6 # =======================

Spring Boot 揭秘与实战 附录 - Spring Boot 公共配置

Spring Boot 公共配置,配置 application.properties/application.yml 文件中. 摘自:http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html # =================================================================== # COMMON SPRING

Spring Boot Common application properties(转载)

转自官方文档:http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html 版本:1.5.4.RELEASE # =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is pro

iptables 使用

------------实践----------------- 1 iptables -L -v shows (note the counts for INPUT and OUTPUT 2  iptables-save >/root/my.active.firewall.rules    iptables-restore </root/my.active.firewall.rules 3 删除一个 -L 显示当前的行号 -D 删除具体行数 iptabels -D INPUT -s 192.16