Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

remove user linux

userdel *userToDelete*
Comment

remove users from linux

# Delete user and remove home and mail spool directory
userdel -r <username>
Comment

add and remove users in linux

#to add a user
sudo useradd <username>

#to remove a user
sudo userdel <username>

#to check for users
cat /etc/passwd

#to check for groups
cat /etc/group

#to assign a password to a user
sudo passwd <username>
  
#to allow the user login without username
sudo passwd -d <username>
Comment

Remove user

sudo userdel username
Comment

PREVIOUS NEXT
Code Example
Shell :: git get remote branches 
Shell :: android studio (not installed) flutter ubuntu 
Shell :: delete all files with specific name ubuntu 
Shell :: gh login with github 
Shell :: shell method 
Shell :: remove permission denied file folder linux 
Shell :: instalacion de angular cli 
Shell :: split screen into 4 ubuntu 
Shell :: How to install rambox on linux 
Shell :: set java_home permanently ubuntu 
Shell :: bash uppercase bad substitution 
Shell :: conda install jupyter notebook 
Shell :: disable aslr 
Shell :: install typescript in node project 
Shell :: install pytorch lightning 
Shell :: convert master to main 
Shell :: how to get rid of activate windows watermark 2021 
Shell :: install cocoapods mac 
Shell :: install nano in docker 
Shell :: change remote origin to fork 
Shell :: adonis make migration 
Shell :: git merge force 
Shell :: bash store file in array 
Shell :: How to Install Visual Studio Code on Ubuntu Linux 
Shell :: git remove cached 
Shell :: git add git commit 
Shell :: centos install copmposer 
Shell :: docker-compose update changes 
Shell :: clone a specific branch 
Shell :: date fns install 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =