Ubuntu :: Error: Sudo: /etc/sudoers Is Owned By Uid 1000, Should Be 0
Jan 4, 2010
I have a problem, I changed the own of all the etc folder, it was a mistake, but I can't change it again, now, I cant use "sudo" because root is not the own. When I try to use "sudo" this is the error: sudo: /etc/sudoers is owned by uid 1000, should be 0. so, the own is my user instead of the root. How can I change it again?
View 6 Replies
ADVERTISEMENT
Feb 11, 2011
I've got the following error message on my Ubuntu 10.10 Server after messing up the root permissions.
Code:
/etc/sudoers owned by gid 1001 should be 0
I've found some threads on this forum but they do relate to Ubuntu Desktop while this is Ubuntu Server. Therefor I started a new thread. Hope you don't mind. I've tried the following command:
Code:
chown root:root /usr/bin/sudo
Code:
chmod 4755 /usr/bin/sudo
The first command works, the second returns error: No permission
View 1 Replies
View Related
Jul 23, 2011
I deleted /etc/passwd.lock and /etc/gshadow.lock. Now when I run normal command installation, I receive this following error-
rocky@ubuntu:~/Downloads/Modified Oracle$ sudo apt-get install bc
sudo: unknown uid: 1000
rocky@ubuntu:~/Downloads/Modified Oracle$
I'm unable to use sudo, please let me know what did I messed up. And how I correct this mistake? Why unknown uid:1000 is coming?
View 7 Replies
View Related
May 25, 2010
Running 9.10 now, I'd like to do a clean install of 10.04 on my dual-boot (with XP) Compaq notebook. As a test, I burned an ISO image onto a 1-GB stick and booted to 10.04 from it. It works just fine, except that the directories in the Documents folder on my hard drive are owned by "user 1000", and "he" grants me access to only about half of them.
Is this problem likely to persist if I actually install 10.04 rather than just running it from the stick? If so, what can I do about it? Second question: am I correct in understanding that if I still need to access my Ubuntu partition from XP, I'd better stick with ext3 for this install rather than going to ext4?
View 2 Replies
View Related
May 31, 2011
I have tried several things to attempt to fix my sudoers file however it is still coming up with errors. The error says
[code]...
the sudoers configuration file is set to the default as I have ran a dpkg on it, have also uninstalled and reinstalled it, and went over the configuration file ensuring it looked like the defaults I had seen online.
View 8 Replies
View Related
Jul 9, 2010
When I run '# sudo touch newfile' my expectation was that the file would be owned by me, not by root, as my understanding of sudo is that it is giving me, the user, root priviledges but does not actually switch the user.Do I have a fundamental misunderstanding of what sudo is about?
View 4 Replies
View Related
Mar 25, 2010
I get this message if i try to use sudo/gksudo. What causes this, how can I solve it? It has been working for years. If i remember correcttly there was a sudo update few days ago, maybe it doesnt work since then, i havent used it in the last few days.
View 9 Replies
View Related
Dec 24, 2010
Whenever I try to run something as root using the sudo comand I get: Code: ramy is not in the sudoers file. This incident will be reported.
View 6 Replies
View Related
May 31, 2011
When I try to use sudo, I get this error message.
Code:
sudo: /etc/sudoers is owned by uid 1000, should be 0
sudo: no valid sudoers sources found, quitting
View 6 Replies
View Related
Jun 10, 2011
After install TexLive, sudo stop working. If I run sudo:
Quote:
sudo: can't open /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
Edit: Hal and dbus is not working either, if i startx I don't have network manager or automatic mount of pen and disks.
View 10 Replies
View Related
Apr 12, 2011
This may be a stupid (?) question, but does any one know of a patch for sudo that allows the sudoers information to be pulled from mySQL?
I run multiple servers with multiple people working on them and would like a one-stop update of permissions.
Yes, I could use rsync or the like, but I'm just wondering if this has been done, or could be done.
(Sorry if this is the wrong forum, I'm kinda new around here, posting wise and this seemed to fit. Feel free to move it if it's not)
View 3 Replies
View Related
Oct 18, 2010
After upgrading GNOME to 2.32 in my openSUSE 11.3 x86_64 running graphic applications with sudo is impossible. (that means it worked before upgrading GNOME)
Code:
etam@etam-laptop:~> sudo xeyes
root's password:
No protocol specified
Error: Can't open display: :0.0 From /etc/sudoers:
Code:
Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER DISPLAY"
Some interesting facts:
[code]....
View 2 Replies
View Related
Jan 21, 2011
I was changing some file permissions with the chmod 777 command and i accidentally executed:
Code:
sudo chmod 777 /*/*/*/*
and now i can't get root access to anything. If I try executing a sudo command i get:
sudo: /etc/sudoers is mode 0777, should be 0440
sudo: no valid sudoers sources found, quitting
View 9 Replies
View Related
Aug 16, 2010
since a recent upgrade to Mandriva 2010.1 I am not able to 'sudo' as administrator or when I use the 'root' password. I am the only user on this machine (Dell Inspiron 530S multi-booted with Window's Vista Home Premium, Ubuntu 10.4, and Mandriva 2010.1). I can get into the 'Manage Users' section of the control center by authenticating as 'root' but I can't access 'sudoers file' from command line.
View 4 Replies
View Related
Feb 15, 2011
I have previously set up sudo via adding my name to the wheel group and then giving full privileges to the wheel group in the sudoers file. Now I choose to learn to limit that. Had noticed the most frequent use I have of sudo is to run yum update. This got me thinking, could I remove the wheel group privileges and add the following line in sudoers to limit the privilege to simply running yum, and furthermore, make it so I could run yum without a password:
## Allow root to run any commands anywhere
rootALL=(ALL) ALL
Troy ALL= NOPASSWD: /usr/bin/yum
I think that would in fact work (if I understood one of the pages here, it will work). However, upon further thinking I realized that in such a case then anyone sitting at my computer could then use yum, without a password, to install or remove any file on my system � probably not a good idea. As a result I have to ask, can I tighten the privilege even further such that the only privilege so given was to run �yum update� and nothing else? (for example if they ran �yum install� it would fail). If you can do it, how?
Last, I was going to limit the privilege, time wise and try wise, by adding the following to the sudoers file:
# Defaults specification
Defaults:Troy timestamp_timeout=0, passwd_tries=3
Will that really work to limit the elevated privilege so I don't have elevated privileges lingering about, or is there a better way to do so?
View 3 Replies
View Related
Jan 2, 2011
I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:
Code:
ldd /usr/bin/passwd
and
[code]....
View 4 Replies
View Related
Dec 8, 2010
I've been a distro-hopper for a while and just installed FC14. I like it and it seems very stable on my older Presario laptop (2170us with 1-Gig Memory and 80-gig HDD).In other distros, I was able to open a Terminal, type "su" & <password> then type "gedit" and take care of things like the Workgroup name in Samba, adding a user to sudoers, etc.....but in FC14's Terminal, typing "su" & <password> and then "gedit" results in all kinds of error messages (that I can't recall right now). I did find after typing "su" & <password>, that if I then typed "sudo gedit", gedit opens just fine.I had tried to type "sudo gedit" (before trying "su") but was told I wasn't in sudoers.I suppose it's minor for someone like me who can eventually find a way around it...but why won't gedit open when I'm a superuser by just typing "gedit"?
View 3 Replies
View Related
Sep 22, 2009
I have a router that is 1000 Base T and two computers each with ethernet cards that support 1000 Base T. All are equipped with Cat 5e cable. Before I had a router that only went up to 100 Base T and I would setup one box with linux running proftpd. On the other box,I would use win xp pro and use firefox to ftp into the other box and download a file. Download speeds went up to 11.2 MB/sec. Now when I switched routers, I expected something like 120 MB/sec but I'm only getting 5.3 MB/sec. What do I need to change?
View 12 Replies
View Related
Jan 1, 2010
Im newer in ubuntu i try to install ubuntu 9.10 in my Laptop HP DV5 Core2Duo 4Go Ram rin Windows 7 32bits and in Disc C: already windows 7 install on then i want install the both in th same HDD, like the same operation i make it in my Desktop Dell and it work perfectly, but now i have a error message please see Screenshot and I try to boot from CD and install Ubunto also i have screen black with 1000 ligne error
View 7 Replies
View Related
Jul 11, 2010
Recently I edited sudoers file and did typing error. Now neither I can do sudo nor change it.
Code:
sudo visudo -c
>>> sudoers file: syntax error, line 8 <<<
How I can get correct the sudoers file?
View 5 Replies
View Related
Apr 9, 2011
I'm trying to jail a sftp user. All I want is for my daughter-in-law to be able to download pictures of my grandson on his step-uncle's motorcycle. But I don't want her browsing around. She's not a techie, but she's smart enough to catch on how WinSCP is looking at my files. I've set up the jail using jk_init, adding ssh, sftp, bash, netutils, basicshell, jk_lsh.
The physical root of the jail is owned by root, as are all the binaries loaded by the jk_init. The user's home directory is owned recursively by the user and is writable only by the owner. The passwd and group files are in the jailed /etc and populated by the user's lines. Shell is bash, and bash is there too. The error message must be coming from some other problem that's not notifying, but what?
View 4 Replies
View Related
Nov 13, 2010
Recently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, so i wanted to edit sudoers file by typing visudo. But i keep getting this
error: Error opening terminal: vanilla How can i solve this.
View 1 Replies
View Related
Jul 11, 2009
I recently installed Fedora 11 with KDE 4 on virtual box. Now I need to install the guest additions, and doing requires sudo, but I can't because whenever I try to install the guest additions in terminal by typing "sudo ./VBoxGuestAdditionsx86", it gives me this "User is not in the sudoers File" Anyone know what to do so I can get the guest additions installed.
View 7 Replies
View Related
Feb 6, 2011
I have Ubuntu version 10.10 and I'm trying to install the HP DeskJet 1000 J110a printer. I have HPLIP version 3.11 (the latest version I believe). The printer shows up but when I try to print the error message reads: Printer requires the 'foomatic-rip-hplip' program but is not currently installed.
View 2 Replies
View Related
Oct 5, 2010
When I do sudo apt-get update, this is what I get:
W: Failed to fetch [URL]... Unable to find expected entry lucid-backports/source/Sources in Meta-index file (malformed Release file?)
View 2 Replies
View Related
Feb 20, 2011
I'm getting an error when typing in
Code:
sudo apt-get update
I receive:
Code:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
I'm running Umbuntu 10.10 and am quite new to all this
View 9 Replies
View Related
May 22, 2011
I can't check any update and can press button install Updates. I have this warning message. If I use terminal for update, I have this error (sudo apt-get update):
GPG error: [URL] natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 638ABCA0FA3A1271
View 3 Replies
View Related
Oct 17, 2010
When I go to terminal and run
Code:
It runs for a while, then at the end it gives me a error message that says:
Code:
Now what am I supposed to do to fix this problem?
View 7 Replies
View Related
Oct 31, 2010
I just got this error message when Update Manager tried updating:
Could not initialize the package information
An unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the following error message:
'E:Type 'sudo' is not known on line 56 in source list /etc/apt/sources.list'
I've been using Ubuntu for awhile, so I know my way around some stuff, but I'm completely lost on what to do here.
View 4 Replies
View Related
May 7, 2011
Recently sudo apt-get update (and all other apt-get commands) has resulted in the error:
Quote:
I have apt installed, and I don't know of any changes I've made (I booted a Freebsd install dvd but I didn't end up installing (i'm looking at putting it onto an external hdd).
Output of sudo find / -name "apt-get" -print:
Quote:
Quote:
Quote:
I still seem to be able to install/update from update manager and synaptic, but I rely on command line for apt-get update when I'm not at uni (which runs through a proxy).
View 8 Replies
View Related