zoukankan      html  css  js  c++  java
  • ldap

    Use phpldapadmin to generate the user and group

    Generate the Group

    login phpldapadmin

    click ou=Group

        click Create new entry here

          select Generic: Posix Group

             GID Number will be created automatic

            

    Generate the People

        click OU=People

          double click create new entry here

             select Generic: User Account

                    In the GID Number:  select the created group,

                    and then select the last name

                    login shell ...

            after finished, create object

    then check the created People for example

           double click buser1

                        buser1 should be in the group buser1

    login in with the root account in the ldap server

       in the /home/users create several directories,

       auser

       buser

    drwxr-x--- 14 auser    auser   4096 Apr 24 22:15 auser

    drwxrwx--- 14 buser1   auser   4096 Apr 24 22:15 buser1

    drwxrwx---  2 buser2   auser   4096 Apr 24 21:58 buser2

    drwxrwx---  2 buser3   auser   4096 Apr 24 21:58 buser3

    then login with buser1

  • 相关阅读:
    接上一篇:(四) 控制反转(IOC)/ 依赖注入(DI)
    日常踩坑-------新手使用idea
    聚集索引和非聚集索引的区别
    mysql锁
    常用算法
    sql join查询语句
    bitmap原理和redis bitmap应用
    nginx反向代理、负载均衡配置
    nginx工作模式
    PHP常用设计模式
  • 原文地址:https://www.cnblogs.com/greencolor/p/2469029.html
Copyright © 2011-2022 走看看