|
|
@@ -24,27 +24,33 @@ if the user is a posixAccount.
|
|
|
|
|
|
|
|
|
- creategroup
|
|
|
+
|
|
|
Since adding the first user needs to be done at the creation of the group,
|
|
|
a valid uid needs to be passed to the script.
|
|
|
|
|
|
The optional -p flag must be passed as the first argument. It indicates
|
|
|
that the group to be created is a posixGroup. Therefore, the first user also need to
|
|
|
be a posixAccount.
|
|
|
+
|
|
|
```
|
|
|
./creategroup [-p] uid group
|
|
|
```
|
|
|
|
|
|
- addtogroups and removefromgroups
|
|
|
+
|
|
|
Adds a user to one or more groups. User's uid must be the first argument.
|
|
|
Posix and non-posix groups can be given, but if posixGroups are given, the
|
|
|
user need to be a posixAccount.
|
|
|
+
|
|
|
```
|
|
|
./addtogroups uid group1 [group2, group3, ...]
|
|
|
./removefromgroups uid group1 [group2, group3, ...]
|
|
|
```
|
|
|
|
|
|
- person2posix
|
|
|
+
|
|
|
Converts an inetOrgPerson account to a posixAccount.
|
|
|
+
|
|
|
```
|
|
|
./person2posix uid
|
|
|
```
|