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

Поделиться
HTML-код
  • Опубликовано: 4 окт 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

  • @Anilkumar-tb8mu
    @Anilkumar-tb8mu 10 месяцев назад +18

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

  • @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!!

  • @ahmadyar7524
    @ahmadyar7524 3 месяца назад +1

    Your way of teaching is very good.

  • @numair3
    @numair3 6 месяцев назад +1

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

  • @maheshbandaru2991
    @maheshbandaru2991 Год назад +4

    Thanks bro, waiting for remaining topics on linux.

  • @shamshadansari2018
    @shamshadansari2018 Год назад +1

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

  • @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

  • @zafarahmedsiddique
    @zafarahmedsiddique Год назад +2

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

  • @habiburrehman5837
    @habiburrehman5837 Месяц назад

    great job Prashant special thanks from Pakistan

  • @shashikanthraju4909
    @shashikanthraju4909 8 месяцев назад +1

    Very good explanation bro. Thank you so much.

    • @MPrashant
      @MPrashant  8 месяцев назад

      Glad you liked it

  • @_hulk748
    @_hulk748 4 месяца назад +1

    Great video sir🙏🙇‍♂✨

  • @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

  • @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

  • @numair3
    @numair3 6 месяцев назад +1

    I appreciate your efforts.

  • @riteshchand4904
    @riteshchand4904 Год назад +3

    You are the best

  • @vemuabhignyabloom
    @vemuabhignyabloom 3 месяца назад +2

    Thankyou!

  • @jaykush6199
    @jaykush6199 5 месяцев назад +1

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

  • @amirsohail1704
    @amirsohail1704 Год назад +2

    Thank you so much 🥰🥰🥰 bhai 🤗

  • @NeelakantaKalyani
    @NeelakantaKalyani Год назад

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

  • @fatimaiqra2169
    @fatimaiqra2169 Год назад +1

    very helpful content, thanks a lot

  • @abhinawsingh1
    @abhinawsingh1 Год назад +1

    Great 👍

  • @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 :)

  • @keshavsangewar7860
    @keshavsangewar7860 9 месяцев назад +1

    Thank you sir

  • @Vishal-vh5gb
    @Vishal-vh5gb 8 месяцев назад +1

    Thanks sir

  • @akbarmunwar5435
    @akbarmunwar5435 10 месяцев назад +1

    Tnxs paul

  • @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

  • @poojasreedas7050
    @poojasreedas7050 10 месяцев назад +1

    Kindly make video on patching !

  • @TusharUpadhyay-uo5gr
    @TusharUpadhyay-uo5gr 4 месяца назад

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

  • @basujain8928
    @basujain8928 4 месяца назад

    bhai thankyou so much

  • @sirajahmad6194
    @sirajahmad6194 Год назад +1

    Thank You 😇

  • @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

  • @harshubale8963
    @harshubale8963 Год назад +1

    Thankss Bhauu!!!

  • @ahkanshasanju8644
    @ahkanshasanju8644 7 месяцев назад +2

    Which software you are using

  • @Rocky-cu6jc
    @Rocky-cu6jc Год назад

    Nice video bro it is so useful to learn Linux

  • @mentor7683
    @mentor7683 Год назад

    please do a session related with "ChatGPT & Technology"

  • @mohitwankhade9572
    @mohitwankhade9572 Год назад +1

    Thanks bro 😊

  • @ravikumar-gc4cz
    @ravikumar-gc4cz Год назад +1

    bro tqs please try to make video on nic bonding bro

  • @prahalladhm6238
    @prahalladhm6238 7 месяцев назад +1

  • @NeelakantaKalyani-i9s
    @NeelakantaKalyani-i9s Год назад

    Prashant sir kindly make windows admin too

  • @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 ????

  • @MrAli4uonly
    @MrAli4uonly 22 дня назад +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  20 дней назад

      Welcome alot!!
      Glad you liked it.

  • @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?

  • @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.

  • @Hemarawal122
    @Hemarawal122 Год назад

    Can we create multiple users at one time?

  • @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

  • @sayan004
    @sayan004 8 месяцев назад

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

  • @beatsofloveforever1633
    @beatsofloveforever1633 Год назад

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

  • @rajpalkar1033
    @rajpalkar1033 11 месяцев назад

    How to add multiple users in group

  • @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 ☺👍

  • @ankitkumawat8040
    @ankitkumawat8040 Год назад +1

    Ssh pr bhi ek video ho jaye

    • @MPrashant
      @MPrashant  Год назад

      Here you go - ruclips.net/video/Ei3nU-fHI6E/видео.html
      Already on the channel!

  • @divinegamez4454
    @divinegamez4454 Год назад

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

  • @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

  • @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

  • @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 - ruclips.net/video/SH7Mb-VIANw/видео.html

  • @VaishnaviNaphade-d1m
    @VaishnaviNaphade-d1m 5 месяцев назад

    ye sari ppt kaha milegi

  • @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
      ruclips.net/video/6GUbNoNO1ac/видео.html

  • @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?

  • @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

  • @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

  • @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

  • @aleemraza2087
    @aleemraza2087 Год назад

    How to rename user name?

  • @RameshKr-ot4ju
    @RameshKr-ot4ju 5 месяцев назад

    16.20 m bahar kese aye sir ap ??

    • @MPrashant
      @MPrashant  5 месяцев назад +1

      Simply press ‘q’ to quit

  • @sayan004
    @sayan004 8 месяцев назад

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

  • @nandinisingh5250
    @nandinisingh5250 6 месяцев назад

    1:10 root access kse krte h

  • @Kabir_zehen2_7
    @Kabir_zehen2_7 4 месяца назад

    Linux notes

  • @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

  • @riteshchand4904
    @riteshchand4904 Год назад +1

    You are the best

  • @simrantomaskar9578
    @simrantomaskar9578 Год назад +1

    thank you sir

  • @manojkakde6476
    @manojkakde6476 Год назад +1

    Thanks sir

  • @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