Previous Page | Next Page

  1. Agustin's Linux Manual
  2. System Administration
  3. About the Author
  4. Contents
  5. Administration
  6. Terminals
  7. Command Basics
  8. Root Directory
  9. Executing Commands
  10. File specs
  11. File Permission
  12. How permissions are assigned
  13. Change ownership chown
  14. Running multiple commands
  15. Killing Processes
  16. Bash configuration files
  17. VI Editor
  18. Creating path environment
  19. Midnight Commander
  20. Linuxconf Utility
  21. Networking
  22. Domain Name Service DNS
  23. Router and Gateway
  24. Adding Users
  25. User Accounts
  26. Managing Groups
  27. Mounting File System
  28. NFS Mounts
  29. Disk Quotas
  30. Run levels
  31. Linuxconf Control
  32. Mandrake Control Center
  33. Creating a Boot Disk
  34. Switching Boot Mode
  35. Hardware Configurations
  36. Printer Configuration
  37. Installing Printers
  38. Samba Printer
  39. Managing services
  40. Managing Users
  41. Program Scheduler
  42. Software Management
  43. Installing CUPS

Managing groups

Users => Normal => Group Definitions
Administration is being organized. Organization is a keyword to successfully maintaining a Linux system. Like I said earlier, every user by default is in their own group and if we have 5000 users in a domain, we don't need 5000 groups. Correct?

So in order to make our job easier as System Administrator, it really makes sense to have logical groups or different departments as usually known in the company. Here is an example; we don't want users from marketing to be messing around in the engineering or manufacturing department right? So that is why it is nice to create each respective department.

For example:

  • Marketing
  • Engineering
  • Accounting
  • Human resource
User Groups
Fig. 3.21

Every time a new employee is hired we can add him in the appropriate department, with his respective rights. Or he will wine and end up in the human resource department.

  • Click on add to create a group
Group Specification
Fig. 3.23
  • Enter the name of the group
  • Leave group ID as default
  • Leave alternate blank
  • If you click on directories, you can specify the home directory for the whole group.

Once you click on accept, the group will be created. From now on the group will be available whenever you add new users or promote existing users.

Changing the Root Password

For security reasons, you must protect root password at all times. This requires you to reset the password with frequency.

  • Open Config => Users => Normal => Change root password.

By clicking on the change root password you will be prompted to enter the new password. Use a strong password for this purpose. Once you have entered the new password, select Accept to apply the changes otherwise select cancel.

Alternatively you can use a command line to change the user's password:

[root@server1 root]# passwd username