Submitted by ggarron on Tue, 01/06/2009 - 22:27
usermod - modify a user account
Once a user is already created, you can still modify its options and data, to do that use usermod
Syntax
- -d home directory
- -s starting program (shell)
- -p password
- -g (primary group assigned to the users)
- -G (Other groups the user belongs to)
Example
If you want to change the default login shell of a user user
usermod -s /bin/tsh user
Read the man page of usermod for more information
If this was useful for you, please consider making a donation, any amount is welcome, please proceed by clicking on the yellow donate button, thank you in advance.






Recent comments
6 days 9 hours ago
6 days 9 hours ago
1 week 2 days ago
1 week 4 days ago
1 week 4 days ago
2 weeks 1 day ago
3 weeks 8 hours ago
3 weeks 3 days ago
3 weeks 5 days ago
4 weeks 7 hours ago