PDA

View Full Version : COMMAND USERMOD IS MISSING [CAN'T USE USERMOD] Linux kali 5.3.0-kali2-amd64



LUSTROPOBHIA
2019-12-03, 10:35
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2019.4
Codename: kali-rolling

Linux kali 5.3.0-kali2-amd64 #1 SMP Debian 5.3.9-3kali1 (2019-11-20) x86_64 GNU/Linux

3720

after i update my kali linux, i can't use usermod for grouping local user to group sudo, please can you helo me?

JustinR34GTR
2019-12-06, 23:01
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2019.4
Codename: kali-rolling

Linux kali 5.3.0-kali2-amd64 #1 SMP Debian 5.3.9-3kali1 (2019-11-20) x86_64 GNU/Linux

3720

after i update my kali linux, i can't use usermod for grouping local user to group sudo, please can you helo me?
I had the same problem and just found out what the problem was. /sbin isn't in the path so you need to type the full path of the command, /sbin/usermod

Rasalom
2019-12-07, 19:04
I use zsh, so I just added /sbin, /usr/sbin, and /usr/local/sbin to my ~/.zshrc

export PATH=$HOME/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:$PATH

JustinR34GTR
2019-12-09, 15:06
I use zsh, so I just added /sbin, /usr/sbin, and /usr/local/sbin to my ~/.zshrc

export PATH=$HOME/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:$PATHI did the same thing. Your export command isn't going to work universally. Not everyone has a $HOME/bin directory