Slackware :: Sudo: Can't Open /etc/sudoers: Permission Denied

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


ADVERTISEMENT

Server :: Sudoers Will Not Work - Error Says Sudu: Can't Open /etc/sudoers: Permission Denied

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

Slackware :: Error - Cannot Open /dev/ttyACM0: Permission Denied

Aug 7, 2010

I installed wvdial on my Satellite Toshiba laptop. All works well but I have to use the <wvdial> command as root. If I try to use it as a user i get an error message Cannot open /dev/ttyACM0: Permission denied So Im just wondering; is it ok to use wvdial as root?

View 2 Replies View Related

Slackware :: Error - Libusb Couldn't Open USB Device /dev/bus/usb/001/001: Permission Denied

Mar 24, 2011

Hello,

this error spams about 100 times, then the scanner does indeed work. So I'm not completely broken, but the error messages are of concern, and it slows down the process of scanning for the time it takes to do the messages.

Error in console:

libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes.

my sript runs:

scanimage
--device $MODEL
--resolution=$RESOLUTION
-x 5104 -y 6840

my groups:

uid=1000(fogie) gid=100(users) groups=100(users),7(lp),11(floppy),12(mail),15(man),17(audio),18(video),19(cdrom),20(games),21(sloca te),83(plugdev),84(power),86(netdev),93(scanner)

Even a simple:

scanimage -Lv

in console gives this on a separate --current pc as well.

View 2 Replies View Related

OpenSUSE :: Sudo And Graphic Apps Not Working - Can't Open Display: :0.0 From /etc/sudoers

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

General :: Trying Sudo MV Command On File - Permission Denied

Jul 17, 2010

If I try the sudo mv command on the file listed below I get the error listed. I am confused. It is my file & I have permissions. Somehow a slew of files on my system are now showing this way. This seems to correspond when I ran rsync from my netbook to sync it up with my desktop where I am having a problem.

Potential Source ->
sudo rsync -av --delete --rsh=ssh joe@192.168.1.4:/media/Abyss/Memories/ /home/joe/Pictures/

Type of issue ->
mv: cannot remove `100_2259.jpg': Permission denied

joe@Tux-Box:/media/Abyss/Memories/2009/3-09$ stat 100_2259.jpg
File: `100_2259.jpg'
Size: 243012 Blocks: 480 IO Block: 4096 regular file
Device: 811h/2065dInode: 1312030 Links: 1
Access: (0777/-rwxrwxrwx) Uid: (1000/joe) Gid: (1000/joe)
Access: 2010-07-17 11:41:26.708020712 -0400
Modify: 2009-12-13 21:49:59.501938000 -0500
Change: 2009-12-24 05:54:02.854309200 -0500

View 7 Replies View Related

Security :: Defaults For Sudo - Permission Denied And Script Fails

Mar 18, 2010

I have a CGI script that when called runs another script as a different user. Yet when the script does run I keep getting a permission denied in the logs and the script fails

In the sudoers file-
Defaults env_reset
www-data ALL=(charly) NOPASSWD=ALL

For the full question-
When looking at /etc/sudoers there is the defaults line that you can add things to. When doing a sudo -L so that I can see what I can put on that defaults line. Can an individual user have specific defaults? Ones that don't effect the rest of the people in /etc/sudoers?

View 1 Replies View Related

Ubuntu :: Permission Denied - Fail At Sudo /usr/lib/nx/nxsetup - Install - Due To File Is Missing

Feb 28, 2011

I am installing ubuntu to amazon EC2 by following the steps at [url] The installation works fine.

Then I want to gain Remote Desktop Access to Ubuntu, so I follow [url]

However, fail at sudo /usr/lib/nx/nxsetup --install due to this file is missing.

I then use putty, navigate into /usr/lib/nx to run command below.

wget [url]

But, it always come out with permission denied issue

I also try to upload the .tar.gz file via winscp to any of the possible directories.

All fail with permission denied issue.

Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 3

View 1 Replies View Related

General :: Change A File In Filestarter Using Sudo /etc/rsyslog.conf - Permission Denied

Aug 4, 2011

I Have been trying to change a file in filestarter using sudo /etc/rsyslog.conf. but am getting a permission denied message. How do I get into this file to change it ? Firestarter is working ok but for some reason it cannot open the system log. I Have found what amendments need to be made to get this to work but simply cannot get access to the file

View 2 Replies View Related

Fedora :: KVM Could Not Open Disk Image - Permission Denied

Dec 24, 2010

I'm getting error from KVM when i try to create new machine. I have install group Virtualization. From gui virtual-manager (after being asked for root passwd) tried to create new machine. When pressed on 'Finish' got this 'Permission denied' error:
Code:
Unable to complete install '<class 'libvirt.libvirtError'> internal error Process exited while reading console log output: char device redirected to /dev/pts/3
qemu: could not open disk image /sonik_data/software_archive/CentOS-5.5-x86_64-netinstall.iso: Permission denied

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1567, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1023, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1088, in _do_install "install")
File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1059, in _create_guest
dom = self.conn.createLinux(start_xml, 0)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1277, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/3
qemu: could not open disk image /sonik_data/software_archive/CentOS-5.5-x86_64-netinstall.iso: Permission denied

It's running as a root, what permissions we are talking about here? I'm running F14, kernel 2.6.35.10-72.fc14.x86_64, libvirtd 0.8.3

View 4 Replies View Related

Ubuntu Installation :: Permission Denied While Trying To Open /dev/sda1?

Mar 25, 2010

When, from the live cd I try to execute

Code:
e2fsck -y /dev/sda1
All i get is:[code].......

View 3 Replies View Related

General :: Cannot Open Network Interfaces - Permission Denied

Dec 11, 2010

I can't open etc/network/interfaces file comes some permission denied. What can I do?

View 2 Replies View Related

Slackware :: Usb With Qemu-kvm On 13.1 - Permission Denied

Dec 26, 2010

Here's the command:

Code:

gene@bruce:~/.qemu-kvm$ qemu-system-x86_64 -hda vms/ubuntu_disk.img -m 1024 -net user -net nic,model=e1000 -vga std -cdrom /home/gene/.qemu-kvm/ubuntu-10.10-desktop-amd64.iso -boot d -usbdevice host:046d:c50e

And here is what I get:

Code:

husb: open device 4.2
/dev/bus/usb/004/002: Permission denied

View 4 Replies View Related

General :: Unable To Open Pty - Permission Denied While Trying To Login To Vps Node

Mar 8, 2011

Unable to open pty: Permission denied while trying to login to vps node.

View 2 Replies View Related

Ubuntu Installation :: "Permission Denied" For Sudo Operation / Why Is So?

Sep 30, 2010

A few days ago I tried to install a driver for a Brother printer (HL-5040) in terminal mode by issuing "sudo dpkg -i --force-all hl5040lpr-1.1.2-1.i386.deb" on my Ubuntu 9.10 PC.

During the process several error messages were displayed. All of them say "permission denied" to access a directory /etc/init.d/lpd. Consequently, the installation failed and Synaptic package manager does not work any more and becomes broken.

Questions: Why did I get "permission denied" as a su? How can I get around the problem so I can re-install the driver?

View 3 Replies View Related

Debian :: Ntfs-3g Mount: Failed To Open /dev/fuse: Permission Denied

May 19, 2010

I cannot get access to my external hard disk. It says as in the "SUBJECT" above. What should I do? I installed Debian XFCE testing.

View 5 Replies View Related

CentOS 5 :: Su: Unable To Open Admin Password File: Permission Denied

Feb 25, 2011

when I try to su, with the right password I know it is because I have reset it with a sudo, it says su: incorrect password. Looking at /var/log/messages I see su: Unable to open admin password file: Permission denied. This must mean that the file has incorrect permissions and or owner/group. I am wondering if anyone knew where the file was located and the correct permissions/owner/group.

View 3 Replies View Related

Slackware :: Bugzilla - Permission Denied - Clean Install Of 13.1

Jul 24, 2010

I didn't back up the blasted /etc/httpd stuff.

I do a "clean" root-only install; i.e., the only partitions that are formatted are the root and usr partition leaving the others untouched (so I don't have to restore the entire thing every time or fiddle with updating). That leaves almost everything in place with only a few edits and additions to make to get back in business; smart and dumb and the same time, sigh.

The partitions look like this for what it's worth:

Code:

Anyway, my web server comes up just fine and other applications work as expected except for Bugzilla and I can't remember what the heck it is I have to do to get it going again. I add a file, httpd-bugzilla.conf in the extra directory and include it at the end of httpd.conf:

Code:

In the above, /var/www/htdocs/bugzilla is not a symbolic link, Bugzilla is actually installed there (and has worked just fine for a long, long time). And, yeah, I know I'm not really supposed to do that but there it is.

I also run checksetup.pl which completes cleanly (it also sets permission masks and group) and double-check that localconfig looks like it ought to.

Seems like that ought to do it, but...

Code:

View 1 Replies View Related

Ubuntu :: PHP Not Working - Warning: Unknown: Failed To Open Stream: Permission Denied

Mar 10, 2010

I just isntalled LAMP using tasksel and have a problem. Whenever I try to access a page (aside from phpmyadmin, that works well), I get this error... Code: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/var/www/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0

I have restarted the computer, restarted apache, etc and still nothing. When I first installed, phpmyadmin was inaccessible, so I ran some command in terminal which apparently created a symlink between phpmyadmin in the user/share dir to the /var/www dir, and curious if this is the problem. I have no clue how to remove this symlink if this is the case, and have phpmyadmin working now due to install using sudo apt-get install phpmyadmin.

View 1 Replies View Related

Ubuntu :: Server Virtual Site - Permission Denied - Unable To Open Logs

Apr 20, 2010

I was able to get the a2ensite command to enable a virtual site because it says "Site xxxxx.com already enabled" when I run the command. My problem now is that even though a site is enabled it says this: Code: /etc/init.d/apache2 restart * Restarting web server apache2

[Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts

(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Should I do a chown or chmod to a file?

View 1 Replies View Related

General :: BackupPC Basic Setup (13)Permission Denied - Not Open Password File: /etc/Backup?

Feb 22, 2011

I am having problems gaining access to the BackupPC admin web page. The error:

Quote:

[Tue Feb 22 16:43:59 2011] [error] [client 192.168.0.2] (13)Permission denied: Could not open password file: /etc/BackupPC/htpasswd [Tue Feb 22 16:43:59 2011] [error] [client 82.30.227.113] access to /backuppc failed, reason: verification of user id 'myhtaccessuser' not configured

Why is this occuring, is there anyway of getting around this? I just cant remember originally on my old system how I set this up.

View 3 Replies View Related

Ubuntu Servers :: Unable To Install Postfix Atal: Open Database /etc/aliases.db: Permission Denied?

Mar 14, 2010

Running newaliasespostalias: fatal: open database /etc/aliases.db: Permission deniedin my /etc I do not have a aliases.db only an aliases.I cp aliases aliases.db but when I try and install post fix again it gives me the same error and aliases.db goes away.

View 9 Replies View Related

Ubuntu Networking :: Cannot Open Mounted Shares On NAS "Permission Denied"

Mar 30, 2010

I have an Acer EasyStore NAS which I can access fine in Nautilus, but a server which I have been trying to mount via command line refuses to even let me view the contents of the folder. The mount command appears to work, a password is requested when connecting to the shared folder.

sudo mount -t cifs --verbose -o user=jason //nas/media /mnt/nas
mount.cifs kernel mount options: unc=//nasmedia,ver=1,rw,user=jason,ip=192.168.0.250,pas s=********

But I cannot even view the folder contents, as even a simple ls returns:

ls: cannot open directory /mnt/nas: Permission Denied

Even on my laptop which is able to access all the shared folders under Nautilus I am unable to mount shares from the command line.

View 1 Replies View Related

Ubuntu :: Error: "Note: Cannot Open TUN/TAP Dev /dev/net/tun: Permission Denied (errno=13)"

Mar 14, 2011

I have a problem setting up a TUN interface for OpenVPN. Running OpenVPN gives me this error: "Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)"

Which i tracked down to: "WARNING: Couldn't open directory /lib/modules/2.6.18-164.15.1.el5.028stab068.9: No such file or directory" (if i run /sbin/modproble tun). Does anyone know how to fix this?

View 1 Replies View Related

Red Hat / Fedora :: Couldn't Initialize KVM - Couldn't Open Disk Image - Permission Denied

Nov 13, 2010

create a VM here with virsh. I've managed to create the XML file and got it to work properly, however running it is the problem. These are the errors I get error: Failed to start domain Cent-OS, internal error process exited while connecting to monitor: open /dev/kvm: No such file or directory ,Could not initialize KVM, will disable KVM support qemu: could not open disk image /media/55D123D9E79ABF54/VM/Cent-OS-5.5.img: Permission denied

I've tried setting SElinux to permissive mode.

Fedora 14 X64
hypervisor qemu
XML:

[code]...

View 2 Replies View Related

Ubuntu Servers :: Dhcp3-server Fails To Start - Can't Open /etc/dhcp3/dhcpd.conf: Permission Denied

Oct 1, 2010

I installed dhcpd using:

Code:

Now when I try to run it, I get this weird error:

Code:

The error was:

I changed permissions to 777:

Code:

To no avail!

It's got something to do with AppArmor.

I don't think it is installed on this system:

Code:

View 1 Replies View Related

CentOS 5 :: PHP Not Working - Blank Page - Get This Warning: Unknown: Failed To Open Stream : Permission Denied In Unknown On Line 0?

May 5, 2010

I tried posting this before and I'm not sure what happened but I don't think it worked, so if it did please forgive the double post.am very very new to centOS and linux in general. I just want to setup a test web server that more closely mirrors our actual web server that is hosted by rackspace. I've installed centOS and tried to setup Apache, PHP and MySQL from a guide on the web using Yum. When I go to localhost in the web browser I'm able to see the default apache page. However when I create a php page it's just blank.When I look at the apache error logs I get this: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

I've been searching alot on the internet and I know the issue is permission related, but I don't know how to fix it. I've seen some forum posts that say you need to use the chmod 775 command on the /var/www/html folder.Currently when I do ls -l /var/www/html it returns

-rw------- 1 root root 19 May 5 13:16 index.php
-rw------- 1 root root 19 May 5 13:15 index.php~

I'm sure that this isn't correct but like I said I don't know much about how to set permissions or who the owner needs to be. I've done alot of searching and seen similar posts, but no one seems to explain it clearly.

View 2 Replies View Related

Ubuntu :: Evince Does Not Open External Links - Failed To Execute Child Process "nautilus" (Permission Denied)

Jul 6, 2010

On a fresh installed Lucide machine, I cannot open external hyper links (url) from within evince. I get the following error message:

Unable to open external link

Failed to execute child process "nautilus" (Permission denied)

View 1 Replies View Related

Slackware :: Getting "permission Denied" Both As Root

Sep 14, 2010

In previous Slackware libsane releases, my scanner was not supported. In 13.1 the support is there:

root@gandalf:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 03f0:3304 Hewlett-Packard DeskJet 990c
Bus 002 Device 004: ID 04a7:0229 Visioneer OneTouch 7100

[Code]....

Why am I suddenly getting "permission denied" both as root, and as the normal user (yes added to 'scanner' group)? What changed from the full DVD installation (using 2.6.33.4-generic and initrd) after added the the patches? I've been googling for months trying different "permission fixes" and fiddling with udev rules with no luck. So there is something I don't understand going on here.

View 8 Replies View Related

Ubuntu :: Sudo: User Is Not In The Sudoers File

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







Copyrights 2005-15 www.BigResource.com, All rights reserved