ប្រតិបត្តិ​ពាក្យ​បញ្ជា​ដោយ​ប្រើ​សិទ្ធិ​ជាន់​ខ្ពស់

The following commands must be prefaced with the sudo command. Please see RootSudo for information on using sudo (sudo is short for superuser do).

បន្ថែម​ក្រុម​ថ្មី

The addgroup command is used to create a new group in the system. To create a new group, type:

sudo addgroup foobar

The above command will create a new group called foobar.

បន្ថែម​អ្នក​ប្រើ​ថ្មី

The adduser command is used to create a new user on the system. To create a new user, type:

adduser foobar

which will create a new user called foobar.

បន្ថែម ឬ​ផ្លាស់​ប្តូរ​ពាក្យ​សម្ងាត់​អ្នក​ប្រើ

The passwd command is used to assign a new password to a new user or change the current password for an existing user. To add a password or change the password for the user foobar, type:

passwd foobar

For new users, this will generate a prompt to enter the new password. For an existing user, there will be a prompt for the existing password before the prompt for a new password.

កំណត់​អ្នកប្រើ​ជា​ក្រុម

To assign the user foobar to the group barfoo, type:

adduser foobar barfoo