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

PREVIOUS NEXT
Code Example
Shell :: gnutls_handshake() failed: An unexpected TLS packet was received. 
Shell :: anconda install django 
Shell :: how to update kali linux 
Shell :: Check for process and kill if running Linux 
Shell :: unzip tar.xz linux 
Shell :: check current branch github 
Shell :: clone a specific branch 
Shell :: how to install docker on Debian 10 
Shell :: get size of file linux 
Shell :: visual studio code ubuntu 
Shell :: Failed to install the following Android SDK packages as some licences have not been accepted. build-tools;28.0.3 Android SDK Build-Tools 28.0.3 platforms;android-29 Android SDK Platform 29 
Shell :: create a branch from main 
Shell :: turn off screen linux 
Shell :: bash read multiple lines from user 
Shell :: expo channels list 
Shell :: git show files modified since commit 
Shell :: clear git cache 
Shell :: ssh copy file from local to remote 
Shell :: brew install rvm 
Shell :: linux remove folder and all his content 
Shell :: turn off jenkins mac 
Shell :: active developer path does not exist 
Shell :: git set head to commit 
Shell :: wget git bash 
Shell :: enospc no space left on device 
Shell :: Install PHP Plugin ubuntu 
Shell :: linux settings not opening 
Shell :: how to make a .sh file executable 
Shell :: how to merge remote branch 
Shell :: zip folder linux 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =