User Administration

From Caos Linux Wiki

Jump to: navigation, search

[edit] Administration of users

An user account is created with the command: useradd "username" The password of the user is created with the command: passwd "username" See example here below

[root@sindrebrokk ~]# adduser freeminder
[root@sindrebrokk ~]# ls /home/freeminder
[root@sindrebrokk ~]# passwd freeminder
Changing password for user freeminder.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@sindrebrokk ~]#

To create an useracoount with more precise details should following command should be given:

useradd -u 502 -g users -d /home/"username" -s /bin/bash "username"

Remove an useraccount with the command: userdel "username"

Create a group by means of following command: groupadd -g "groupnumber groupname"

And remove a group by: groupdel "groupname"

You can allso check the man pages

[root@sindrebrokk ~]# man group
[root@sindrebrokk ~]# man passwd
[root@sindrebrokk ~]# man newgrp
[root@sindrebrokk ~]# man login

[edit] Caos version specific information

Caos 3

User Administration is included in Sidekick in Caos 3

Personal tools