Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That means the error is with the configuration of sudo and not with konsole. Re-check your settings in /etc/sudoers and make sure you can run the above command manually before retrying with the terminal emulator.
That means the error is with the configuration of sudo and not with konsole. Re-check your settings in /etc/sudoers and make sure you can run the above command manually before retrying with the terminal emulator.
You are looking for an error there. :/ Take a look at the output using the -l option.
Code:
sudo -l
It should list what you have available for that host. If that does not give a clue then look at /etc/sudoers itself.
Code:
sudo more /etc/sudoers
And pay attention to the parts you yourself have changed. Most distros seem not to be setup for resolving the host names properly, so you may have to have it ignore the host name. There are not too many use-cases for small-office-home-office situations where it would be useful anyway.
I never modify this file, so don't understand why it should error. Is the error msg saying my hostname is missing or invalid? I typed in the cmd: "hostname" and the return was "(none)". But I checked the /etc/hosts file and the hostname is set to "Aspire-LT" at 127.0.1.1
Doesn't the /etc/sudoers file read this /etc/hosts file?
No, I don't think it does read /etc/hosts. I am somewhat sure that sudo uses the same source as the hostname utility does.
I would recommend starting a new thread about the sudo problem and then returning to this thread when that is resolved. People more familiar with sudo will see the new thread even if they have ignored this one about konsole.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.