linux del user and add user - Printable Version +- Forums (https://zhtw.com/f) +-- Forum: 分類 (https://zhtw.com/f/forumdisplay.php?fid=1) +--- Forum: 程式語言 Programming language (https://zhtw.com/f/forumdisplay.php?fid=9) +--- Thread: linux del user and add user (/showthread.php?tid=57) |
linux del user and add user - admin - 2025-07-01 delete user delete directory /home/username delete username line in /etc/password delete username line in /etc/group 碼: sudo userdel -r username add a new user 碼: sudo adduser username Note: do not use useradd command |