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.
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?
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.
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:
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.
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?
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
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
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?
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.
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.
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.
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?
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.
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.
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.
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?
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 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.
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.
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.