Linux User Account Management | USERADD, USERMOD, Examples | MPrashant

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • #linux #linuxtutorial #mprashant #centos8 ‪@MPrashant‬
    In this video, I'll show you how to use the Linux user account management tools, USERADD, USERMOD, and GROUPADD, to create, delete, and modify user accounts.
    If you're a Linux user and you need to manage user accounts, then this video is for you! I'll show you how to use the user account management tools to create, delete, and modify user accounts in a simple and easy way. This video is likely to be of great help to you if you're looking to manage user accounts on a Linux system!
    Topics we will cover in this topics are:
    How to create a user in Linux with useradd command
    How to delete a user in Linux with userdel command
    How to modify a user in LInux with usermod command
    How to create a group in Linux
    How to delete a group in Linux
    How to assign a group to a user in Linux
    To get more info about users and groups
    /etc/passwd file
    /etc/shadow file
    /etc/group file
    Commands we are covering in this video are
    useradd
    userdel
    usermod
    groupadd
    groupdel
    Linux Admin Tutorial for beginners

КОМЕНТАРІ • 122

  • @maheshbandaru2991
    @maheshbandaru2991 Рік тому +4

    Thanks bro, waiting for remaining topics on linux.

  • @Anilkumar-tb8mu
    @Anilkumar-tb8mu 10 місяців тому +18

    Sir, pls make a complete one Video Linux Administration Server series

  • @numair3
    @numair3 6 місяців тому +1

    I appreciate your efforts.
    I appreciate your efforts.
    I appreciate your efforts.

  • @shashikanthraju4909
    @shashikanthraju4909 8 місяців тому +1

    Very good explanation bro. Thank you so much.

    • @MPrashant
      @MPrashant  8 місяців тому

      Glad you liked it

  • @amirsohail1704
    @amirsohail1704 Рік тому +2

    Thank you so much 🥰🥰🥰 bhai 🤗

  • @MrAli4uonly
    @MrAli4uonly 20 днів тому +1

    thanks, i am new to linux never try it before
    Learning very fast due to you bro *******THANK-YOU*********************THANK-YOU*********************THANK-YOU*********************THANK-YOU*********************THANK-YOU*********************THANK-YOU*********************THANK-YOU*********************THANK-YOU*********************THANK-YOU*********************THANK-YOU**************

    • @MPrashant
      @MPrashant  18 днів тому

      Welcome alot!!
      Glad you liked it.

  • @jaykush6199
    @jaykush6199 5 місяців тому +1

    Sir, pls make a complete one Video Linux Administration Server serie plz sir

  • @ahkanshasanju8644
    @ahkanshasanju8644 7 місяців тому +2

    Which software you are using

  • @NeelakantaKalyani-i9s
    @NeelakantaKalyani-i9s Рік тому

    Prashant sir kindly make windows admin too

  • @nehabhor8557
    @nehabhor8557 11 місяців тому +1

    Hello sir
    I have one question about user information
    In home directory all users information are stored then why we create this home directory for the user again?

    • @AkashDeep-rt1cp
      @AkashDeep-rt1cp 10 місяців тому

      No actually all user create its own home directory

  • @TusharUpadhyay-uo5gr
    @TusharUpadhyay-uo5gr 4 місяці тому

    sir is it possible to get notes of this playlist???. Thank you for your help

  • @sayan004
    @sayan004 8 місяців тому

    Well , But here you did not mention how to check the lock user list.

  • @poojasreedas7050
    @poojasreedas7050 10 місяців тому +1

    Kindly make video on patching !

  • @sauravsingh-qn4nf
    @sauravsingh-qn4nf Рік тому +4

    That's great 👍 please make more linux interview related videos

    • @MPrashant
      @MPrashant  Рік тому +2

      I will try to keep making videos

  • @zaffarabbas2197
    @zaffarabbas2197 8 місяців тому +1

    Please make a video for fdisk and LVM

  • @ArshadDanish
    @ArshadDanish 10 місяців тому

    Great Video..Could you please explain the out put of below commands in details
    /etc/passwd
    /etc/group
    /etc/sudoers
    /etc/ssh/sshd_config
    /etc/shadow

  • @sayan004
    @sayan004 8 місяців тому

    also not discuss how to remove user from any group or groups..

  • @srinivasnambala1658
    @srinivasnambala1658 11 місяців тому

    When I'm typing... useradd nick, It shows
    useradd: Permission denied.
    useradd: cannot lock /etc/passwd; try again later.
    What's the problem?

  • @riteshchand4904
    @riteshchand4904 Рік тому +3

    You are the best

  • @Ashokkumar-zn1ft
    @Ashokkumar-zn1ft 4 місяці тому

    Sir i guess useradd command not create home dir by default. Until you pass -m option with that. Please clarify sir.

    • @MPrashant
      @MPrashant  4 місяці тому +1

      On some distro (like centos) it may creat Home folder by default, but it's always better to use -m option always to create it.

  • @alokbeura4228
    @alokbeura4228 Рік тому +1

    Can I create user who can read, write but can't delete any files

    • @numair3
      @numair3 6 місяців тому

      # Create a file
      touch example.txt
      # Give read and write permissions to the user
      chmod u+rw example.txt
      # Deny delete permissions to the user
      chmod u-w example.txt

  • @MsZAID007
    @MsZAID007 7 місяців тому +1

    thank you Prashant, one day before the interview i randomly saw your video and same question faced in interview, explained almost 5 mins to interviewee on same topic😁

    • @MPrashant
      @MPrashant  7 місяців тому

      awesome, glad it helped!!

  • @divinegamez4454
    @divinegamez4454 Рік тому

    Suppose eki group mai 3 yea 4 users hai mai chata hu un sub user ka password expirtion laga saku pls help

  • @jaykush6199
    @jaykush6199 5 місяців тому

    helo sir home mai user create ho jata hi delete kese kare
    user del se se delete ho jata hai but home mai sow karat hi us ko kese delete kre sir aap is pe ak vido banao sir

    • @MPrashant
      @MPrashant  4 місяці тому

      if you use userdel -r
      it will remove the home directory also

  • @PIYUSH-lz1zq
    @PIYUSH-lz1zq 11 місяців тому

    Bhaiya normal user ko root group me dala hai to cmd is usrmod -aG root user1. Similar user1 ko root gid me daal skte hai na ????

  • @akashpatil9043
    @akashpatil9043 Рік тому

    bhaiya mera ubuntu version hai new . usme mai useradd prime user bana raha hu to ban to jara hai leken , ls command karne per show nhi ho raha jaisa apka ho raha hai

  • @shamshadansari2018
    @shamshadansari2018 Рік тому +1

    Thanks bro.. It's very useful, today I learnt this through your tutorial....!!

  • @VinodKopuri-r4k
    @VinodKopuri-r4k Рік тому +1

    make videos in english it could be helpful to lot of peoples

    • @MPrashant
      @MPrashant  Рік тому

      I am planning to start a English Channel also

  • @riteshchand4904
    @riteshchand4904 Рік тому +1

    You are the best

  • @habiburrehman5837
    @habiburrehman5837 Місяць тому

    great job Prashant special thanks from Pakistan

  • @uniquewadu1346
    @uniquewadu1346 Рік тому +1

    My linux centos login incorrect pls help me

    • @MPrashant
      @MPrashant  Рік тому +1

      If you have root access, then you can easily change password
      Or you can request to root/admin to reset your password

  • @_hulk748
    @_hulk748 4 місяці тому +1

    Great video sir🙏🙇‍♂✨

  • @beatsofloveforever1633
    @beatsofloveforever1633 Рік тому

    sir victor nam se do nam kyu aaye user ek hi hai to do nam kyu den pade

  • @zafarahmedsiddique
    @zafarahmedsiddique Рік тому +2

    Thanks a lot very informative, till this video I had doubt about these commands.

  • @VaishnaviNaphade-d1m
    @VaishnaviNaphade-d1m 5 місяців тому

    ye sari ppt kaha milegi

  • @ravikumar-gc4cz
    @ravikumar-gc4cz Рік тому +1

    bro tqs please try to make video on nic bonding bro

  • @rajpalkar1033
    @rajpalkar1033 11 місяців тому

    How to add multiple users in group

  • @Itadmin-rr1lu
    @Itadmin-rr1lu 5 місяців тому

    i have a user abc and i added 4 groups to userabc , how can i remove particular group from userabc

    • @MPrashant
      @MPrashant  5 місяців тому +1

      Reassign all the desired group to that user, let's say to remove group2
      sudo usermod -G group1,group3,group4 userA

    • @Itadmin-rr1lu
      @Itadmin-rr1lu 5 місяців тому

      @@MPrashant thanks prashant got it

  • @vemuabhignyabloom
    @vemuabhignyabloom 3 місяці тому +2

    Thankyou!

  • @numair3
    @numair3 6 місяців тому +1

    I appreciate your efforts.

  • @jasperthetom
    @jasperthetom Рік тому +2

    I definately know that I learned this properly, Thanks a million brother.
    Your videos help me a lot in working with LINUX Syss.

    • @MPrashant
      @MPrashant  Рік тому

      Glad it helped! :)

    • @jasperthetom
      @jasperthetom Рік тому

      @@MPrashant
      Thanks for the reply.
      Brother why don't you make a video to become a professional hacker from scratch.
      I am saying this cuase I watced many videos on this topic but I didn't find myself clear on this topic.I want to know how many and what all things I need to learn and from where to start to become a professional hacker. If you recommend any of your thought through a video that would be impressive and helpful for us. thank you once again.

    • @rishabhtiwari5289
      @rishabhtiwari5289 10 місяців тому

      hlo bro are you working in linux

  • @keshavsangewar7860
    @keshavsangewar7860 9 місяців тому +1

    Thank you sir

  • @Kabir_zehen2_7
    @Kabir_zehen2_7 4 місяці тому

    Linux notes

  • @ahmadyar7524
    @ahmadyar7524 3 місяці тому +1

    Your way of teaching is very good.

  • @RanjanaSingh-ji6jw
    @RanjanaSingh-ji6jw 10 місяців тому

    Vi editor pr interview questions v provide kre

    • @MPrashant
      @MPrashant  10 місяців тому

      You can watch this video
      Learn How to use VI editor in Linux with examples in Hindi
      ua-cam.com/video/6GUbNoNO1ac/v-deo.html

  • @NeelakantaKalyani
    @NeelakantaKalyani Рік тому

    Hey Prashanth you are right guru i humbly requesting you to do complete folder structure of Linux by comparing windows please

  • @Mosfikur_Rahman
    @Mosfikur_Rahman Рік тому +3

    Thank you so much 🥰🥰

    • @MPrashant
      @MPrashant  Рік тому

      You’re welcome 😊

    • @Mosfikur_Rahman
      @Mosfikur_Rahman Рік тому

      @@MPrashant vaiya ami douya kori apni aro agaiya jan.... apnar content gulo onkta goshano.....and onk sundor... apni olpotei ..... 1M ...er mail folok shute parben ... asha kori....... thank you

    • @MPrashant
      @MPrashant  Рік тому

      @@Mosfikur_Rahman I didn't understand much but thank you :)

  • @mentor7683
    @mentor7683 Рік тому

    please do a session related with "ChatGPT & Technology"

  • @prahalladhm6238
    @prahalladhm6238 7 місяців тому +1

  • @kamaltyagi9695
    @kamaltyagi9695 Рік тому +1

    Dear sir please share the video of color coding

    • @MPrashant
      @MPrashant  Рік тому

      Can you describe more about it please..
      Where and how you wanna use

    • @kamaltyagi9695
      @kamaltyagi9695 Рік тому

      When we want to change the color of installed shell after the performed the task in your command prompt the root user will appear in different colour

    • @MPrashant
      @MPrashant  Рік тому

      @kamaltyagi9695 got it I’ll try to cover it in a video soon

    • @kamaltyagi9695
      @kamaltyagi9695 Рік тому

      Thank you so much ☺👍

  • @basujain8928
    @basujain8928 4 місяці тому

    bhai thankyou so much

  • @aryansingla957
    @aryansingla957 4 місяці тому

    useradd: Permission denied.
    useradd: cannot lock /etc/passwd; try again later.
    I am getting this on $ useradd -g test -s /bin/bash -c "part of test team" -m -d /home/victor victor

  • @akbarmunwar5435
    @akbarmunwar5435 10 місяців тому +1

    Tnxs paul

  • @ahmadshah3431
    @ahmadshah3431 2 місяці тому

    hi sir how to download and install centos please guide

    • @MPrashant
      @MPrashant  2 місяці тому

      Here is the link - www.centos.org/download/
      You can use it with virutalbox - video link on how to install - ua-cam.com/video/SH7Mb-VIANw/v-deo.html

  • @lojenskumar6113
    @lojenskumar6113 Рік тому +1

    apka bhut bhut bhut bhut bhut bhut Sukriya sirrrrrrr...............................

    • @MPrashant
      @MPrashant  Рік тому +2

      All the Best and keep Learning and growing
      I saw that you are following all the videos and commenting also.
      Keep it up buddy 🙌🏻

    • @lojenskumar6113
      @lojenskumar6113 Рік тому

      Sir aap Cybersecurity ma ho ya Liniux admin ma job karte a

    • @lojenskumar6113
      @lojenskumar6113 Рік тому

      @@MPrashant I see all videos sir ...nice video

  • @ankitkumawat8040
    @ankitkumawat8040 Рік тому +1

    Ssh pr bhi ek video ho jaye

    • @MPrashant
      @MPrashant  Рік тому

      Here you go - ua-cam.com/video/Ei3nU-fHI6E/v-deo.html
      Already on the channel!

  • @Hemarawal122
    @Hemarawal122 Рік тому

    Can we create multiple users at one time?

  • @tradingiq7736
    @tradingiq7736 Рік тому

    Brother I’m not able to see user at home directory after adding user

    • @MPrashant
      @MPrashant  Рік тому

      Did you add the parameter to create home folder while creating the user?

  • @simrantomaskar9578
    @simrantomaskar9578 Рік тому +1

    thank you sir

  • @nandinisingh5250
    @nandinisingh5250 6 місяців тому

    1:10 root access kse krte h

  • @fatimaiqra2169
    @fatimaiqra2169 Рік тому +1

    very helpful content, thanks a lot

  • @Vishal-vh5gb
    @Vishal-vh5gb 8 місяців тому +1

    Thanks sir

  • @aleemraza2087
    @aleemraza2087 Рік тому

    How to rename user name?

  • @harshubale8963
    @harshubale8963 Рік тому +1

    Thankss Bhauu!!!

  • @manojkakde6476
    @manojkakde6476 Рік тому +1

    Thanks sir

  • @mohitwankhade9572
    @mohitwankhade9572 Рік тому +1

    Thanks bro 😊

  • @sirajahmad6194
    @sirajahmad6194 Рік тому +1

    Thank You 😇

  • @abhijeetadsul486
    @abhijeetadsul486 Рік тому

    Even after setting a password, I am still able to log in without being prompted for the password.

    • @mdnoman2882
      @mdnoman2882 11 місяців тому

      root users have access over all user, can switch to any user without password

  • @abhinawsingh1
    @abhinawsingh1 Рік тому +1

    Great 👍

  • @Rocky-cu6jc
    @Rocky-cu6jc Рік тому

    Nice video bro it is so useful to learn Linux

  • @RameshKr-ot4ju
    @RameshKr-ot4ju 5 місяців тому

    16.20 m bahar kese aye sir ap ??

    • @MPrashant
      @MPrashant  5 місяців тому +1

      Simply press ‘q’ to quit