Debian :: Cannot Use Sudo Although Su And Gksudo Works

Sep 27, 2015

I am trying to use sudo but it prompts that the password is wrong.

When I try to use gksudo everything is fine. I also can use su - without a problem.

I tried to add my user to sudoers and it seemed to work as you can see here:

Code: Select allronel : sudo root adm cdrom floppy audio dip video plugdev users netdev lpadmin

but it did not change the situation.

View 3 Replies


General :: Sudo Vs Gksudo / Difference Between Them?

Oct 23, 2010

Sudo vs gksudo What's difference ?

View 2 Replies View Related

Ubuntu :: Nautilus Requires Root Permission Even Without Gksudo,sudo,etc

Aug 15, 2010

Every time I try to open Nautilus it requires root permission even if I don't use commands like gksudo.

I launch it from docky's bookmarks applet, requires root.

Use a command like "nautilus /home/harvey" it still requires root.

Adding the file browser launcher to docky doesn't even LAUNCH nautilus.

But launching file browser from gnome-panel works O_O.

But I never use gnome-panel, so I'd like to be able to launch it from docky and commands and stuff without root permission.

View 1 Replies View Related

Debian Multimedia :: Etch>Lenny, Sudo Konqueror No Longer Works?

Feb 2, 2011

Testing an upgrade Etch>Lenny 5.08, and one issue I've found is that "sudo konqueror" in a teminal no longer gives root priveleges, instead konqueror starts with limited rights. It also seems that using a .desktop shortcut, an attempt to run konqueror under any credentials other than the logged-on user fails.

Yet, 'sudo kwrite' works. Anyone met this before, or know why?

View 3 Replies View Related

Ubuntu :: Shortcut To Access Sudo Nautilus (gksudo Nautilus) From The Current Window

Feb 11, 2011

Is it possible to change my current nautilus window to have sudo capabilities,? e.g. to delete locked files. It may be lazy but if it takes a lot of navigation then it would be handy to somehow activate sudo from the open window without the terminal command (gksudo nautilus) which always begins at root.

View 5 Replies View Related

Slackware :: Sudo: Umount Works, Mount Not Works?

Jul 8, 2010

I've got a problem in doing sudo working for mounting things (e.g. usb pen or optic discs). Details:The OS: Slackware 13.0The response to sudo -l command:

User user1 may run the following commands on this host:
root) /sbin/shutdown -h now, /sbin/shutdown -r now


View 3 Replies View Related

CentOS 5 :: SU Works But SUDO Fails With Incorrect Password?

Mar 27, 2009

I hope I haven't missed this in another forum but was tough to search for.While administering my new centos 5.2 x86 server through SSH I am successfully able to issue

View 11 Replies View Related

General :: Changing File Permissions Works As Root But Not As Sudo

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
user1 ALL=(ALL) ALL

View 2 Replies View Related

Ubuntu :: JDownloader Wont Write To / Media / X / But Works When I Run With Sudo?

Oct 6, 2010

I installed two programs recently, Vuze and JDownloader. Vuze seems to run perfectly fine and write to the /media/x directory.However JDownloader keeps saying "cannot write to location /media/x" or something like that. Only when i run it as sudo will it write to that location. So currently thats what I have done. But how do i make it so it runs without sudo and still can write to /media/x also, why is it that vuze has write permissions but jdownloader doesnt?

View 5 Replies View Related

Ubuntu :: Make Sudo Act More Like The Debian Sudo?

Jul 2, 2011

I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password

View 8 Replies View Related

Security :: Ubuntu 10.10 Is Not Allowing Amin Privileges To Admin User, Even Tho Sudo Works?

Feb 21, 2011

i am relatively new to ubuntu. Just recenty i have not been able to access certain files(for example the history and bookmarks in the firefox folder), download files individually from the internet(music,fonts,etc), recieving an error message

Quote: Originally Posted by firefox error console

Error: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: file:///usr/lib/firefox-3.6.13/components/nsSessionStore.js :: sss_writeFile :: line 2944" data: no][code]...

i have sudo priveleges and can install via update manager. i read somewhere that compizfusion might affect access permissions and i do use compiz and emerald at the same time.

View 9 Replies View Related

General :: CentOS / Sudo Doesn't Accept Root Password But Logging In As Root Works

Apr 9, 2010

I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?

View 1 Replies View Related

Ubuntu Networking :: Sudo Iwlist Scan Works But Cannot Connect To Network Using Network Manager

Jun 14, 2010

I have used ubuntu in the past but had a lot of hardware issues with it and unfortunately moved back to windows (( BUT i have tried Ubuntu again and all seems to work great except wifi My wifi connection is sort of working because when i run SUDO IWLIST SCAN it does pull up all available networks. But in the network manager icon on the panel i left click but i see no networks and can't connect to anything. I WOULD LOVE TO keep Ubuntu and use it permanently but I must get wifi working or else this won't be possible.

View 4 Replies View Related

Ubuntu :: Banshee Will Only Run With Gksudo?

Feb 15, 2010

I love Banshee (1.5.3). A bit bleeding edge, but when I tried to reinstall it I find I can only run it with gksudo.

My system:

Karmic 32 bit
AMD Athlon 64 X2 Processor 5200+
Chipset Geforce 6100
Drive 160G

View 9 Replies View Related

Fedora :: Can I Install One Of Apps That Tries To Run Needs Gksudo

Aug 14, 2009

One of the apps that tries to run needs gksudo. Can I install that? I can't find it in the fedora or rpmfusion repos

View 1 Replies View Related

Ubuntu :: Need Gksudo To Open Transmission

May 23, 2010

When I try to open Transmission I get a message: "Couldn't open "/home/shai/.config/transmission/lock": Permission denied", and the only way to open it is by using gksudo.

I read on another thread that I need to delete that file, but the file doesn't exist.

What should I do?

View 2 Replies View Related

Ubuntu :: How To Change Gksudo Background

Jan 20, 2011

I am wondering if i can change the background or theme when i do gksudo or when i have to type a password, let's say in synaptics.

View 9 Replies View Related

Ubuntu :: Gksudo And Gksu Stop Working?

Jan 20, 2010

I am running a file server on Jaunty. It was a fresh install about a month ago and I have been having problems ever since. I connect external drives to the machine to do nightly backups. Lately, I have been using GParted (Gnome Partition Editor) to format the drives before using them as backups, as I keep a backup for every day of the week.

After using GParted a couple of times, it will stop working and I can't open it or any other application that needs root privileges. I can't use Gnome to mount drives anymore. I have to open Terminal and use the mount command to mount drives. Trying to start gparted or any other application, including nautilus from the Terminal using gksudo or gksu, I get the following error message:

gksudo nautilus
(nautilus:25353): nautilus-extension-gnome-mount-WARNING **: Cannot connect to system bus: org.freedesktop.DBus.Error.LimitsExceeded : The maximum number of active connections for UID 0 has been reached
(nautilus:25353): nautilus-extension-gnome-mount-WARNING **: Could not initialize hal context


Once the machine is rebooted, everything works fine until I run a few more privileged applications, then the applications stop working again and this whole process starts all over. The only way to fix the problem so far is to reboot the machine, which is completely unacceptable.

View 9 Replies View Related

Ubuntu :: Gksudo Nautilus Changes Background To Default

Jun 24, 2010

gksudo nautilus sets the background to default (Because nautilus is rendering the desktop) I set the gconf key to stop it rendering the desktop, but this only affects the icons. How can I get it to give me back my background? Edit: Fixed the desktop (--no-desktop option on nautilus command) - need to find how to kill the nautilus process automatically when I close it.

View 9 Replies View Related

Ubuntu :: Get Errors Even When Running Nautilus Under Gksudo?

Sep 12, 2010

On Linux Mint, there is this theme called WildMint, looks somewhat like an older Ubuntu Studio theme. Anyway, I have been trying to find how to get it to work on Ubuntu instead of Mint. It is nowhere to be found on Gnome-Look and I've tried to search everywhere for it. Also, I've tried just copying the folder from /usr/share/themes but I just get errors even when running Nautilus under gksudo.

View 2 Replies View Related

Ubuntu :: Gksudo Doesn't Work As Expected

Oct 7, 2010

I am running following command- $ gksudo ./myscript

It doesnt do anything. If i run sudo, then it works perfectly fine.

View 4 Replies View Related

Ubuntu :: Gksudo Forgets The Password Immediately?

Apr 29, 2011

This occurred sometime in the past couple of days, perhaps because of an update that I just blindly accepted or due to some tinkering of my own. But for some reason, my gksudo never remembers the password I put in there anymore. When I sudo in a terminal it remembers no problem, and my sudo-via-terminal also responds to the "timestamp_timeout=x" variable in /etc/sudoers as it should. But does gksudo have it's own "/etc/sudoers" file where you can override the caching period for the password or does it reference the regular /etc/sudoers also?

View 2 Replies View Related

Ubuntu :: Gksudo Forgets Password Immediately

May 20, 2011

This occurred sometime in the past couple of days, perhaps because of an update that I just blindly accepted or due to some tinkering of my own. But for some reason, my gksudo never remembers the password I put in there anymore. When I sudo in a terminal it remembers no problem, and my sudo-via-terminal also responds to the "timestamp_timeout=x" variable in /etc/sudoers as it should. But does gksudo have it's own "/etc/sudoers" file where you can override the caching period for the password or does it reference the regular /etc/sudoers also? I have no clue where else to look....

View 7 Replies View Related

Ubuntu :: Gksudo/gksu Silently Refuses To Do Anything

Jun 2, 2011

This comes at some point after installing GNS3 and Dynamips, which require administrator access as GUI's. Although, the first couple times I tried to run GNS3 as administrator, it worked fine. I do still receive the password prompt, whether running from the command line or the context menu. Note that GNS3 is the first application for which I've needed to run gksudo, so this may have been an issue before the above were installed, although I've always been able to run "Open as Administrator" in Nautilus and "Synaptic Package Manager," which now will not run either.

Running Ubuntu 10.10.

View 3 Replies View Related

OpenSUSE :: Gksudo Command Not Found On Launching Hamachi-gui

Feb 23, 2010

can't find where is gksudo, it is a part of some pakage but witch one?

View 7 Replies View Related

Ubuntu :: Gksudo Nautilus" Didn't Work?

Jan 29, 2011

I tried "gksudo nautilus", and it didn't work! When the root window pops-up, it isn't there! I would like to delete this annoying file so that i can see my whole desktop.

View 7 Replies View Related

Ubuntu :: Change Gksu To Gksudo In Lxshortcut (for Synaptic Package Manager)

Nov 7, 2010

I installed lubuntu 10.10 from a minimal netinstall. For some reason, the main menu entry for synaptic package manager uses gksu instead of gksudo at the beginning of the command, as revealed by right-clicking the entry, then clicking "properties". This, of course, precludes the ability to access the program unless you're among the few who have activated the root user account. That's a problem in and of itself, but it's been recognized elsewhere. However, after I fixed the command and clicked "ok", nothing changed. I opened up the little properties menu again and it was gksu, as though I hadn't fixed the command.

The properties window is a mysterious little program called lxshortcut. I suspect that if I run lxshortcut using sudo, then the changes I make will actually stick. Problem is, I don't know how to find the actual location of the main menu's SPM shortcut/launcher-thingy. Nor are there any clear instructions on how to use lxshortcut in terminal. I flailed about with my best interpretation of vague instructions, but to no avail.

I downloaded alacarte (which is, of course, intended for gnome), and I got the software sources entry to show up in the list, but nothing else in the program responded when I clicked. The whole experience in alacarte was weird and unhelpful and somehow I've outright removed the menu entry for synaptic. And that's fine, I barely use it anyway, but Software Sources also has the same gksu problem, and I actually use that one. So how do I change the command associated with one of the preferences in the lxde/lubuntu main menu?

View 4 Replies View Related

Ubuntu :: Default Contents For The File That Opens - When Run Gksudo Gedit /etc/grub.d/05_debian_theme

Jan 9, 2010

The default contents for the file that opens when you run gksudo gedit /etc/grub.d/05_debian_theme in terminal.

View 3 Replies View Related

Ubuntu :: Sudo Ifconfig Eth0 Down Vs Sudo /etc/init.d/networking Stop

Jun 10, 2010

explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?

sudo ifconfig eth0 down
sudo /etc/init.d/networking stop

View 3 Replies View Related

Software :: Pam_start Error 26 \ Use Sudo Su And Add An Account To A Group What's Allowed To Use Sudo?

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 ( but it didn't really help me. There was a reply on that topic and his question was what the output of this was:

ldd /usr/bin/passwd


View 4 Replies View Related

Copyrights 2005-15, All rights reserved