Error when adding user sudo in Debian system

Original link: https://hsiaofeng.com/archives/183.html

mistake

 adduser: command not found

solution

Use su -l instead of su .

 $ su -l # adduser <your_username_here> sudo # logout

refer to

https://unix.stackexchange.com/questions/565665/bash-adduser-command-not-found-debian-buster

This article is reproduced from: https://hsiaofeng.com/archives/183.html
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment