User management under the latest version of Ubuntu is not working properly (10.04 LTS), including regarding the management of the uid. Here are a few commands to get by in a terminal.
- Show uid and gid of a user:
> userid - Add Group:
> groupadd group_name-gGID
- Add User:
> useradd-uuid-gGID -s/bin/bash -d/home/utilisateur Pxxx-m-user
- Change the uid of a user:
> usermod-u UID user - Change the gid of a user:
> usermod-g GID user
0 comments:
Post a Comment