Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
By default, the “adduser” command is located in the “/usr/sbin” folder of your system.
ls -l /usr/sbin/ | grep adduser
-rwxr-xr-x 1 root root 37322 Dec 5 2017 adduser
To solve this issue, you need to add “/usr/sbin” to your $PATH.
Edit your .bashrc file
sudo nano ~/.bashrc
and add the following line
export PATH="$PATH:/usr/sbin/"
Source your bashrc file and try to run the adduser command again.
source ~/.bashrc
Add Comment
Please, Sign In to add comment