Skip to main content

Questions tagged [usermod]

0 votes
1 answer
99 views

I don't understand why usermod has a -r option that can be used in combination with -G to remove groups that the user belongs to, but groupmod doesn't have an option to remove multiple users from a ...
Neox's user avatar
  • 111
0 votes
0 answers
742 views

I want to change the user ID of www-data, but not touch the files in the home directory. usermod man page: -u, --uid UID The new numerical value of the user's ID. This value must be ...
Alex's user avatar
  • 446
-1 votes
1 answer
491 views

I recently changed the default kali username and password via following a tutorial that used usermod commands. However, after logging back into the newly named account, the screen freezes on the ...
Hugh Wise's user avatar
11 votes
6 answers
13k views

I need to lock some user accounts, without messing with their HOME, if at all possible. Normal way would be usermod -L user but it seems to leave open ssh login with public key authentication (...
ZioByte's user avatar
  • 930
1 vote
2 answers
6k views

I am trying to change the home directory of a user. using usermod ravishshankar --home /var/www/domainname/public_html/ but get usermod: user username is currently used by process 1378 I try to kill ...
mister mcdoogle's user avatar
-4 votes
3 answers
13k views

On a VMware Workstation Player VM, I have been trying to change my default user account name "kali". The command I tried was usermod -l newname kali. But it gives me the error usermod: user ...
Cipher Visor's user avatar
0 votes
1 answer
5k views

I give a user admin access with: usermod -a -G wheel userX but when I log in with userX, I am not able to run yum. What do I need to do? Thanks
Maryam's user avatar
  • 103
0 votes
0 answers
70 views

I have managed to write this code. It runs, but no change was made to the user's info. It seems like usermod isn't working. What I am wanting to do is, to be able to edit existing user's info in the ...
Mukunda Paudel's user avatar

15 30 50 per page