Linux Management: The Basics

hey guys skip the tech barker here today i want to be going over some basic user management in linux with that we’re going to be creating a new user with the command line adding the user to an admin group removing user from the admin group and finally deleting the user so let’s go ahead and create the user to do that we’re going to use sudo sudo user ad dash lowercase m to create the user’s home directory we’re going to create tech marker as a user now we need to add a password detect marker to do that we’re going to use sudo pass sswd text marker all right now we’re going to set a password now tech marker should be able to log into the system as a standard user at this point let’s go ahead and add admin privileges though just so you can kind of see how you add admin privileges and really how you just maintain add a group to do that we’re going to use pseudo user mod dash lowercase a for append capital g for group we’re adding the group wheel to tech marker now tech techmarker is officially an admin so let’s take that away to do that we’re going to use a different command called gpasswd dash lowercase d that’s just to specify that we’re going to delete a group from tech marker and the group we’re deleting is wheel now tech marker is back to being a standard user at this point finally let’s delete techmarker from the system to do that we’re going to use user del dash lowercase r that just specifies that we want to delete the home directory and the mail spool for the user and it cleans up after and we’re just going to specify we are deleting tech marker all right that has that that’s the basics of user management and linux it’s pretty simple once you know the commands to use be sure to leave a comment below for any any videos you would like to see in the future or any comments or questions you might have i’ll be happy to try to help you out if i can be sure to like and subscribe and i’ll see you next time