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

‪@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 Жыл бұрын

    Video was quite helpful! Thanks

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Glad it helped!

  • @kaushikmazumder3617
    @kaushikmazumder3617 Жыл бұрын

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

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Glad to hear that!

  • @rohitjagdale482
    @rohitjagdale4829 ай бұрын

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

  • @MPrashant

    @MPrashant

    9 ай бұрын

    You are most welcome

  • @lenarjuna
    @lenarjuna6 ай бұрын

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

  • @MPrashant

    @MPrashant

    6 ай бұрын

    Welcome!

  • @komaljaju2739
    @komaljaju2739 Жыл бұрын

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

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thanks for the feedback!

  • @Neel_Vjghfdssdfg
    @Neel_Vjghfdssdfg Жыл бұрын

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

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thanks!

  • @abhinawsingh1
    @abhinawsingh1 Жыл бұрын

    Helpfull video Thanks 👍

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Glad it was helpful!

  • @khantech.online
    @khantech.online10 ай бұрын

    Thanks. you explain very well. Thumbs up.

  • @MPrashant

    @MPrashant

    7 ай бұрын

    Glad it was helpful!

  • @manifestabundance-pu6ex
    @manifestabundance-pu6ex10 ай бұрын

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

  • @MPrashant

    @MPrashant

    10 ай бұрын

    Glad you like them!

  • @manifestabundance-pu6ex

    @manifestabundance-pu6ex

    10 ай бұрын

    @@MPrashant Thank YOU, dost!!

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

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Welcome, keep watching!

  • @jasperthetom
    @jasperthetom Жыл бұрын

    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

    Жыл бұрын

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

  • @MohdSajid-ds4yi
    @MohdSajid-ds4yi Жыл бұрын

    Thanks

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Welcome!

  • @preetisahu6992
    @preetisahu699210 ай бұрын

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

  • @AbdultalibShiekh
    @AbdultalibShiekh Жыл бұрын

    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-pu6ex10 ай бұрын

    Buddy use white background wala Terminal in all videos

  • @MPrashant

    @MPrashant

    10 ай бұрын

    Noted

  • @jatinsharma3792
    @jatinsharma37929 ай бұрын

    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 Жыл бұрын

    Hello sir, What are job opportunities for Linux users?

  • @deveshpatil4838
    @deveshpatil4838 Жыл бұрын

    Very great video sirr good night🙏🏻🙏🏻😊

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thank you!

  • @tabrezahmad9295
    @tabrezahmad92957 ай бұрын

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

  • @rushikeshpardeshi2467
    @rushikeshpardeshi2467 Жыл бұрын

    Thank you Sir🙏 Make a video on web hosting

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Sure I will try!

  • @ShubhsCloudOps
    @ShubhsCloudOps Жыл бұрын

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

  • @shriniwasbhoite3313
    @shriniwasbhoite33137 ай бұрын

    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
    @kunalnangare52244 ай бұрын

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

  • @4WheelsChairs-fb8lw

    @4WheelsChairs-fb8lw

    3 ай бұрын

    gpasswd -d username group

  • @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-si7pj1jp1q5 ай бұрын

    How to get password

  • @Mantikal
    @Mantikal7 ай бұрын

    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 Жыл бұрын

    Sir apna contact number de sakte hai kya