Skip to content

MPLS is a user account tool for LDAP written in Python. It stands-out of other LDAP software because it handles NIS-netgroups, Autofs nfs exports and has a transaction undo feature. Futhermore is menu-driven but also console based by usage of curses and each helper is also a commandline tool.

Notifications You must be signed in to change notification settings

masikh/Masikh-Python-LDAP-Suite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

User manual for Masikh's Python LDAP Suite (MPLS)

Screenshots

Some menu's

Add Multiple users

contents:

Every item within brackets is user input.
E.g. [fbeek], in this case 'fbeek' is user input (without the brackets!!!).

MPLS is a user account tool for LDAP. It stands-out of other LDAP software because it handles NIS-netgroups and has a transaction undo feature.

MPLS is meant as a unified tool for LDAP manipulations. Unified means that it's build to accommodate the needs of 'users', 'help-desk' and 'system- administrators.' MPLS tries to simplify standard daily tasks but also the somewhat complex tasks. E.g. renaming a user and make sure its (net-)group memberships are preserved. Every transaction made to the LDAP database from MPLS is logged and made undo-able. Thus if you delete a user or some- thing else you can easily undo this. This is part of the philosophy of MPLS.

Another philosophy behind MPLS is: Every helper-program should be callable from MPLS and the CLI. Every helper-program (helpers) has a set of 'command-line arguments' you can set. This is obviously not needed when you call these helpers from within MPLS. Because every helper is a stand- alone unit (like UNIX tools) MPLS is easily expendable.

There is a unified menu-structure which is trivially expandable with new items. The menu-structure as such has nothing to do with MPLS as whole but is rather a convenient method of presenting helpers to a user. See chapter 'Further Development' for more in-depth information.

MPLS is by no means a complete product. It aims at taking away the burden of repetitive account tasks and delegating tasks to appropriate skilled personnel.

MPLS has no security whatsoever. The security of this tool is handled by the mechanisms already in place on the target systems. E.g. You can access this tool via SSH protocol (Just make it the default shell of a 'special user'). SSH is charged with the security not MPLS! Every connection made to the LDAP server is done with the security measures imposed by the LDAP server itself (e.g. SSL/TLS) not MPLS. The philosophy of MPLS is: Make security not the problem of MPLS but that of the systems MPLS interacts with.

Moving around in the program can be done in several ways

  • Hot keys. Hot keys are marked as red letters. Typing such a let- ter will automaticly select the appropriate menu item within the current sub menu.

  • Arrow keys. Arrow keys can be used to navigate through the menu- structure. Note the behavior of the arrow keys change between horizontal and vertical menus. E.g. In a horizontal menu (top- menu) the down-arrow opens an item but in a vertical menu the right-arrow opens a menu-item.

Through out the whole program there is a consistent color usage.

  • Text in the color RED always means an action or a warning. E.g.
    Enter username: ....

  • Text in the color WHITE is informational in nature. E.g.
    Bread-crumbs at the bottom of the screen.

  • Blocked text in the color WHITE means your current active menu item. E.g.
    Query by (part of) username

Through out the whole program you can easily see where you are in terms of the menu-structure. Every step in the menu-structure will leave a bread-crumb. Thus it leaves a trail. These crumbs are printed in the left-bottom of the screen. If the trail gets to long, the begin is truncated as dots

Every editable item in this program (e.g. enter username:) is validated on proper input. This works mostly but probably not always, be warned! If a user enters an invalid input, the user gets a warning. This warning looks like:

(Wrong input: Use -.+=, a-z A-Z 0-9 only)

This warning is displayed at the bottom of the active screen in the color RED

Most of the time people are 'just browsing around' through the program. If you enter one of the sub-modules (e.g. Add user) you can simply bail out by pressing [esc] or give empty input (e.g. [enter])

MPLS has been designed to work in a standard 'telnet' window. These windows are typically 80 characters wide and 24 lines long (80x24). A larger window is not a problem, but MPLS WILL CRASH if you make the terminal window smaller than 80x24. This has nothing to do with MPLS but rather the underlying (n)Curses interface.

MPLS has five top-level menu items: Search, Modify, Login, Help and Exit. The two most important are Search and Modify.

  • Search: In this menu you can query for user, group or NIS-netgroups items. Furthermore, you can query all transactions/modifications on the LDAP database via MPLS.

  • Modify: In this menu you can modify user(s), group(s) and NIS-Netgroups. Furthermore, you can query, view and undo transactions/modifications on the LDAP database via MPLS.

  • Login: From here you can bind to a LDAP server other then the default server. (The Default server is configured in the MPLS environment file; environment.py)

  • Help menu: You can browse through these help-pages.

  • Exit: Every program needs a stop condition. This is the one!

In this menu you can query for user, group or NIS-netgroups items. Furthermore, you can query all transactions/modifications on the LDAP database via MPLS.

In this sub menu you can query for a user or user specific items.

With this helper you can look-up an username if you only know part of its name.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Query by (part of) username                                                β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: re                                                         β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > User > By part of username]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚dn: uid=aandreye,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=areuneke,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=bbourdre,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=bcarels,ou=People,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: uid=bharensl,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=birrer,ou=People,dc=unix,dc=example,dc=nl                           β”‚β”‚
β”‚β”‚dn: uid=ccremers,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=csre,ou=People,dc=unix,dc=example,dc=nl                             β”‚β”‚
β”‚β”‚dn: uid=csuares,ou=People,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: uid=cveffere,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=cvissere,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=eparren,ou=People,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: uid=ereehuis,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=eschreud,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=evreeswi,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=fbigarel,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=ftreurni,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
β”‚β”‚dn: uid=fvgemere,ou=People,dc=unix,dc=example,dc=nl                         β”‚β”‚
│└─[use arrow keys for scrolling or [ESC] for quit]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > User > By part of username]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

With this helper you can lookup all attributes of a single user.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Query user Information                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: robert                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > User > Information]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚dn: uid=robert,ou=People,dc=unix,dc=example,dc=nl                           β”‚β”‚
β”‚β”‚employeeType: Staff                                                         β”‚β”‚
β”‚β”‚cn: Robert                                                                  β”‚β”‚
β”‚β”‚objectClass: inetOrgPerson                                                  β”‚β”‚
β”‚β”‚objectClass: posixAccount                                                   β”‚β”‚
β”‚β”‚objectClass: shadowAccount                                                  β”‚β”‚
β”‚β”‚loginShell: /bin/bash                                                       β”‚β”‚
β”‚β”‚uidNumber: 11010                                                            β”‚β”‚
β”‚β”‚gidNumber: 100                                                              β”‚β”‚
β”‚β”‚gecos: Robert Nagtegaal                                                     β”‚β”‚
β”‚β”‚sn: Nagtegaal                                                               β”‚β”‚
β”‚β”‚homeDirectory: /home/robert                                                 β”‚β”‚
β”‚β”‚uid: robert                                                                 β”‚β”‚
β”‚β”‚employeeNumber: 100.11010                                                   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[use arrow keys for scrolling or [ESC] for quit]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > User > Information]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Note: employeeNumber is either a concatenation of gidNumber and uidNumber or a student registration number.

With this helper you can lookup all exports for this user known in the LDAP database. Thus all autofs entries.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Query Autofs                                                               β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: robert                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > User > Autofs entries]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Query Autofs                                                               β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: robert                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ dn: cn=robert,ou=auto.home,ou=Autofs,dc=unix,dc=example,dc=nl              β”‚β”‚
β”‚β”‚ -soft,intr,nosuid nfs-01:/users/beheer:&                                   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ dn: cn=/scratch,ou=auto.direct,ou=Autofs,dc=unix,dc=example,dc=nl          β”‚β”‚
β”‚β”‚ scratch.example.nl:/scratch                                                β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ dn: cn=/var/spool/mail,ou=auto.direct,ou=Autofs,dc=unix,dc=example,dc=nl   β”‚β”‚
β”‚β”‚ mail.example.nl:/var/spool/mail                                            β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ dn: cn=/appl,ou=auto.direct,ou=Autofs,dc=unix,dc=example,dc=nl             β”‚β”‚
β”‚β”‚ nfs-01.example.nl,nfs-02.example.nl:/appl                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > User > Autofs entries]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Note: The user 'Robert' has one home-directory and three other exports, /scratch, /var/spool/mail and /appl. The respective exporting servers are: nfs-server01 and nfs-server02.

In this menu you can query group information. You can show all available groups, the groups a user is member of and the users in a certain group.

With this helper you can lookup all groups

Example usage:

Use your arrow keys to scroll through all available groups and use escape to exit this helper.

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚dn: cn=acmmm,ou=Group,dc=unix,dc=example,dc=nl                              β”‚β”‚
β”‚β”‚dn: cn=admin,ou=Group,dc=unix,dc=example,dc=nl                              β”‚β”‚
β”‚β”‚dn: cn=addoc,ou=Group,dc=unix,dc=example,dc=nl                              β”‚β”‚
β”‚β”‚dn: cn=adrap,ou=Group,dc=unix,dc=example,dc=nl                              β”‚β”‚
β”‚β”‚dn: cn=alui,ou=Group,dc=unix,dc=example,dc=nl                               β”‚β”‚
β”‚β”‚dn: cn=sparc,ou=Group,dc=unix,dc=example,dc=nl                              β”‚β”‚
β”‚β”‚dn: cn=csbt,ou=Group,dc=unix,dc=example,dc=nl                               β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[use arrow keys for scrolling or [ESC] for quit]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Group > Show all groups]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

With this helper you can lookup groups assign to a user.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Query groups by user                                                       β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: robert                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Group > By user name]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚gidNumber Primairy group DN for user robert                                 β”‚β”‚
β”‚β”‚--------- -------------------------------------                             β”‚β”‚
β”‚β”‚100       dn: cn=staff,ou=Group,dc=unix,dc=example,dc=nl                    β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚gidNumber Non-primary groups DNs for user robert                            β”‚β”‚
β”‚β”‚--------- -------------------------------------                             β”‚β”‚
β”‚β”‚105       dn: cn=ctd,ou=Group,dc=unix,dc=example,dc=nl                      β”‚β”‚
β”‚β”‚11100     dn: cn=admin,ou=Group,dc=unix,dc=example,dc=nl                    β”‚β”‚
β”‚β”‚11186     dn: cn=stud,ou=Group,dc=unix,dc=example,dc=nl                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[use arrow keys for scrolling or [ESC] for quit]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Group > By user name]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Note: In this example the user 'robert' has primary group
'staff' with gidNumber '100' and three secondary groups.

With this helper you can lookup members of a given group.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Query group by name                                                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter groupname: csdale                                                    β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Group > By group name]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚Members of group csdale (gidNumber: 11158)                                  β”‚β”‚
β”‚β”‚-------------------------------------                                       β”‚β”‚
β”‚β”‚memberUid: csdale                                                           β”‚β”‚
β”‚β”‚memberUid: tcocx                                                            β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[use arrow keys for scrolling or [ESC] for quit]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Group > By group name]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Note: In this example there are two members of the group 'csdale' being 'csdale' itself and 'tcocx'. Furthermore the gidNumber of 'csdale' is 11158.

In this sub menu you can query for netgroup information. Analogue to the 'Search -> Group' menu there is an option to view all netgroups, show user/host membership of a netgroup and child groups of a netgroup.

This helper gives a list of all available netgroups.

Example usage:

Use your arrow keys to scroll through all available groups and use escape to exit this helper.

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚dn: cn=cd000a,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000b,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000c,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000d,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000e,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000f,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000g,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000h,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000i,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000j,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000k,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000l,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000m,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
β”‚β”‚dn: cn=cd000n,ou=Netgroup,dc=unix,dc=example,dc=nl                          β”‚β”‚
│└─[use arrow keys for scrolling or [ESC] for quit]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Netgroup > Show all netgroups]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

This helper shows the netgroups a user is member of.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Query netgroup membership                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: robert                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Netgroup > Show Membership]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚dn: cn=sh,ou=Netgroup,dc=unix,dc=example,dc=nl                              β”‚β”‚
β”‚β”‚dn: cn=sun,ou=Netgroup,dc=unix,dc=example,dc=nl                             β”‚β”‚
β”‚β”‚dn: cn=stoeidoos,ou=Netgroup,dc=unix,dc=example,dc=nl                       β”‚β”‚
β”‚β”‚dn: cn=pc56a,ou=Netgroup,dc=unix,dc=example,dc=nl                           β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[use arrow keys for scrolling or [ESC] for quit]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Netgroup > Show Membership]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Note: In this example the user fbeek is a member of the netgroups 'sun', 'pc156a', 'pc409a', 'users-pc306 and 'users-pc302'. All hosts in sun, pc156a etc..are hosts the user fbeek has access to.

This helper shows all information of a given netgroup.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Query netgroup information                                                 β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter netgroup: users-pc302                                                β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Netgroup > Information]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚Distinguished name of netgroup users-pc302                                  β”‚β”‚
β”‚β”‚-------------------------------------                                       β”‚β”‚
β”‚β”‚dn: cn=users-pc302,ou=Netgroup,dc=unix,dc=example,dc=nl                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚Member nis-groups of nis-group users-pc302                                  β”‚β”‚
β”‚β”‚-------------------------------------                                       β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚Host triples in netgroup                                                    β”‚β”‚
β”‚β”‚-------------------------------------                                       β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚User triples in netgroup                                                    β”‚β”‚
β”‚β”‚-------------------------------------                                       β”‚β”‚
β”‚β”‚(-,akacar,)   (-,aleman,)    (-,adrye,)    (-,anding,)                      β”‚β”‚
β”‚β”‚(-,aton,)     (-,assink,)    (-,abcaan,)   (-,baggio,)                      β”‚β”‚
β”‚β”‚(-,ahaki,)    (-,agia,)      (-,abijla,)   (-,bom,)                         β”‚β”‚
β”‚β”‚(-,aogert,)   (-,aman,)      (-,araghi,)   (-,acvuog,)                      β”‚β”‚
β”‚β”‚(-,aervel,)   (-,achaib,)    (-,achine,)   (-,aclair,)                      β”‚β”‚
β”‚β”‚(-,acomy,)    (-,adarv,)     (-,aroot,)    (-,ajonge,)                      β”‚β”‚
│└─[use arrow keys for scrolling or [ESC] for quit]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Netgroup > Information]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Note: In this example there are only user 'triples' in the netgroup 'users-pc302'. If we would lookup netgroup 'pc302a' we can observe that is only has one member nis-group, 'users-pc302'. Using this mechanism users and hosts are bind-ed together.

Every modification from MPLS to a LDAP database is logged in a transaction. Of every transaction made, there is also an undo file created. This means that every transaction should be un-doable.

This helper gives an overview of all write-transactions from MPLS to the LDAP database. Each column in the overview gives specific information about the transaction

TID: Transaction identification number. It's a UNIX date-stamp in seconds (thus always incrementing!)
Entity: The user, group or netgroup which is modified.
Date: The transaction date (computed from the TID)
Type: The type of modification made. E.g. add-grp (a unix group is added), multiple-user-add (a bunch of users was created) etc...
Action: There are three types of actions:
done: This is a transaction done somewhere in the past.
undo: For every transaction there exists an undo file. The undo transaction is not committed (yet) to the LDAP server but can be used to undo a past transaction.
reverted: These are the undo transactions which has been committed. Thus if you commit an undo transaction it becomes a reverted transaction.

Example usage:

Use your arrow keys to scroll through all available transactions. Press enter to view the highlighted entry and escape to leave the helper.

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Show transaction                                                           β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Transaction  Entity   Date                      Type               Action  β”‚β”‚
β”‚β”‚ ────────────────────────────────────────────────────────────────────────── β”‚β”‚
β”‚β”‚ 1364222906   robert   Mon Mar 25 15:48:26 2013  modify_user        reverte β”‚β”‚
β”‚β”‚ 1364222906   robert   Mon Mar 25 15:48:26 2013  modify_user        done    β”‚β”‚
β”‚β”‚ 1364220092   qwertyngpMon Mar 25 15:01:32 2013  del_netgroup_from_ done    β”‚β”‚
β”‚β”‚ 1364220092   qwertyngpMon Mar 25 15:01:32 2013  del_netgroup_from_ undo    β”‚β”‚
β”‚β”‚ 1364220084   users-silMon Mar 25 15:01:24 2013  del_netgroup_from_ done    β”‚β”‚
β”‚β”‚ 1364220084   users-silMon Mar 25 15:01:24 2013  del_netgroup_from_ undo    β”‚β”‚
β”‚β”‚ 1364220061   stoeidoosMon Mar 25 15:01:01 2013  del_host_from_netg undo    β”‚β”‚
β”‚β”‚ 1364220061   stoeidoosMon Mar 25 15:01:01 2013  del_host_from_netg done    β”‚β”‚
β”‚β”‚ 1364220026   robert-qwMon Mar 25 15:00:26 2013  add_user_to_netgro done    β”‚β”‚
β”‚β”‚ 1364220026   robert-qwMon Mar 25 15:00:26 2013  add_user_to_netgro undo    β”‚β”‚
β”‚β”‚ 1364219969   users-silMon Mar 25 14:59:29 2013  add_netgroup_to_ne undo    β”‚β”‚
β”‚β”‚ 1364219969   users-silMon Mar 25 14:59:29 2013  add_netgroup_to_ne done    β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Usage: [ESC] abort [ENTER] Show transaction]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Search > Transactions ]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The modify menu enables you to modify user, group and netgroup properties. Furthermore you can view and UNDO past modifications of the LDAP database done via the MPLS software.

In this submenu you can add or delete a user. Change a users password, modify its attributes. Adding users in a batch process can be done with the 'Add multiple users' helper.

With the 'Add user' helper you can add a new user to the LDAP database. This helper will assign a primary group of choice, a login shell, uidNumber, employeeNumber, gecos, homedirectory, common name and automount export. All these items are free selectable from predefined list (where applicable) or free text fields.

Example usage:

First enter a new (free) username.

NOTE: If the username is not free, a warning will be issued and the helper will abort all actions! (e.g. ERROR: User robert already exists!)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Add user                                                                   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter new username: masikh                                                 β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Add user]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

After you press enter the following screen will appear:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Add user                                                                   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚*employeeType:         Student                                              β”‚β”‚
β”‚β”‚ uid:                  masikh                                               β”‚β”‚
β”‚β”‚ loginShell:           /bin/tcsh                                            β”‚β”‚
β”‚β”‚*uidNumber:            6929                                                 β”‚β”‚
β”‚β”‚*employeeNumber:       500.6929                                             β”‚β”‚
β”‚β”‚*gidNumber:            500                                                  β”‚β”‚
β”‚β”‚*gecos:                Masikh Masih                                         β”‚β”‚
β”‚β”‚*sn:                   Masih                                                β”‚β”‚
β”‚β”‚ homeDirectory:        /home/masikh                                         β”‚β”‚
β”‚β”‚*automountInformation: -soft,intr,nosuid nfs-01:/users/14/student:&         β”‚β”‚
β”‚β”‚*cn:                   Masikh                                               β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press [ESC] when done, [arrow keys] to select and [enter] to edit.]β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Add user]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

If you change the employeeType, the uidNumber, employeeNumber and gidNumber will change accordingly. (Use arrow keys to select!)

Example:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Add user                                                                   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚*employeeType:         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                       β”‚β”‚
β”‚β”‚ uid:                  β”‚ CS-Account β”‚                                       β”‚β”‚
β”‚β”‚ loginShell:           β”‚ CDH        β”‚                                       β”‚β”‚
β”‚β”‚*uidNumber:            β”‚ Bijvak     β”‚                                       β”‚β”‚
β”‚β”‚*employeeNumber:       β”‚ Student    β”‚                                       β”‚β”‚
β”‚β”‚*gidNumber:            β”‚ Gast       β”‚                                       β”‚β”‚
β”‚β”‚*gecos:                β”‚ Staff      β”‚                                       β”‚β”‚
β”‚β”‚*sn:                   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                       β”‚β”‚
β”‚β”‚ homeDirectory:        /home/masikh                                         β”‚β”‚
β”‚β”‚*automountInformation: -soft,intr,nosuid nfs-01:/users/14/student:&         β”‚β”‚
β”‚β”‚*cn:                   Masikh                                               β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Use [arrows] to navigate and [enter] to select.]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Add user]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

NOTE: An asterix ' * ' will appear before each changed user attribute.

If you change the automountInformation attribute a list of autofs exports will be presented. Please choose the appropriate export for the new user with you arrow keys and press enter to select.

Example:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Select export for account                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ HINT: Older exports (before 2013) are at the bottom!                       β”‚β”‚
││────────────────────────────────────────────────────────────────────────────││
β”‚β”‚ Staff leden      -soft,intr,nosuid nfs-01:/users/staff:&                   β”‚β”‚
β”‚β”‚ Student 2013     -soft,intr,nosuid nfs-02:/users/13/student:&              β”‚β”‚
β”‚β”‚ Student 2014     -soft,intr,nosuid nfs-02:/users/14/student:&              β”‚β”‚
β”‚β”‚ Student 2015     -soft,intr,nosuid nfs-02:/users/15/student:&              β”‚β”‚
β”‚β”‚ Student 2016     -soft,intr,nosuid nfs-02:/users/16/student:&              β”‚β”‚
β”‚β”‚ Student 2017     -soft,intr,nosuid nfs-02:/users/17/student:&              β”‚β”‚
β”‚β”‚ Bijvak 2013      -soft,intr,nosuid nfs-02:/users/13/bijvak:&               β”‚β”‚
β”‚β”‚ Bijvak 2014      -soft,intr,nosuid nfs-02:/users/14/bijvak:&               β”‚β”‚
β”‚β”‚ Bijvak 2015      -soft,intr,nosuid nfs-02:/users/15/bijvak:&               β”‚β”‚
β”‚β”‚ Bijvak 2016      -soft,intr,nosuid nfs-02:/users/16/bijvak:&               β”‚β”‚
β”‚β”‚ Bijvak 2017      -soft,intr,nosuid nfs-02:/users/17/bijvak:&               β”‚β”‚
β”‚β”‚ IIB 2013         -soft,intr,nosuid nfs-02:/users/13/iib:&                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Usage: [ESC] quits, [arrows] choose selection, [enter] make selection]β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Add user]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

After you have entered all (needed) attributes for a given user, you press escape. If you left any attributes blank (---) a informative warning will be issued E.g.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Add user                                                                   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ WARNING: Attribute 'gecos' is not set.                                     β”‚β”‚
β”‚β”‚ WARNING: Attribute 'sn' is not set.                                        β”‚β”‚
β”‚β”‚ WARNING: Attribute 'automountInformation' is not set.                      β”‚β”‚
β”‚β”‚ WARNING: Attribute 'cn' is not set.                                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Do you wish to add user 'masikh' [y|n]                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Add user]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

If you agree with this warning press 'y' or 'Y' to commit this transaction.

The user will now be created. You will receive the new password for the given user and an option to printout an account form.

E.g.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Add user                                                                   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ User 'masikh' added succesfully!                                           β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Login:    masikh                                                           β”‚β”‚
β”‚β”‚ Password: 2~CRVSY|81                                                       β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Account form has been saved as: 1365004233.user-add.masikh.ps              β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Do you wish to print 1365004233.user-add.masikh.ps? [y|n]                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Add user]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

You almost always want to print this account form. If you choose to do so, a list of available CUPS printers will be presented. Select your printer of choice and printout the account-form.

E.g.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Print account form                                                         β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Queue               Location                                               β”‚β”‚
││────────────────────────────────────────────────────────────────────────────││
β”‚β”‚ hp-119-bw           Snellius, kamer 119, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-123-c            Snellius, kamer 123, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-144-c            Snellius, kamer 144, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-145-c            Snellius, kamer 145, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-153-bw           Snellius, kamer 153, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-155-bw           Snellius, kamer 155, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-156-bw           Snellius, kamer 156, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-304-bw           Snellius, kamer 302, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-410-bw           Snellius, kamer 410, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-57-bw            Snellius, kamer 57, PAND 2202                          β”‚β”‚
β”‚β”‚ hp204               Snellius, Kamer 204, PAND 2202                         β”‚β”‚
β”‚β”‚ hp206a              Snellius, Kamer 206a, PAND 2202                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Usage: [ESC] quits, [arrows] select printer, [enter] use selected printer]β”˜β”‚
└──[Modify > User > Add user]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

NOTE: If you press enter this screen will be erased and there are NO means to retrieve the password (unless you print the account form by hand!!!)

NOTE: Per default, no netgroups will be assigned to this new user. If you wish, you can assign these memberships separately.

This helper enables you to delete a single user. When a user is deleted an undo-file is created. From this undo-file you can re-create the user, its (net-)group membership and its autofs exports.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Delete user                                                                β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: masikh                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Delete user]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

'OK' or 'NO such user!'

NOTE: A transaction is added to the transaction list afterward.

With this helper you can reset a user its password.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Change password                                                            β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: masikh                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Change user password]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Change password                                                            β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: masikh                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Password reset: OK                                                         β”‚β”‚
β”‚β”‚ New Password: nPJEEa\qC-                                                   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Change user password]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

With this helper its possible to change EVERY attribute of a given user. Yes even the username itself! (mod(r)dn in LDAP terms)

Thus you can change:

EmployeeType, uid, loginShell, sn, uidNumber, gidNumber, gecos, employeeNumber, homeDirectory, automountInformation and cn.

If you try to rename an username to an existing user, an error will be reported. E.g.

ERROR Moving dn: uid=masikh,ou=People,dc=unix,dc=example,dc=nl REASON:
Already exists

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Modify user attributes                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: masikh                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Modify user attributes]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Modify user attributes                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚*employeeType:         Student                                              β”‚β”‚
β”‚β”‚ uid:                  masikh                                               β”‚β”‚
β”‚β”‚*loginShell:           /bin/bash                                            β”‚β”‚
β”‚β”‚*uidNumber:            6929                                                 β”‚β”‚
β”‚β”‚*employeeNumber:       500.6929                                             β”‚β”‚
β”‚β”‚*gidNumber:            500                                                  β”‚β”‚
β”‚β”‚*gecos:                Masikh Masih                                         β”‚β”‚
β”‚β”‚*sn:                   Masih                                                β”‚β”‚
β”‚β”‚ homeDirectory:        /home/masikh                                         β”‚β”‚
β”‚β”‚*automountInformation: -soft,intr,nosuid nfs-server04:/users/14/student:&   β”‚β”‚
β”‚β”‚*cn:                   Masikh                                               β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press [ESC] when done, [arrow keys] to select and [enter] to edit.]β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Modify user attributes]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Change each attribute you wish and press escape when done. MPLS will ask you if you'd like to commit these changes. E.g.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Modify user attributes                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚*employeeType:         Student                                              β”‚β”‚
β”‚β”‚ uid:                  masikh                                               β”‚β”‚
β”‚β”‚*loginShell:           /bin/bash                                            β”‚β”‚
β”‚β”‚*uidNumber:            6929                                                 β”‚β”‚
β”‚β”‚*employeeNumber:       500.6929                                             β”‚β”‚
β”‚β”‚*gidNumber:            500                                                  β”‚β”‚
β”‚β”‚*gecos:                Masikh Masih                                         β”‚β”‚
β”‚β”‚*sn:                   Masih                                                β”‚β”‚
β”‚β”‚ homeDirectory:        /home/masikh                                         β”‚β”‚
β”‚β”‚*automountInformation: -soft,intr,nosuid nfs-server04:/users/14/student:&   β”‚β”‚
β”‚β”‚*cn:                   Masikh                                               β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Do you wish to commit the changes? [y|n]                                   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Modify user attributes]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

NOTE: An astrix * means a changed attribute.

With this helper you can add users in a batch process. You can cut&paste a list of users from a text file into MPLS and create these users in one blow. The source file follows a strict format:

studentnumber:firstname:initials:preposition:surname

E.g. 1292285:Andrada:A.I.::Bacaoanu

The last line is a single "." at the beginning of the line stating the end of the list of new users.

If an username is already taken, an incrementing number will be added to this username.

E.g. if abacaoan is taken abacaoan1 will be the next username to try.

After you pasted the users, two more questions will be asked. * EmployeeType (this will divine the primary group) * automountInformation (where is the NFS homedir of the new user(s)

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Add users                                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ File format: studentnumber:firstname:initials:preposition:surname          β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ e.g.: 1046853:Ran:R.::An                                                   β”‚β”‚
β”‚β”‚       1286781:Emmanuel:E.:A:Appiah                                         β”‚β”‚
β”‚β”‚       1292285:Andrada:A.I.::Bacaoanu                                       β”‚β”‚
β”‚β”‚       . <- End of file marker!!!                                           β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Paste file contents here: 2 lines pasted, 0 lines discarded.               β”‚β”‚
β”‚β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚β”‚
β”‚β”‚β”‚                                                                          β”‚β”‚β”‚
β”‚β”‚β”‚                                                                          β”‚β”‚β”‚
β”‚β”‚β”‚12345123:Robert:RDA::Nagtegaal                                            β”‚β”‚β”‚
β”‚β”‚β”‚12342132:Dirk:DS::Stoop                                                   β”‚β”‚β”‚
β”‚β”‚β”‚.                                                                         β”‚β”‚β”‚
β”‚β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Add multiple users]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

After this two questions about employeeType and automountInformation will be asked:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Add users                                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚*employeeType:         Guest                                                β”‚β”‚
β”‚β”‚*automountInformation: -soft,intr,nosuid nfs-server02:/users/15/student:&   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press [ESC] when done, [arrow keys] to select and [enter] to edit.]β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Add multiple users]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Press escape when all is filled in correctly. A do you which to commit question will be asked. E.g.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Add users                                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚*employeeType:         Gast                                                 β”‚β”‚
β”‚β”‚*automountInformation: -soft,intr,nosuid nfs-server06:/users/15/student:&   β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Ready to add 2 users, do you wish to continue? [y|n]                       β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > User > Add multiple users]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Finally you'll be asked if you wish to print the new account-forms on a CUPS printer of your choice (Highly recommended to answer yes!!!)

Example:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Print account form                                                         β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Queue               Location                                               β”‚β”‚
││────────────────────────────────────────────────────────────────────────────││
β”‚β”‚ ISSC_P2202_17       Snellius, kamer 47, PAND 2202                          β”‚β”‚
β”‚β”‚ ISSC_P2202_19       Snellius, kamer 47, PAND 2202                          β”‚β”‚
β”‚β”‚ ISSC_P2202_20       Snellius, kamer 40, PAND 2202                          β”‚β”‚
β”‚β”‚ ISSC_P2202_24       Snellius, kamer 404, PAND 2202                         β”‚β”‚
β”‚β”‚ ISSC_P2202_33       Snellius, kamer 56, PAND 2202                          β”‚β”‚
β”‚β”‚ hp-106-bw           Snellius, kamer 106, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-119-bw           Snellius, kamer 119, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-123-c            Snellius, kamer 123, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-144-c            Snellius, kamer 144, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-145-c            Snellius, kamer 145, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-153-bw           Snellius, kamer 153, PAND 2202                         β”‚β”‚
β”‚β”‚ hp-155-bw           Snellius, kamer 155, PAND 2202                         β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Usage: [ESC] quits, [arrows] select printer, [enter] use selected printer]β”˜β”‚
└──[Modify > User > Add multiple users]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

In this submenu you can add or delete a group, modify group properties. You can also add or delete a user to/from a group.

With this helper you can add a new group to the LDAP database. A group is either a primairy or secundairy group.

NOTE: If you add a primairy group make sure you reflect these changes in the MPLS environment file also. See chapter 'Configuring MPLS for your environment'

If you try to add an existing group, an error is reported.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Add new group                                                              β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter group:    csdale                                                     β”‚β”‚
β”‚β”‚ Is this group a primairy group?: [y/n]                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Group > Add new group]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

'OK' or 'Group csdale already exist!'

With this helper you can remove a group from the LDAP database. If you deleted the wrong group the undo feature (transaction logs) will enable you to fully revert that transaction. With fully is ment, re-add the group PLUS its group-members.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Delete group                                                               β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter group:    csdale                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Group > Delete group]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

'OK' or 'No such group'

With this helper you can modify group attributes. These attributes are: cn (the group name), gidNumber and the group password.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Modify group attributes                                                    β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter group:    csdale                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Group > Modify group]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

In a new screen you can change the group attributes: e.g.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Modifying group csdale                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ cn                csdale                                                   β”‚β”‚
β”‚β”‚ gidNumber         11158                                                    β”‚β”‚
β”‚β”‚ userPassword      {crypt}*                                                 β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Use [ESC] when done or to quit, [arrow] selects item, [enter] modify item]β”˜β”‚
└──[Modify > Group > Modify group]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

If you're content with the modifications, press escape and commit the changes by answering 'y' on the question 'Do you wish to commit changes? [y|[n]]'.

NOTE: This transaction is logged and revertable

With this helper you can add a user to a group.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Link user to group                                                         β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: masikh                                                     β”‚β”‚
β”‚β”‚ Enter group:    csdale                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Group > Link user to group]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

'OK' or 'User masikh already in group csdale'

With this helper you can remove a user from a group

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Unlink user from group                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: masikh                                                     β”‚β”‚
β”‚β”‚ Enter group:    csdale                                                     β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Group > Unlink user from group]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

'OK' or 'User masikh is not a member of group csdale!'

In this submenu you can add or delete a netgroup. Furthermore you can add or remove an entity from a netgroup. An entity is either a user, host or netgroup itself.

With this helper you can add a new netgroup to the LDAP database.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Add new netgroup                                                           β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter netgroup: lgm                                                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Netgroup > Add new netgroup]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

'netgroup lgm created' or 'ERROR: netgroup lgm already exists!'

With this helper you can remove a netgroup from the LDAP database.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Delete netgroup                                                            β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter netgroup: lgm                                                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Netgroup > Delete netgroup]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

'OK' or 'ERROR: netgroup lgm does not exists!'

With this helper you can add a user to a netgroup.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Link user to netgroup                                                      β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: masikh                                                     β”‚β”‚
β”‚β”‚ Enter netgroup: users-sil                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ ERROR: user masikh does not exists!                                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Netgroup > Link entity to netgroup > User to netgroup]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

'OK' or 'ERROR: netgroup users-sil does not exists!' or 'ERROR: user masikh does not exists!'

With this helper you can add a hostname to a netgroup.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Link host to netgroup                                                      β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter hostname: stoeidoos                                                  β”‚β”‚
β”‚β”‚ Enter netgroup: sil                                                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ OK                                                                         β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Netgroup > Link entity to netgroup > Host to netgroup]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

'OK' or 'ERROR: netgroup sil does not exists!'

With this helper you can add a netgroup to a netgroup (Yes, recursion!) It gives you the possibility to nest netgroups. This reduces the amount of netgroups needed to run you business.

E.g. A netgroup 'users-sil' might contain all users allowed to login to hosts in the netgroup 'sil'. To allow these users to login to these host, one has to add the netgroup 'users-sil' to 'sil'.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Link netgroup to netgroup                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter parent netgroup: sil                                                 β”‚β”‚
β”‚β”‚ Enter child netgroup:  stoeidoos                                           β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Netgroup > Link entity to netgroup > Netgroup to netgroup]β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Result:

'OK' or 'ERROR: netgroup .... does not exist!'

With this this helper you can remove a user from a given netgroup, thus revoking the authorization for parts (or the whole) of your network equipment (e.g. a number of hosts)

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Unlink user from netgroup                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: robert                                                     β”‚β”‚
β”‚β”‚ Enter netgroup: sil                                                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Netgroup > Unlink entity from netgroup  > User from netgroup]β”€β”€β”€β”€β”€β”˜

result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Unlink user from netgroup                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter username: robert                                                     β”‚β”‚
β”‚β”‚ Enter netgroup: users-sil                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ ERROR: robert is not a member of netgroup users-sil                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Netgroup > Unlink entity from netgroup  > User from netgroup]β”€β”€β”€β”€β”€β”˜

'OK' or 'ERROR: robert is not a member of netgroup users-sil'

With this helper you can remove a hostname from a given netgroup. The given hostname is the name know to the LDAP database not DNS!

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Unlink host from netgroup                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter hostname: stoeidoos                                                  β”‚β”‚
β”‚β”‚ Enter netgroup: sil                                                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Netgroup > Unlink entity from netgroup  > Host from netgroup]β”€β”€β”€β”€β”€β”˜

result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Unlink host from netgroup                                                  β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter hostname: stoeidoos                                                  β”‚β”‚
β”‚β”‚ Enter netgroup: sil                                                        β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ OK                                                                         β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[Modify > Netgroup > Unlink entity from netgroup  > Host from netgroup]β”€β”€β”€β”€β”€β”˜

'OK' or 'ERROR: stoeidoos is not a host in netgroup sil' or 'ERROR: netgroup sil does not exists!'

With this helper you can remove a netgroup from a netgroup. Netgroups can be nested to build an abstraction of your organisation. E.g. A netgroup 'users-sil' might contain all users allowed to login to hosts in the netgroup 'sil'. To allow these users to login to these host, one has to add the netgroup 'users-sil' to 'sil'.

Example usage:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Unlink netgroup from netgroup                                              β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter parent netgroup: sil                                                 β”‚β”‚
β”‚β”‚ Enter child netgroup:  users-sil                                           β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[...fy > Netgroup > Unlink entity from netgroup  > Netgroup from netgroup]β”€β”€β”˜

result:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Search           Modify           Login           Help           Exit     β”‚
β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚
β”‚β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Unlink netgroup from netgroup                                              β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ Enter parent netgroup: sil                                                 β”‚β”‚
β”‚β”‚ Enter child netgroup:  users-sil                                           β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
β”‚β”‚ OK: Netgroup users-sil deleted from netgroup sil.                          β”‚β”‚
β”‚β”‚                                                                            β”‚β”‚
│└─[Press any key to continue]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
└──[...fy > Netgroup > Unlink entity from netgroup  > Netgroup from netgroup]β”€β”€β”˜

'OK: Netgroup users-sil deleted from netgroup sil.' or 'ERROR: netgroup users-sil is not a member of sil!' or 'ERROR: netgroup sil does not exists'

With this helper its possible to logon to a LDAP server without the predevined settings from the environment.py file. This enables un-privileged users to bind anonymously to a LDAP server or simply change any of the following at runtime: Servername, BaseDN, BindDN and the Password for the 'binding user'. Furthermore, entering the login menu triggers a login to the predevined LDAP server. A status of the connection will be shown at the bottom of the active window. E.g.

[Authentication at ldap.unix.example.nl succesful] If you enter the helper with a predevined environment the output looks somewhat like this:

Servername: ldap.unix.example.nl Base DN: dc=unix,dc=example,dc=nl Bind DN: cn=admin,dc=unix,dc=example,dc=nl

reset values? [y,[n]]

Pressing [enter] or [n] just leaves this helper.

If you choose to reset the settings (only in memory, the environment.py file won't be touched!) the helper will clear the runtime environment regarding the login settings and exit the helper.

Entering the login helper again will yeild to a number of questions:

Example: Servername: [ldap.unix.example.nl] Base DN: dc=unix,dc=example,dc=nl Bind DN: cn=admin,dc=unix,dc=example,dc=nl Password: .....(not echoed)

Result:

'Authentication at ldap.unix.example.nl succesful' or 'Cannot reach server' or 'Credential failure.'

This helper shows this help. You can use [esc] to leave this help and the arrow keys to browse around.

This 'helper' stops the execution of the MPLS interface, thus exiting the program.

UNIX user:

UNIX is a multiuser system. This means that separate users can work simultaneously on the same hardware. In order to distinct between these users, the concept of a username is devised. A username is a way to identify which files or processes belongs to who.

UNIX group:

When many users exist on a system it becomes hard to see which role each user has. There might be staff members, guests etc.. The group concept is a convenient way to differentiate between types of users. For instance you can make the groups 'staff', 'students' and 'guest' and place users in their respective group. In this way it's much more easy to distinguish between users.

UNIX netgroup:

A netgroup defines a network-wide group of hosts and users. Use a netgroup to restrict access to shared NFS file systems and to restrict remote login and shell access.

Network groups are stored in a network information services, such as LDAP, NIS, or NIS+, NOT in a local file.

Author: Robert Nagtegaal
E-mail: robert@liacs.nl, masikh@gmail.com
Copyright: Copyright 2013 Robert Nagtegaal
Robert Nagtegaal masikh@gmail.com
This program is distributed under the terms of the GNU
General Public License (or the Lesser GPL)
Thanks to: Maartje Mulder (For putting up with all my absence)
Kristian Rietveld (Teaching python)
Mattias Holm (Advice)
Maarten Derickx (Advice)

About

MPLS is a user account tool for LDAP written in Python. It stands-out of other LDAP software because it handles NIS-netgroups, Autofs nfs exports and has a transaction undo feature. Futhermore is menu-driven but also console based by usage of curses and each helper is also a commandline tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published