Linux SU and SUDO Commands | How to Give SUDO Access to a User using SUDOERS | MPrashant

Sdílet
Vložit
  • čas přidán 5. 09. 2024

Komentáře • 61

  • @MuhammadSaaddev
    @MuhammadSaaddev Před 16 dny +1

    At 13:15 you said that we removed nick from the sudoers file (that is wheel group) but you haven't shown how you did that.
    I'm aware of 3 methods but it is different in each distro.
    1. gpasswd --delete nick wheel
    2. usermod -G "" nick (but this will remove all the other groups as well)
    3. usermod -rG wheel nick (just as we used usermod -aG wheel nick for adding, simply replace a with r for remove)
    There are a lot of other ways as well but they are limited to other distributions like debian, fedora, archlinux etc.
    I would like to know what you used to remove the group.
    Thanks for sharing these beautifully crafted tutorials. ❤

    • @MPrashant
      @MPrashant  Před 15 dny

      Right, I was focusing on su and sudo concept so didnt cover how to remove the group.
      we can use
      sudo gpasswd -d nick wheel
      Appreciate your feedback!

    • @MuhammadSaaddev
      @MuhammadSaaddev Před 15 dny

      @@MPrashant thank you for sharing! Keep up the good work 👍

  • @lenarjuna
    @lenarjuna Před 9 měsíci +2

    बहुत बहुत धन्यवाद आपका🙏🏻🙏🏻। आपकी वीडियो से बहुत सहायता हो रही है।

  • @manifestabundance-pu6ex
    @manifestabundance-pu6ex Před rokem +4

    Aise hi short videos are good for learning, refreshing etc.
    Keep it up!!

  • @rohitjagdale482
    @rohitjagdale482 Před 11 měsíci +1

    sir you explain complex things with ease thank you...!

  • @AbdultalibShiekh
    @AbdultalibShiekh Před rokem +2

    font size is good but can plz tell me how to change background and font colour .

  • @jatinsharma3792
    @jatinsharma3792 Před 11 měsíci +1

    I created group name "maiet" and created user "demo1", after this from my primary account I change the permision of file, I change the group to primary to "maiet" group. Now When I was writing the file even there is a permission for that I was unable to do that.

  • @jasperthetom
    @jasperthetom Před rokem +2

    Wow your way of teaching by making complex things understandable by everyone in so easy way is really impressive.I really appreciate your work. Thank you so much Bro.

    • @MPrashant
      @MPrashant  Před rokem +1

      Thanks a ton!
      Glad to hear that my videos are helpful :)

  • @manifestabundance-pu6ex
    @manifestabundance-pu6ex Před rokem +2

    Buddy
    use white background wala Terminal in all videos

  • @komaljaju2739
    @komaljaju2739 Před rokem +1

    I lerned new things from this video....as usual nice video

  • @Neel_Vjghfdssdfg
    @Neel_Vjghfdssdfg Před rokem +1

    Thankyou So much Sir,
    Pls make more video like this.😊👏

  • @hafizamaham-mb4wu
    @hafizamaham-mb4wu Před 17 dny

    In how to give sudo access to a user how can we know the name of group?like you use wheel group. How can we find the group name?

  • @kaushikmazumder3617
    @kaushikmazumder3617 Před rokem +1

    Keep up the good work, learning a lot from you 🙂

  • @AnuragSingh-kb1gs
    @AnuragSingh-kb1gs Před 2 měsíci

    ALL=LOCATE se updatedb command ka acess milta h ?
    aur ye pata kaise chalega ki konsi command ka acess dene ke liye konsa keyword daalna h

  • @akashkhandagale1293
    @akashkhandagale1293 Před rokem +3

    Hello sir,
    What are job opportunities for Linux users?

  • @daman2308
    @daman2308 Před rokem +1

    Video was quite helpful! Thanks

  • @khantech.online
    @khantech.online Před rokem +1

    Thanks. you explain very well. Thumbs up.

  • @tabrezahmad9295
    @tabrezahmad9295 Před 9 měsíci

    Sor pls make a full vidoe on Patching amd in LVM whats the difference betwwen -l and -L

  • @preetisahu6992
    @preetisahu6992 Před rokem

    Thankyou so much really helpful.... could you please tell why sometimes sudo su - command directly not changing users?

  • @rushikeshpardeshi2467
    @rushikeshpardeshi2467 Před rokem +2

    Thank you Sir🙏
    Make a video on web hosting

  • @abhinawsingh1
    @abhinawsingh1 Před rokem +1

    Helpfull video Thanks 👍

  • @NaushadAhmad-yi9pj
    @NaushadAhmad-yi9pj Před měsícem

    thanks

  • @bhuvipatil6173
    @bhuvipatil6173 Před rokem

    Hi bro i need to know about how to increase inodes in case of full utilisation of inode

  • @shriniwasbhoite3313
    @shriniwasbhoite3313 Před 9 měsíci +1

    I didn't get that part you gives the permission in sudoers file LOCATE command but you execute updatedb can pls explain me?

    • @MPrashant
      @MPrashant  Před 9 měsíci

      in sudoers file LOCATE was a group or alias which was pointing to updatedb command :)

  • @MohdMohsin-qm9uh
    @MohdMohsin-qm9uh Před rokem

    I keep waiting for your video because everytime i learn new things because your content is based on real time scenario.
    Thanks a lot.🙏🙏🙏

  • @ShubhsCloudOps
    @ShubhsCloudOps Před rokem

    How to add direct apt-get update and install permission for local user.

  • @adityasingh-hg5mo
    @adityasingh-hg5mo Před rokem

    Sir directory jab wahi rahegi aur user change to modification jo honge vo kaha pe honge??
    Matlab substitute user me ya jisme pwd me jo show kar raha hoga??
    Please reply anyone if know.

  • @MohdSajid-ds4yi
    @MohdSajid-ds4yi Před rokem +1

    Thanks

  • @kunalnangare5224
    @kunalnangare5224 Před 7 měsíci

    Hello sir.. nick user ko wheel group se konse command se nikal sakte hain?..

  • @Irfan-ju6dj
    @Irfan-ju6dj Před rokem

    Thank you sir for great video, sir ek question hai, if we login initially as a normal user in rhel, and try to do su, it will say permission denied?

    • @MPrashant
      @MPrashant  Před rokem

      Are you getting permission denied after entering password?

    • @Irfan-ju6dj
      @Irfan-ju6dj Před rokem

      @@MPrashant Yes Sir, after entering correct password, when I initially login with non root user, I cannot do switch user to root, but if I initially login to root user, then I can switch to non user.

  • @mohammedbaseer4588
    @mohammedbaseer4588 Před měsícem

    I am not understanding concept of sudu

  • @Mantikal
    @Mantikal Před 9 měsíci +3

    Let me get this straight - you put up a video with an English title but then you proceed to not talk in English - did I miss something?

    • @MPrashant
      @MPrashant  Před 9 měsíci

      I have set language of video as Hindi and also in Thumbnail

    • @HappyHollerz138
      @HappyHollerz138 Před 4 měsíci

      hes using "su-perior" pop_ulation rights lol jklol thank you sir.

    • @surajkhot7530
      @surajkhot7530 Před 14 dny

      @@Mantikal learn Hindi then

  • @vilasdhanani7590
    @vilasdhanani7590 Před měsícem

    Bro coures ki link tod di thankx whatever

  • @user-si7pj1jp1q
    @user-si7pj1jp1q Před 7 měsíci

    How to get password

  • @deveshpatil4838
    @deveshpatil4838 Před rokem +1

    Very great video sirr good night🙏🏻🙏🏻😊

  • @aryangupta3531
    @aryangupta3531 Před rokem +1

    Sir apna contact number de sakte hai kya