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







Recent comments
4 hours 45 min ago
5 days 13 hours ago
5 days 23 hours ago
6 days 22 hours ago
1 week 11 hours ago
1 week 13 hours ago
1 week 1 day ago
1 week 1 day ago
1 week 2 days ago
2 weeks 10 hours ago