
How to use sudo su root - sudo no password - visudo - Chris Titus Tech
video description
Date: 2022-03-20
Related videos
Comments and reviews: 7
HIROX
-Chris Titus Tech OK I have a question for you. In an enterprise environment, how do i manage user sudo rights from a Windows Active Directory? I'm guessing that I need to set X commands to only be run by DOMAIN group, then add users to that group from ADUC. is that the best way to do this? editing SUDO directly for each user on each box is cool if you only have 3 boxes. but if you have 50 boxes......... o my.
reply
-Chris Titus Tech OK I have a question for you. In an enterprise environment, how do i manage user sudo rights from a Windows Active Directory? I'm guessing that I need to set X commands to only be run by DOMAIN group, then add users to that group from ADUC. is that the best way to do this? editing SUDO directly for each user on each box is cool if you only have 3 boxes. but if you have 50 boxes......... o my.
reply
teamvigod
Good tip and advice. Thanks. When I would do server admin I normally would ssh in as root (using private key always). I'd very rarely login as non-root account. On desktop in home environment will use your tip because installing packages and entering PW is a PIA everytime! Also if somebody does install as root and can't access as user they can always chown the file/folder.
reply
Good tip and advice. Thanks. When I would do server admin I normally would ssh in as root (using private key always). I'd very rarely login as non-root account. On desktop in home environment will use your tip because installing packages and entering PW is a PIA everytime! Also if somebody does install as root and can't access as user they can always chown the file/folder.
reply
anders
When I even type ''sudo su'' I always get to the point where I have to type my password in. When I type it in the correct way it says ''(my username) is not in sudoers file. This incident will be reported.'' Like, what do I actually do as I am new to linux. Even if I run your command ''sudo nano /ect/sudoers'' I still get the same thing when I type in my password.
reply
When I even type ''sudo su'' I always get to the point where I have to type my password in. When I type it in the correct way it says ''(my username) is not in sudoers file. This incident will be reported.'' Like, what do I actually do as I am new to linux. Even if I run your command ''sudo nano /ect/sudoers'' I still get the same thing when I type in my password.
reply
Sloppy
Good video, but for me, thanks, but no thanks. I'd rather type it in 20k times, the benefits are big for the effort that is comparatively small. I suppose changing that with a script in Path and forcing a script to return to default on boot is a valid solution. Requiring you to compromise your security only while installing packages.
reply
Good video, but for me, thanks, but no thanks. I'd rather type it in 20k times, the benefits are big for the effort that is comparatively small. I suppose changing that with a script in Path and forcing a script to return to default on boot is a valid solution. Requiring you to compromise your security only while installing packages.
reply
Hamlet
Hey Chris, an experienced user can edit sudoers with any editor but, as for the beginners, the recommended and safer way to edit sudoers is via: sudo visudo. This will prevent them from commiting syntax errors because if you put a single comma in a wrong place, you can break sudo and then they are going to have troubles restoring it.
reply
Hey Chris, an experienced user can edit sudoers with any editor but, as for the beginners, the recommended and safer way to edit sudoers is via: sudo visudo. This will prevent them from commiting syntax errors because if you put a single comma in a wrong place, you can break sudo and then they are going to have troubles restoring it.
reply
Sec
Do you mean you have to type your sudo pswd -every- time you used it? because if I have a terminal window that I typed the sudo password in, even if use sudo again it won't prompt me for a pswd for at least 15-25mins. In that terminal window.
reply
Do you mean you have to type your sudo pswd -every- time you used it? because if I have a terminal window that I typed the sudo password in, even if use sudo again it won't prompt me for a pswd for at least 15-25mins. In that terminal window.
reply
The
Thanks for the help! I've saved the link to this video in my browser. I started using computers in the DOS days, so Terminal is familiar to me. Even some of the commands are the same; just the modifiers are different.
reply
Thanks for the help! I've saved the link to this video in my browser. I started using computers in the DOS days, so Terminal is familiar to me. Even some of the commands are the same; just the modifiers are different.
reply
Add a review, comment















