- Introduction to UNIX Users and Groups
- The Users and Groups Module
- Creating a New User
- Editing an Existing User
- Deleting a User
- Creating a New Group
- Editing an Existing Group
- Deleting a Group
- Viewing Recent and Current Logins
- Reading Users' Email
- Creating Users from Batch Files
- Configuring the Users and Groups Module
- Before and After Commands
- Module Access Control
- Other Operating Systems
- Summary
4.4 Editing an Existing User
You can change any of the details of any user that already exists on your system by following these steps:
-
Click on the user you want to edit from the existing list. A form containing all the details of the user will appear, as shown in Figure 4.5.
Figure 4.5. The user editing form.
-
Change any of the details that you want to modify, including the username. The fields have the same meanings as described inSection 4.3 "Creating a New User".
-
If you have modified the User ID or changed the Primary group, files owned by the user may need to be updated to use the new IDs. The options at the bottom of the page labeled Change user ID on files? and Change group ID on files? control which directories will be searched for files with the old IDs.
-
If you have changed the user's home directory, you can have Webmin rename it to the new path. However, if the new home directory already exists, this may not always be what you want. The Move home directory if changed? option determines if it is moved or not.
-
To have the user updated in other modules where this has been set up, select Modify user in other modules? If you are changing the username, this will also rename the user's Sendmail mail file and Cron jobs.
-
Click the Save button to have Webmin update the user. Once it is complete, you will be returned to the lists of users and groups.