Permissions are broken even after a fresh installHelp recovering broken OS (permissions issue)How to get rid off - sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load pluginsno Terminal commands are working at all after install of Lubuntu 14.04Not able to change /usr/bin permission - Permission deniedDeleted my /usr/ directory, recovered with chroot now getting a Segmentation fault (core dumped) trying to run SudoUnable to use sudo command/usr/bin/sudo must be owned by uid 0Not able to sudoHow to add /usr/bin to path after I mistakenly removed it (sudo and nano are no longer in path)Another upgrade error Systemd-shim
Is Social Media Science Fiction?
How would photo IDs work for shapeshifters?
What is the offset in a seaplane's hull?
How to deal with fear of taking dependencies
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
Is every set a filtered colimit of finite sets?
Why doesn't a const reference extend the life of a temporary object passed via a function?
Is it wise to hold on to stock that has plummeted and then stabilized?
Is domain driven design an anti-SQL pattern?
What is GPS' 19 year rollover and does it present a cybersecurity issue?
"My colleague's body is amazing"
Does bootstrapped regression allow for inference?
Copycat chess is back
What does 'script /dev/null' do?
Patience, young "Padovan"
Prime joint compound before latex paint?
Need help identifying/translating a plaque in Tangier, Morocco
What causes the sudden spool-up sound from an F-16 when enabling afterburner?
If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?
I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine
Pristine Bit Checking
Is "plugging out" electronic devices an American expression?
How can I add custom success page
What is the command to reset a PC without deleting any files
Permissions are broken even after a fresh install
Help recovering broken OS (permissions issue)How to get rid off - sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load pluginsno Terminal commands are working at all after install of Lubuntu 14.04Not able to change /usr/bin permission - Permission deniedDeleted my /usr/ directory, recovered with chroot now getting a Segmentation fault (core dumped) trying to run SudoUnable to use sudo command/usr/bin/sudo must be owned by uid 0Not able to sudoHow to add /usr/bin to path after I mistakenly removed it (sudo and nano are no longer in path)Another upgrade error Systemd-shim
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
So I decided to install Lubuntu today (it's the 18.04 release with the silly beaver) on my old Asus laptop using an external HDD with a Windows bootloader booting an ISO from disk to launch the live system and install Lubuntu. The install went swimmingly, but the very first thing I try to execute (sudo) gives me this error:
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set [duplicate]
I know this error has been posted more times than I've been around the sun, but whatever I do, whatever I try, nothing remedies it. I tried the permission tricks such as:
chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
only to have crap thrown in my face yet again, despite me executing this from the root recovery console.
Not only this, but I keep getting permission errors randomly. For example, I try to install a package and I get this random error about permissions on a file in /usr/lib (don't quote me on that) which also complains about invalid permissions.
Eventually, I got the time to do a reinstall, and the exact same issue occurs. So I redownloaded Lubuntu and tried again, only to have the exact same thing happen again.
To be noted: I cannot get online whilst in Lubuntu because I can't install the Atheros drivers due to this fault, so I can't do things like apt-get unless I physically connect my modem into the wall, so that's out of the question.
I verified the ISO and there's no issue there, so I'm lost as to what the cause could be.
Any, and I mean ANY suggestions gladly appreciated.
permissions lubuntu sudo
New contributor
add a comment |
So I decided to install Lubuntu today (it's the 18.04 release with the silly beaver) on my old Asus laptop using an external HDD with a Windows bootloader booting an ISO from disk to launch the live system and install Lubuntu. The install went swimmingly, but the very first thing I try to execute (sudo) gives me this error:
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set [duplicate]
I know this error has been posted more times than I've been around the sun, but whatever I do, whatever I try, nothing remedies it. I tried the permission tricks such as:
chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
only to have crap thrown in my face yet again, despite me executing this from the root recovery console.
Not only this, but I keep getting permission errors randomly. For example, I try to install a package and I get this random error about permissions on a file in /usr/lib (don't quote me on that) which also complains about invalid permissions.
Eventually, I got the time to do a reinstall, and the exact same issue occurs. So I redownloaded Lubuntu and tried again, only to have the exact same thing happen again.
To be noted: I cannot get online whilst in Lubuntu because I can't install the Atheros drivers due to this fault, so I can't do things like apt-get unless I physically connect my modem into the wall, so that's out of the question.
I verified the ISO and there's no issue there, so I'm lost as to what the cause could be.
Any, and I mean ANY suggestions gladly appreciated.
permissions lubuntu sudo
New contributor
You haven't told us what release of Lubuntu you are referring to. I also get the feeling you are talking about a VM installation (not real hardware). Did you verify your download? and then install media? prior to install. You weren't specific about atheros and I don't know what wiki (help.ubuntu.com/community/WifiDocs/Driver/Atheros etc) or online searches & questions on this site you tried to fix so I'll skip that. You also listchown root:root
which won't work as listed unless you're logged in as root. You're heavy on story & light on detail in my opinion.
– guiverc
5 hours ago
Sorry for the ambiguity. Hopefully the post is a bit better now. I am using real hardware and not a virtual machine. You can ignore the part about Atheros for now since it's not part of the issue.
– Melon Chickens
5 hours ago
To be noted; I did runchown root:root
as a root user, since that's what the terminal prompt in the recovery mode uses. The command did not give any verbose output so I assumed it executed fine.
– Melon Chickens
5 hours ago
"only to have crap thrown in my face yet again" isn't very helpful - if there were error messages, please include them verbatim
– steeldriver
4 hours ago
add a comment |
So I decided to install Lubuntu today (it's the 18.04 release with the silly beaver) on my old Asus laptop using an external HDD with a Windows bootloader booting an ISO from disk to launch the live system and install Lubuntu. The install went swimmingly, but the very first thing I try to execute (sudo) gives me this error:
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set [duplicate]
I know this error has been posted more times than I've been around the sun, but whatever I do, whatever I try, nothing remedies it. I tried the permission tricks such as:
chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
only to have crap thrown in my face yet again, despite me executing this from the root recovery console.
Not only this, but I keep getting permission errors randomly. For example, I try to install a package and I get this random error about permissions on a file in /usr/lib (don't quote me on that) which also complains about invalid permissions.
Eventually, I got the time to do a reinstall, and the exact same issue occurs. So I redownloaded Lubuntu and tried again, only to have the exact same thing happen again.
To be noted: I cannot get online whilst in Lubuntu because I can't install the Atheros drivers due to this fault, so I can't do things like apt-get unless I physically connect my modem into the wall, so that's out of the question.
I verified the ISO and there's no issue there, so I'm lost as to what the cause could be.
Any, and I mean ANY suggestions gladly appreciated.
permissions lubuntu sudo
New contributor
So I decided to install Lubuntu today (it's the 18.04 release with the silly beaver) on my old Asus laptop using an external HDD with a Windows bootloader booting an ISO from disk to launch the live system and install Lubuntu. The install went swimmingly, but the very first thing I try to execute (sudo) gives me this error:
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set [duplicate]
I know this error has been posted more times than I've been around the sun, but whatever I do, whatever I try, nothing remedies it. I tried the permission tricks such as:
chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
only to have crap thrown in my face yet again, despite me executing this from the root recovery console.
Not only this, but I keep getting permission errors randomly. For example, I try to install a package and I get this random error about permissions on a file in /usr/lib (don't quote me on that) which also complains about invalid permissions.
Eventually, I got the time to do a reinstall, and the exact same issue occurs. So I redownloaded Lubuntu and tried again, only to have the exact same thing happen again.
To be noted: I cannot get online whilst in Lubuntu because I can't install the Atheros drivers due to this fault, so I can't do things like apt-get unless I physically connect my modem into the wall, so that's out of the question.
I verified the ISO and there's no issue there, so I'm lost as to what the cause could be.
Any, and I mean ANY suggestions gladly appreciated.
permissions lubuntu sudo
permissions lubuntu sudo
New contributor
New contributor
edited 5 hours ago
Melon Chickens
New contributor
asked 5 hours ago
Melon ChickensMelon Chickens
11
11
New contributor
New contributor
You haven't told us what release of Lubuntu you are referring to. I also get the feeling you are talking about a VM installation (not real hardware). Did you verify your download? and then install media? prior to install. You weren't specific about atheros and I don't know what wiki (help.ubuntu.com/community/WifiDocs/Driver/Atheros etc) or online searches & questions on this site you tried to fix so I'll skip that. You also listchown root:root
which won't work as listed unless you're logged in as root. You're heavy on story & light on detail in my opinion.
– guiverc
5 hours ago
Sorry for the ambiguity. Hopefully the post is a bit better now. I am using real hardware and not a virtual machine. You can ignore the part about Atheros for now since it's not part of the issue.
– Melon Chickens
5 hours ago
To be noted; I did runchown root:root
as a root user, since that's what the terminal prompt in the recovery mode uses. The command did not give any verbose output so I assumed it executed fine.
– Melon Chickens
5 hours ago
"only to have crap thrown in my face yet again" isn't very helpful - if there were error messages, please include them verbatim
– steeldriver
4 hours ago
add a comment |
You haven't told us what release of Lubuntu you are referring to. I also get the feeling you are talking about a VM installation (not real hardware). Did you verify your download? and then install media? prior to install. You weren't specific about atheros and I don't know what wiki (help.ubuntu.com/community/WifiDocs/Driver/Atheros etc) or online searches & questions on this site you tried to fix so I'll skip that. You also listchown root:root
which won't work as listed unless you're logged in as root. You're heavy on story & light on detail in my opinion.
– guiverc
5 hours ago
Sorry for the ambiguity. Hopefully the post is a bit better now. I am using real hardware and not a virtual machine. You can ignore the part about Atheros for now since it's not part of the issue.
– Melon Chickens
5 hours ago
To be noted; I did runchown root:root
as a root user, since that's what the terminal prompt in the recovery mode uses. The command did not give any verbose output so I assumed it executed fine.
– Melon Chickens
5 hours ago
"only to have crap thrown in my face yet again" isn't very helpful - if there were error messages, please include them verbatim
– steeldriver
4 hours ago
You haven't told us what release of Lubuntu you are referring to. I also get the feeling you are talking about a VM installation (not real hardware). Did you verify your download? and then install media? prior to install. You weren't specific about atheros and I don't know what wiki (help.ubuntu.com/community/WifiDocs/Driver/Atheros etc) or online searches & questions on this site you tried to fix so I'll skip that. You also list
chown root:root
which won't work as listed unless you're logged in as root. You're heavy on story & light on detail in my opinion.– guiverc
5 hours ago
You haven't told us what release of Lubuntu you are referring to. I also get the feeling you are talking about a VM installation (not real hardware). Did you verify your download? and then install media? prior to install. You weren't specific about atheros and I don't know what wiki (help.ubuntu.com/community/WifiDocs/Driver/Atheros etc) or online searches & questions on this site you tried to fix so I'll skip that. You also list
chown root:root
which won't work as listed unless you're logged in as root. You're heavy on story & light on detail in my opinion.– guiverc
5 hours ago
Sorry for the ambiguity. Hopefully the post is a bit better now. I am using real hardware and not a virtual machine. You can ignore the part about Atheros for now since it's not part of the issue.
– Melon Chickens
5 hours ago
Sorry for the ambiguity. Hopefully the post is a bit better now. I am using real hardware and not a virtual machine. You can ignore the part about Atheros for now since it's not part of the issue.
– Melon Chickens
5 hours ago
To be noted; I did run
chown root:root
as a root user, since that's what the terminal prompt in the recovery mode uses. The command did not give any verbose output so I assumed it executed fine.– Melon Chickens
5 hours ago
To be noted; I did run
chown root:root
as a root user, since that's what the terminal prompt in the recovery mode uses. The command did not give any verbose output so I assumed it executed fine.– Melon Chickens
5 hours ago
"only to have crap thrown in my face yet again" isn't very helpful - if there were error messages, please include them verbatim
– steeldriver
4 hours ago
"only to have crap thrown in my face yet again" isn't very helpful - if there were error messages, please include them verbatim
– steeldriver
4 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Melon Chickens is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132284%2fpermissions-are-broken-even-after-a-fresh-install%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Melon Chickens is a new contributor. Be nice, and check out our Code of Conduct.
Melon Chickens is a new contributor. Be nice, and check out our Code of Conduct.
Melon Chickens is a new contributor. Be nice, and check out our Code of Conduct.
Melon Chickens is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132284%2fpermissions-are-broken-even-after-a-fresh-install%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You haven't told us what release of Lubuntu you are referring to. I also get the feeling you are talking about a VM installation (not real hardware). Did you verify your download? and then install media? prior to install. You weren't specific about atheros and I don't know what wiki (help.ubuntu.com/community/WifiDocs/Driver/Atheros etc) or online searches & questions on this site you tried to fix so I'll skip that. You also list
chown root:root
which won't work as listed unless you're logged in as root. You're heavy on story & light on detail in my opinion.– guiverc
5 hours ago
Sorry for the ambiguity. Hopefully the post is a bit better now. I am using real hardware and not a virtual machine. You can ignore the part about Atheros for now since it's not part of the issue.
– Melon Chickens
5 hours ago
To be noted; I did run
chown root:root
as a root user, since that's what the terminal prompt in the recovery mode uses. The command did not give any verbose output so I assumed it executed fine.– Melon Chickens
5 hours ago
"only to have crap thrown in my face yet again" isn't very helpful - if there were error messages, please include them verbatim
– steeldriver
4 hours ago