Hello!
After some updates I start to have 2x "Access denied" after sudo password in terminal, but it works.
For example, I enter "sudo caja", then enter correct password and output is 2 lines of "Access denied" and then caja starts...
Can anybody explain why it happen?
After right password "Access denied" twice and then command run
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
After right password "Access denied" twice and then command run
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: After right password "Access denied" twice and then command run
Running graphic applications using sudo can leave you without proper access to your own files...
http://www.psychocats.net/ubuntu/graphicalsudo
https://askubuntu.com/questions/425620/ ... ifferences
http://www.psychocats.net/ubuntu/graphicalsudo
https://askubuntu.com/questions/425620/ ... ifferences
...and I guess that's what is causing the messages.You should never use normal sudo to start graphical applications as Root.You should use gksudo (kdesudo on Kubuntu) to run such programs. gksudo sets HOME=~root, and copies .Xauthority to a tmp directory. This prevents files in your home directory becoming owned by Root.
Re: After right password "Access denied" twice and then command run
Besides that, what Mute Ant wrote - in other words: you create problems on your own - the content of the 2 lines would be needed; or do both lines really say nothing else?Artur005 wrote:output is 2 lines of "Access denied"
Re: After right password "Access denied" twice and then command run
Hello!
Thanks for answers!
Now I will use gksudo, but I use sudo for 2 years and never have that kind of problem. I use "sudo caja" only for editing system files like rc.local to add services what should be restarted after computer is started.
Today, problem was gone by it self, but then I update Mint, and here it go again...
Output:
adminuser@pg-jupenieks2 ~ $ gksudo caja
Access denied
Access denied
Initializing caja-open-terminal extension
Thanks for answers!
Now I will use gksudo, but I use sudo for 2 years and never have that kind of problem. I use "sudo caja" only for editing system files like rc.local to add services what should be restarted after computer is started.
Today, problem was gone by it self, but then I update Mint, and here it go again...
Output:
adminuser@pg-jupenieks2 ~ $ gksudo caja
Access denied
Access denied
Initializing caja-open-terminal extension
Re: After right password "Access denied" twice and then command run
Indeed, only those rather meaningless lines.
I use Cinnamon, so I cannot give Mate specific advices. But some general help:
Create a fresh new user account and check the behavior there.
I use Cinnamon, so I cannot give Mate specific advices. But some general help:
Create a fresh new user account and check the behavior there.