Advertising

Users and groups

 

After hard drive installation SparkyLinux has one user account created and root account as well. This quick tutorial will help you how to make changes with them.

 
1. To change your password type:
passwd
Type your existing password and type two times your new password.

2. To add new user:
adduser new-user-name

3. To delete a user:
userdel user-name

4. To delate a user with its home folder and all files:
userdel -r user-name

5. To check your ID:
id user-name

6. To add a user to a group:
adduser user-name group-name

7. To check what groups you belongs:
groups

8. To add a new group:
groupadd group-name

9. To delete a group:
groupdel group-name

10. To change root (admin) password:
su
Type existing root password and
passwd
Then type twice new UNIX (root) password.

 
 
Back to -> FAQ main page
 

Advertising

Leave a Comment