Slackware :: Warning - The Upgrade Of Sudo In - 64 -13.1 Modifies The Permissions On /var
Sep 15, 2010
The sudo upgrade of 2010-09-15 modified permissions on /var in my systems, both on 32 and 64 bit. (from 755 to 700) My subversion server stops working after the upgrade, you have to restore the old permissions by hand. I don't inspect how, but I've checked it few times...
View 5 Replies
ADVERTISEMENT
Sep 16, 2010
A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.
View 1 Replies
View Related
Feb 3, 2010
I want to make a script for something, but I'm worried the timeouts on sudo permissions (how you can't got more than 5/10 minutes between sudo commands before needing your password again). Basically, I don't want my script to be redundant and require overseeing for password inputs.
Code:
sudo echo Hello.
sleep 6000
sudo echo This is text. This shows the basis of the problem. I will need to enter my password twice.
Would allowing it to run uninterrupted be as easy as running this theoretical shell script his sudo to begin with?
View 1 Replies
View Related
May 22, 2010
Just added a new 250g internal-drive in my karmic box, all seems OK and I formatted the partition with Gparted as ext4 but now can't create folders. Unfortunately I don't seem to be able to use a bash shell either, if I type anything in I get no problems until I attempt sudo and then I'm unable to type in a password!
View 2 Replies
View Related
May 19, 2011
I'm running rhel6 64bit. Accidentally I ran % chmod -R 777 /etc and after that I have a problem to do 'su' or 'sudo'. When I did sudo it complained that /etc/sudoers has 777 while it should be 0440. I changed that and also restored right permission for:
-rw-r--r-- 1 root root 1966 May 19 13:41 /etc/passwd
-r-------- 1 root root 1161 May 19 13:42 /etc/shadow
-r--r----- 1 root root 3746 Apr 23 01:38 /etc/sudoers
Anyway it failed to 'su'. Then I restored back permissions on files in /etc/security and /etc/sysconfig. Still can't do 'su'. Note: I could login from console as root but can't 'su' or 'sudo'. when I do 'su' it gives error: Password: su: incorrect password
View 2 Replies
View Related
Jan 6, 2011
I just upgraded to Mepis 11 alpha 2 and am using the gnome desktop. I downloaded the appropriate version of Opera. When I try to install it using dpkg -i, it wont allow it because I do not have permission in either "user" or "root" desktop. I tried to edit sudoers file but it it doesn't seem to work. I can't use sudo because I am not in sudoers file and I cannot edit sudoers file because I do not have sudo permission. When I am in root desktop, I still do not have permission even to read sudoers file. How do I install Opera?
View 14 Replies
View Related
Nov 22, 2010
I have a really strange problem. I have a few files in a large directory that I want to make readable by everyone. So I try this:
sudo find readme* -not -perm -o+r -exec chmod +r {} ;
and get this:
sudo: unable to execute /usr/bin/find: Success
I don't know why it says Success, because the permissions were not changed. I verified by typing this:
find readme* -not -perm -o+r -exec ls -l {} ;
and get something like
-rw------- 1 root root 536871076 Nov 22 14:06 readme_20101122200429
-rw------- 1 root root 536871892 Nov 22 14:08 readme_20101122200642
-rw------- 1 root root 293458128 Nov 22 14:10 readme_20101122200859
as a last resort, I tried:
sudo chmod +r *
and got:
sudo: unable to execute /bin/chmod: Success
and again Success really means fail. So, I gave up and logged in as root and tried:
find readme* -not -perm -o+r -exec chmod +r {} ;
This time it worked. Why?
EDIT: /etc/sudoers looks like:
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
##Me
user1 ALL=(ALL) ALL
View 2 Replies
View Related
Mar 17, 2010
tl;dr - sudo make -> operation not permitted, sudo chown -R 777
* -> operation not permitted on some of the files
I am trying to install a library. Sudo make is getting permission denied on file 1, while using regular make I am getting permission denied on file 2. I have noticed some of the directories in the library are under nobody:nogroup. I tried chown and sudo chown, both didn't work. Sudo chown got permission errors, while chown didn't change ALL the files. (operation not permitted once again) Tried sudo su, and working from there, that also did not work. (permission once again). Using lsattr returned "lsattr: Inappropriate ioctl for device While reading flags on".
Code:
sudo chmod -R 777 *
chmod: changing permissions of `Makefile': Operation not permitted
chmod: changing permissions of `Makefile.am': Operation not permitted
chmod: changing permissions of `Makefile.in': Operation not permitted
chmod: changing permissions of `queue.c': Operation not permitted
chmod: changing permissions of `queue.h': Operation not permitted
chmod: changing permissions of `ucutil.h': Operation not permitted
Note the .libs folder not having write permission....
Code:
chmod -R 777 *
constantin@Nadfadfo:~/network_home/constantin/libraries/unicap/libunicap-0.9.8/common$ ls -la
total 68
drwxrwxrwx 4 constantin constantin 4096 2010-03-17 11:31 .
drwxrwxrwx 8 constantin constantin 4096 2010-03-17 11:31 ..
drwxrwxrwx 2 constantin constantin 4096 2010-03-17 11:31 .deps
drwxr-xr-x 2 nobody nogroup 4096 2010-03-17 11:31 .libs
-rwxrwxrwx 1 constantin constantin 15295 2010-03-17 11:31 Makefile
-rwxrwxrwx 1 constantin constantin 130 2010-01-17 08:17 Makefile.am
-rwxrwxrwx 1 constantin constantin 15262 2010-01-17 08:17 Makefile.in
-rwxrwxrwx 1 constantin constantin 6101 2010-01-17 02:49 queue.c
-rwxrwxrwx 1 constantin constantin 1667 2010-01-17 02:49 queue.h
-rwxrwxrwx 1 constantin constantin 125 2010-01-17 02:49 ucutil.h
System: Karmic Koala 64-bit
View 1 Replies
View Related
Feb 8, 2010
I set-up my Sudo it works but when I use Gedit I get the following message
Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers
If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?
View 9 Replies
View Related
Mar 30, 2010
I'm now using Ubuntu 9.04 and I think of upgrading it to version 10.04 (when it shall be "stable").I'd like to know if I am supposed to modify /etc/apt/sources.list with the name of the new version even though I upgrade by "update-manager-core" with the command sudo do-release-upgrade
View 1 Replies
View Related
Jun 21, 2010
On running aptitude update and then aptitude upgrade following warning notedfollowing packages have been kept back:
[code]...
View 7 Replies
View Related
Jul 16, 2011
I mount two ntfs partitions under my Slackware/win/C/win/Dwhen i process a search via "find" it give me the following when reach /win directoryfind: warning: not following the symbolic link '/win/C/Document and settings'i wantto know what is going on and the solution
View 2 Replies
View Related
May 20, 2011
Just upgraded (libudev0 and related) and system fails to mount other partitions, gives a lot of errors and drops to single mode.
View 14 Replies
View Related
Oct 17, 2010
I am running 8.04 on a Toshiba Satellite A100 laptop. (My Toshiba model is unfortunately the one with the Phoenux BIOS)I have been happy with 8.04 LTS for quite some time now and was thinking of upgrading to 10.04 LTS, which the Update Manager says is available. I normally choose to upgrade a few months after release once things have stabilised a bit. I figured it was now time for 10.04.I accordingly have first taken all the updates for 8.04 and brought it up-to-date. Then when I click on Upgrade, I get the following messageUpgrading may reduce desktop effects and performance in games and other graphically intensive programs.This computer is currently using the AMD 'fglrx' graphics driver. No version of this driver is available that works with your hardwarein Ubuntu 10.04 LTS.
Do you want to continue ?Since I wasn't sure of the exact entire implications, I said NO and exit the upgrade at that point.I then googled a bit and found this to be a pretty serious installation issue with a number of people who unfortunately have ATI display cards.But then I came across this page:Does the above link mean that this problem is now solved with respect to 10.04 as well ?Also, if not, what are the implications for me ? Does this mean I have to be stuck on 8.04 only ?If I choose to upgrade anyway, what display functionality will I lose ?I don't need Desktop Effects or other toys. But I do use GIMP quite a bit and also watch videos in multiple formats. Will I not be able to do these ?
View 9 Replies
View Related
Jun 28, 2011
After upgrading from 10.10 to 11.04 I get the following warning /etc/cron.daily/man-db: dpkg-query: warning: parsing file '/var/lib/dpkg/available' near line 59383 package 'amaya': error in Version string 'wx-11.3.1-1': version number does not start with digit
Following is an extract of the file
------------------------------------------------
Package: amaya
Priority: optional
Section: web
[code]...
View 1 Replies
View Related
Jun 1, 2010
While upgrading to a newer version of Ubuntu I noticed a warning saying that the installation/upgrade should not be interupted. Unfortunately though, during this process my computer froze up and I had to shut it down. Ubuntu no longer starts on my computer. I still have Windows though, which is what I'm using now.
View 3 Replies
View Related
Aug 10, 2011
Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?
View 3 Replies
View Related
Apr 23, 2011
I've done an upgrade from lenny to squeeze.Now, I'm getting a lot of udev warning messages at the boot time.Knows someone howto remove them?
View 6 Replies
View Related
Jun 21, 2010
Debian 5.0 32bit On running aptitude update and then aptitude upgrade following warning noted
[code]...
View 4 Replies
View Related
May 27, 2011
How do I add a user to be able to sudo?
View 14 Replies
View Related
Jan 19, 2010
When trying to do an update or upgrade, I get the following:
Running Transaction Warning: RPMDB has been altered since the last yum transaction. Traceback (most recent call last):
[Code]....
I have tried yum clean all, yum clean metadata, rpm --rebuilddb, and even removing /var/cache/yum. yum info and yum list both work fine. Naturally, this yum problem is preventing me from updating my system.
View 8 Replies
View Related
May 4, 2010
Had Ubuntu 9.01 in Windows 7 as a Dual Booty - no problems.
When upgrade to 10.04 attempted the following errors occur:-
1. Missing Resources warning - " The Networkmanager Applet could not find some required resources. It cannot continue."
When I click OK wireless connection is totally lost with no means of reconnecting.
2. Download progresses but freezes at the download of "Preparing memtest86+"
View 1 Replies
View Related
Mar 12, 2010
I recently did a fresh install of current and once I had it up and running I compiled a fresh 2.6.33 kernel using my old config file, but now I get this warning durning boot, specifically during module loading WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release. This doesn't seem to be causing any problems but I am curious to know what the message meams? I checked /etc/modprobe but everything looks normal.
View 1 Replies
View Related
Jul 27, 2010
I have a server that started out at 8.04 LTS was upgraded to 8.10 and to 9.04. When I upgraded to 9.04 sudo and ssh stopped working.
Fortunately I have a root account and can login as root or su to root.
I suspect this is the result of changes I made to nsswitch.conf and pam.conf to get winbind working.
I was hoping for a fix by upgrading to 9.10, but that didn't work. I want to upgrade to 10.04 LTS, and stay there but I think need to resolve this first.
auth.log reports failed password for ssh attempts and authentication failed for sudo. I am at a loss to determine where the problem is and how to track it down.
View 3 Replies
View Related
Jun 17, 2011
I started with
Code:
sudo apt-get install testdisk
It hung so I hit Ctrl-Z then ps -a and found the process and
Code:
sudo kill -9 PID
I went and deleted the lock file in /var/lib/dpkg/ on the install and ran
Code:
sudo dpkg --configure -a
I rebooted and it is still hanging when I do a sudo apt-get upgrade it still hangs at testdisk:
Code:
Preconfiguring packages ...
(Reading database ...
dpkg: warning: files list file for package `testdisk' missing, assuming package has no files currently installed.
(Reading database ... 159122 files and directories currently installed.)
Preparing to replace testdisk 6.11-1 (using .../testdisk_6.11-1_i386.deb) ...
Unpacking replacement testdisk ...
I tried to uninstall it via the package manager and it hangs there too. I'm in 10.10...and I think this is the only time I've had an install hang...
View 8 Replies
View Related
Dec 28, 2010
I've created a firewall with iptables rules and saved them into my bin directory (then changed them to executable) However i cant use "sudo firewall-start" it just prints a whole heap of garbage. When i use the "sudo firewall-start" command as root, it works perfectly. Im sure there's a simple solution to this problem, but cant seem to find one in the forums.
View 5 Replies
View Related
Mar 17, 2010
My problem is to get postfix working with a smarthost, to send mails from home with dynamic IP, and which needs authentication. I did exactly the same with Slackware 12.2 (postfix 2.6.2) and it worked. Now I tried to do with 2.6.2 (actual running version is 2.7.0 with the same problem) on Slackware 13 64bit. Following error message occurs around every minute in the maillog:
[code]...
View 2 Replies
View Related
Dec 29, 2010
This is my slackware 13.1 new installation `.xsession-errors'.
Code:
<stdin>:1:3: error: invalid preprocessing directive #Those
<stdin>:2:3: error: invalid preprocessing directive #or
<stdin>:3:3: error: invalid preprocessing directive #Xft
[code].....
(polkit-gnome-authentication-agent-1:1742): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:1742): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
View 1 Replies
View Related
Mar 4, 2011
When running sudo apt-get upgrade, the following error occurs.
Code:
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
View 1 Replies
View Related
Jun 1, 2011
I have been using ubuntu or a derivative distro and perhaps I grew too used to sudo. If it matters I am on Slackware 13.37 and xfce4. I was able to adjust sudoers to allow sudo but I am having difficulties running some progs as root. The biggest concern is trying to start thunar as root. It wont run after sudo, su, or su -l. What am I doing wrong?
View 10 Replies
View Related