hello very good BUT SOMETHING MISSING: which is: i still can't freely copy-paste inside those folders which are protected by root privilege. I can enter without password but i have to do "Open as Root" before i can copy-paste, otherwise "paste" selection is grey-out in context menu, can you plz help-fix it too?
Hi, thanks for watching. I wouldn't say there is "something missing", at least your request was never the intention of the video :-) However, I now have an idea for another video so thank you very much for that. I've added it to the list.
its not working ....i can t see wahts wrong ! :(... its not asking for a password anymore within the terminal wehn i run this a second time but within mint starting things it still demands a password (root priveledges) ...does this need a reboot to take effect ?
Hi and thanks for watching. So you mean that you got it fixed for sudo from the terminal, but not when running things in the GUI/menu that require authentication? Meaning the "sudo visudo" part is configured correctly. By the sound of it, it is going wrong for you where the "sudo -s" part starts, at around 01:40 in the video. Can you paste your custom .rules file here so we can review it together? Also you can get this file from TECHMIMIC's GitHub if that's easier for you (link in the description). But to answer your question - yes, you'll need to restart the polkit daemon (or the machine), you can also have a look at the output of "sudo systemctl status polkit". Both are shown in the video as well.
Hi and thanks for watching. It appears that your user account (vishal) is not in the "sudo" group, which will prevent you from running sudo commands. When logged in as your vishal user type: groups It there's no mention of a group named sudo in the output, switch to the root account with: su - (You could also use any other account with administrative privileges) and type: usermod -aG sudo vishal You should now be able to use "sudo visudo" as the user vishal. Alternatively just use "visudo" as root.
@@versionfilm6629 Understood. But if you get authentication failure with su, then your password is still incorrect. I just installed a brand new Linux Mint 22 and created the normal user account during installation. "sudo visudo" works out of the box and my user is part of the sudo group by default. So something is off on your system. Does installing a package (try sudo apt install neofetch for example) work without problems? Anyway, try to use " sudo -i". That should allow you to become root with your own password and allow you to add your user back into the sudo group. Give it a go please. //Adjusted - after re-reading this, obviously sudo -i is not going to work, because sudo commands are not working for you :-)
I suppose you mean why do you have to configure certain settings in configuration files instead of an option somewhere in the GUI? You'll find that many options over time will appear in the GUI, but some just never won't. If you don't like vi/pico/nano, maybe you find it even more comfortable to type in the Terminal: xed and then the name of the file. This will open the graphical text editor in Linux Mint. Hope it helps!
great video. thanks. but i think there's something missing after you talked about and entered polkit-1/rules.d - i see you entering other things on screen - but you are not saying what you've entered on screen, nor is it visible in CC or in onscreen text. Specifically, there are 2 commands that are missing - which are barely visible on screen since the text is super small. I dont see the command to be entered for the 99rules file. I dont see that command in the video description. secondly, i see an error message in terminal - bash: cd: /sf/share/polkit-1/rules.d: No such file or directory - Pls Help!!!
Hi, and thanks for watching. It's not actually a command that you're missing, allow me to explain. I mention in the video that "you can use your favourite editor" and then I personally use vi (coming from an AIX background). But I'm wrongly assuming that people would use their own favourite editor or indeed know how to exit vi, completely my mistake resulting in this confusion. If you don't like vi, on Linux Mint you can try nano. It has easier controls. Also pico can be used but it will just revert back to nano on Linux Mint. How to exit vi is actually displayed at the bottom of the screen (too small) although not highlighted indeed in this particular video, and that must be the "command" you are missing. Once you're done with editing in vi, exit the Insert mode with ESC and then type :wq to save the changes and exit the file. In other videos I have shown it, this one I thought maybe I can do without but clearly not :-). Maybe you find it even more comfortable to type in the terminal: xed 99-nopasswd.rules - this will open the graphical text editor. Thank you for this sort of comment, it will only help to make this a better channel for all and for that reason alone I truly appreciate it that you took the time to let me know. Hope all is clear now!
Getting rid of authentications worked great! Thank-you!
You're welcome!
I was going to download another OS.... until i saw this video. Thank you
You just made my day with that comment, thank you!
hello very good BUT SOMETHING MISSING: which is: i still can't freely copy-paste inside those folders which are protected by root privilege. I can enter without password but i have to do "Open as Root" before i can copy-paste, otherwise "paste" selection is grey-out in context menu, can you plz help-fix it too?
Hi, thanks for watching. I wouldn't say there is "something missing", at least your request was never the intention of the video :-)
However, I now have an idea for another video so thank you very much for that. I've added it to the list.
its not working ....i can t see wahts wrong ! :(... its not asking for a password anymore within the terminal wehn i run this a second time but within mint starting things it still demands a password (root priveledges) ...does this need a reboot to take effect ?
Hi and thanks for watching. So you mean that you got it fixed for sudo from the terminal, but not when running things in the GUI/menu that require authentication?
Meaning the "sudo visudo" part is configured correctly. By the sound of it, it is going wrong for you where the "sudo -s" part starts, at around 01:40 in the video. Can you paste your custom .rules file here so we can review it together? Also you can get this file from TECHMIMIC's GitHub if that's easier for you (link in the description). But to answer your question - yes, you'll need to restart the polkit daemon (or the machine), you can also have a look at the output of "sudo systemctl status polkit". Both are shown in the video as well.
i got this error :
Sorry, user vishal is not allowed to execute '/usr/sbin/visudo' as root on vishal-Inspiron-3501.
Hi and thanks for watching.
It appears that your user account (vishal) is not in the "sudo" group, which will prevent you from running sudo commands.
When logged in as your vishal user type: groups
It there's no mention of a group named sudo in the output, switch to the root account with:
su - (You could also use any other account with administrative privileges) and type:
usermod -aG sudo vishal
You should now be able to use "sudo visudo" as the user vishal. Alternatively just use "visudo" as root.
@@TechMimic I have no other account just "vishal" as logged and I tried this ,it doesn't worked.
@@TechMimic after su - I type password which is null just spacebar, then it shows
su: Authentication failure.
@@versionfilm6629 Understood. But if you get authentication failure with su, then your password is still incorrect. I just installed a brand new Linux Mint 22 and created the normal user account during installation. "sudo visudo" works out of the box and my user is part of the sudo group by default. So something is off on your system. Does installing a package (try sudo apt install neofetch for example) work without problems?
Anyway, try to use " sudo -i". That should allow you to become root with your own password and allow you to add your user back into the sudo group. Give it a go please.
//Adjusted - after re-reading this, obviously sudo -i is not going to work, because sudo commands are not working for you :-)
@@TechMimic both installing not allowed nd sudo -i shows same error.
Why can't it be a checkmark?
I suppose you mean why do you have to configure certain settings in configuration files instead of an option somewhere in the GUI? You'll find that many options over time will appear in the GUI, but some just never won't. If you don't like vi/pico/nano, maybe you find it even more comfortable to type in the Terminal: xed and then the name of the file. This will open the graphical text editor in Linux Mint. Hope it helps!
great video. thanks. but i think there's something missing after you talked about and entered polkit-1/rules.d - i see you entering other things on screen - but you are not saying what you've entered on screen, nor is it visible in CC or in onscreen text. Specifically, there are 2 commands that are missing - which are barely visible on screen since the text is super small.
I dont see the command to be entered for the 99rules file. I dont see that command in the video description.
secondly, i see an error message in terminal - bash: cd: /sf/share/polkit-1/rules.d: No such file or directory - Pls Help!!!
Hi, and thanks for watching. It's not actually a command that you're missing, allow me to explain. I mention in the video that "you can use your favourite editor" and then I personally use vi (coming from an AIX background). But I'm wrongly assuming that people would use their own favourite editor or indeed know how to exit vi, completely my mistake resulting in this confusion. If you don't like vi, on Linux Mint you can try nano. It has easier controls. Also pico can be used but it will just revert back to nano on Linux Mint. How to exit vi is actually displayed at the bottom of the screen (too small) although not highlighted indeed in this particular video, and that must be the "command" you are missing. Once you're done with editing in vi, exit the Insert mode with ESC and then type :wq to save the changes and exit the file. In other videos I have shown it, this one I thought maybe I can do without but clearly not :-). Maybe you find it even more comfortable to type in the terminal: xed 99-nopasswd.rules - this will open the graphical text editor.
Thank you for this sort of comment, it will only help to make this a better channel for all and for that reason alone I truly appreciate it that you took the time to let me know. Hope all is clear now!
its spelled....CONSTANT. sorry :-)
It is indeed! Now corrected, also for the Linux Mint 21 video. Thanks for watching and pointing that out.