---
title: "Discussion on \"User management in RHEL - useradd and usermod\" | Hashnode"
description: "Discussion on \"User management in RHEL - useradd and usermod\". To change a user's account settings after the user has been created, we'll need to use the usermod command. Most of the syntax for usermod is identical to that of useradd.\nChange the Login Name of an user:\n# usermod -l newusername oldusername\n\nChange..."
url: "https://hashnode.com/posts/user-management-in-rhel-useradd-and-usermod/670239c34b26cfbc899a0d81"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [User management in RHEL - useradd and usermod](https://user-management-in-rhel.hashnode.dev/user-management-in-rhel-useradd-and-usermod?utm_source=hashnode&utm_medium=feed)

To change a user's account settings after the user has been created, we'll need to use the usermod command. Most of the syntax for usermod is identical to that of useradd. Change the Login Name of an user: # usermod -l newusername oldusername Change...

Oct 6, 2024 · 2 min read · user-management-in-rhel.hashnode.dev  
Read the article

-   [#usermod](https://hashnode.com/tag/usermod)
-   [#useradd](https://hashnode.com/tag/useradd)

## Written by

[Ajit Pandey](https://hashnode.com/@AjitPandey)

@AjitPandey

  
[View profile](https://hashnode.com/@AjitPandey)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
