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

Поділитися
Вставка
  • Опубліковано 3 лип 2024
  • ‪@MPrashant‬ #linux #linuxtutorial #mprashant
    Join this channel to get access to perks:
    / @mprashant
    Alright dosto!
    In this video, I'll show you how to give sudo access to a user using sudoers. I'll also show you a simple way to create a sudo user on Fedora 8 using the wheel group. Finally, I'll explain what sudo is and how it works.
    If you're looking to learn more about the Linux SU and SUDO commands, then this video is for you! I'll be demonstrating how to give sudo access to a user, how to use sudoers to manage who has sudo access, and how to create a sudo user on Fedora 8. By the end of this video, you'll have a solid understanding of the Linux SU and SUDO commands and how to use them to your advantage!
    --------------
    Topics Covered
    How to switch or change user in Linux?
    How to use su command in Linux?
    How to exit from current user in Linux?
    How to exit from current shell in Linux?
    How we can use SUDO command to execute command as root?
    What is sudo command?
    How sudo command works?
    What is sudoers in Linux?
    What is visudo in Linux?
    How to edit sudoers file in Linux?
    What is wheel group in Linux?
    How to give sudo access to a user in Linux?
    How to create a sudo user?
    How to give partial sudo permission to a user in Linux?
    Troubleshoot Sudo issues
    Timelines
    00:00 Intro
    01:00 How to Change a user in Linux?
    05:23 What is SUDO in Linux?
    06:46 Why I can't use SUDO command?
    07:39 About SUDOERS file
    09:30 Wheel group in Linux
    10:52 how to give SUDO access to a user
    12:30 How to give limited SUDO access to a user

КОМЕНТАРІ • 51

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

    Video was quite helpful! Thanks

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

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

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

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

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

      You are most welcome

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

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

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

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

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

      Thanks for the feedback!

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

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

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

    Helpfull video Thanks 👍

  • @khantech.online
    @khantech.online 10 місяців тому +1

    Thanks. you explain very well. Thumbs up.

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

      Glad it was helpful!

  • @manifestabundance-pu6ex
    @manifestabundance-pu6ex 10 місяців тому +3

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

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

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

  • @MohdSajid-ds4yi
    @MohdSajid-ds4yi Рік тому +1

    Thanks

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

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

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

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

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

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

  • @manifestabundance-pu6ex
    @manifestabundance-pu6ex 10 місяців тому +2

    Buddy
    use white background wala Terminal in all videos

  • @jatinsharma3792
    @jatinsharma3792 9 місяців тому +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.

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

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

    Hello sir,
    What are job opportunities for Linux users?

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

    Very great video sirr good night🙏🏻🙏🏻😊

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

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

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

    Thank you Sir🙏
    Make a video on web hosting

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

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

  • @shriniwasbhoite3313
    @shriniwasbhoite3313 7 місяців тому +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  7 місяців тому

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

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

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

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

  • @user-si7pj1jp1q
    @user-si7pj1jp1q 5 місяців тому

    How to get password

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

    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  7 місяців тому

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

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

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

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

    Sir apna contact number de sakte hai kya