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

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 60

  • @MuhammadSaaddev
    @MuhammadSaaddev День назад +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  День назад

      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 День назад

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

  • @lenarjuna
    @lenarjuna 8 месяцев назад +2

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

  • @manifestabundance-pu6ex
    @manifestabundance-pu6ex Год назад +4

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

  • @rohitjagdale482
    @rohitjagdale482 11 месяцев назад +1

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

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

      You are most welcome

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

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

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

      Thanks for the feedback!

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

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

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

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

  • @manifestabundance-pu6ex
    @manifestabundance-pu6ex Год назад +2

    Buddy
    use white background wala Terminal in all videos

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

    Video was quite helpful! Thanks

  • @jasperthetom
    @jasperthetom Год назад +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  Год назад +1

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

  • @khantech.online
    @khantech.online Год назад +1

    Thanks. you explain very well. Thumbs up.

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

      Glad it was helpful!

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

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

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

    Helpfull video Thanks 👍

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

    Thank you Sir🙏
    Make a video on web hosting

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

    Hello sir,
    What are job opportunities for Linux users?

  • @jatinsharma3792
    @jatinsharma3792 11 месяцев назад +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.

  • @MohdMohsin-qm9uh
    @MohdMohsin-qm9uh Год назад

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

  • @NaushadAhmad-yi9pj
    @NaushadAhmad-yi9pj Месяц назад

    thanks

  • @hafizamaham-mb4wu
    @hafizamaham-mb4wu 2 дня назад

    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?

  • @AnuragSingh-kb1gs
    @AnuragSingh-kb1gs Месяц назад

    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

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

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

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

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

  • @MohdSajid-ds4yi
    @MohdSajid-ds4yi Год назад +1

    Thanks

  • @adityasingh-hg5mo
    @adityasingh-hg5mo Год назад

    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.

  • @tabrezahmad9295
    @tabrezahmad9295 9 месяцев назад

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

  • @shriniwasbhoite3313
    @shriniwasbhoite3313 8 месяцев назад +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  8 месяцев назад

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

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

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

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

    Very great video sirr good night🙏🏻🙏🏻😊

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

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

  • @mohammedbaseer4588
    @mohammedbaseer4588 15 дней назад

    I am not understanding concept of sudu

  • @Mantikal
    @Mantikal 9 месяцев назад +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  9 месяцев назад

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

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

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

  • @Irfan-ju6dj
    @Irfan-ju6dj Год назад

    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  Год назад

      Are you getting permission denied after entering password?

    • @Irfan-ju6dj
      @Irfan-ju6dj Год назад

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

  • @vilasdhanani7590
    @vilasdhanani7590 28 дней назад

    Bro coures ki link tod di thankx whatever

  • @user-si7pj1jp1q
    @user-si7pj1jp1q 6 месяцев назад

    How to get password

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

    Sir apna contact number de sakte hai kya