Fedora :: Sudo Is Slow In F11?
Jul 17, 2009
fter using Ubuntu and finding it way too unstable, Opensuse and finding it bloated, Arch and finding it confusing, I have finally settled on Fedora 11.The problem that I am having is a minor annoyance. I found that my default user couldn't use Sudo, so I added the following to the sudoers file:Quote:USER_NAME ALL=(ALL) ALL -- Where User_Name is the the name of my default user.The problem is that I can now use sudo but it is incredibly slow. For example if I type sudo yum install _____It'll ask me for my password and then pause for a minute or two literally before proceeding. It isn't the network causing this problem because it does the same thing if I issue commands that are specific to files only on my computer. Interestingly enough I don't have this problem if I use tty, only in Konsole.
View 6 Replies
ADVERTISEMENT
Jun 29, 2010
I've been having a problem with administrative apps all the way from last years' distros, and in 10.04-x64 it's still here.
When i launch an application that needs gksu, it simply hangs waiting for a gksu window that never shows up.
If i launch another administrative app, it hangs as well.
When i look at the process list, i get a lot of gksu instances, all sleeping.
if i kill those processes, the mentioned apps resume with an authentication error
But if i use a terminal and type sudo <app>, it hangs for a few seconds, then prompts for password and it works fine.
I don't know why it works so badly, but it needs to be fixed soon, many new users will surely find this very frustrating.
I run ubuntu 10.04-64bit on a AMD-Athlon-x2
View 4 Replies
View Related
Feb 5, 2010
My first post. I've been using Ubuntu Server edition (Hardy) happily for some time now.
I use sudo regularly during configuration of new services. It always works/authorises within seconds, however, it recently became very slow, to the point of being nearly unusable.
In /var/log/auth.log I noticed a regular working pattern like this code...
View 4 Replies
View Related
May 3, 2011
Previously on 10.10 "sudo update-grub" took 2-3 seconds.
I upgraded to 11.04 and it now takes 10 - 15 minutes.
Is unity generally much slower than GNOME?
View 4 Replies
View Related
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
Oct 11, 2009
Where is the SUDO file at, and remind me how do I add myself as a SUDO'er?
View 3 Replies
View Related
May 29, 2010
I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.
The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo
I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?
View 14 Replies
View Related
Apr 1, 2010
i have created a network at home, and i have connected 3 pc to a stwitch and the switch is connect to a computer which has xp in it. new i can use internet easily but when i am using internet in ubuntu it is ok, and also download any thing is also very good, but when i write "sudo apt-get" in terminal or use "synaptic package manager" they download software where slow not more than 14kb or sometimes in bytesi dont know what is the problem
View 5 Replies
View Related
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?
Code:
sudo ifconfig eth0 down
sudo /etc/init.d/networking stop
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
Jan 6, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
Code:
On the other hand
Code:
So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.
View 3 Replies
View Related
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
Jun 19, 2011
It is my understanding that they do the same: they ask for my password (if I am allowed in /etc/sudoers), and give me a login shell as root.
Is there any difference between them?
sudo su -
sudo -i
Also, what's the difference between
sudo su
sudo -s
I think that they both ask for my password, and give me a shell with my old environment variables.
View 1 Replies
View Related
Jun 18, 2010
I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.
View 8 Replies
View Related
Aug 2, 2010
I made it just like the example in visudo, but every time I exit I get an error: sudoers file: syntax error, line 87 <<<
I have tried it on several machines and always get the same thing, yet it is exactly like the example. Has anyone got an Idea what I am doing wrong ?
View 3 Replies
View Related
Mar 18, 2010
I can use "su" & "su -" commands, but somehow I can't use the "sudo" command?
View 2 Replies
View Related
Jul 5, 2010
When I type sudo [command] it prompts for my password and after I enter it it tells me that i'm not in the sudoers file. How do i fix this?
View 10 Replies
View Related
Jan 25, 2009
I'm running Fedora 9, and I've just started getting a problem (it was working the other day), where if I type
sudo su -
then any program which uses X gives an error about not being able to open the display.
For instance:
# gnome-terminal
No protocol specified
cannot open display: Run 'gnome-terminal --help' to see a full list of available command line options.
I've checked the value of $DISPLAY, and it's :0.0, (which is what it should be, and what my non-root user has as $DISPLAY).
I've also noticed, I can "ssh -Y" from my non-user account into root@localhost, and the display works!
View 6 Replies
View Related
Oct 1, 2010
I use Fedora 13 LXDE and I want to know how to use sudo with my user passwordnd desactivate the root account rather than the su command like Ubuntu distribs
View 7 Replies
View Related
Jan 12, 2011
Have recently entered the world of fedora.
I wanted to add my user in the sudoers group but when I give:
Tells me that I am not authorized.
I also tried to put before asking for the sudo password and then tells me that I am not part of the sudoers group ....
View 3 Replies
View Related
Oct 29, 2010
I need to run a command in a terminal, but cannot get root. I can in "Add Software" to install, I know and tried all the passwords I know from the install, but no show.What can I do?I tried sudo password, then typed in the space, no letters appear, but no success.TO "sudo password" after putting is my password, my username comes up and it says I am not in sudoers file.My Laptop has only one user, I know as I tried switching for a test.
View 12 Replies
View Related
Jun 11, 2009
i'm using Fedora 11 which i installed a couple of days back... i added my user name to the sudoer list but everytime i run the sudo command it takes at least 20 + seconds before anything happens... this happens everytime i run sudo... in comparison to running su things happen immediately... anyone else experiencing this? now everytime i install or run a command requiring root access i just use su...
View 7 Replies
View Related
Jan 20, 2010
Since yesterday my sudo doesn't work with my fingerprintreader anymore. su and GDM still do. sudo just asks me for the password instead of asking for a finger-swipe. AFAIR I changed nothing, but I accidentally forwarded the USB-Port on which the scanner is connected to VMware. I disconnected it, but maybe there could be the problem.
Fedora 12 x64, Thinkpad T61 integrated Fingerreader.
View 4 Replies
View Related
Jan 25, 2010
I have a weird question about the sudoers file. Currently, I am running "Red Hat Enterprise Linux ES release 4 (Nahant Update 8)".
I edited the sudoers file (via visudo) and added the following:
User_Alias RPTS2 = vtmtest
RPTS2 xxxxx = (jboss) /oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh
The user (vtmtest) issues the following command
sudo /oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh
and gets this message:
user vtmtest is not allowed to execute '/oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh' as root on xxxxx
When I look at the log, I see the following:
Jan 25 14:17:57 xxxxx sudo: vtmtest : command not allowed ; TTY=pts/12 ; PWD=/export/home/vtmtest ; USER=root ; COMMAND=/oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh
1. Why does sudo try to run as the root user, when I have specified in the command to run as jboss?
2. Do I need to specify anything else so that this command can run as the "jboss" user and not "root"?
View 2 Replies
View Related
Jul 6, 2010
I have written a tiny script which switches between 2 CPU frequency throttling governors. Now I need to assign it to a shorcut key though "Preferences->Keyboard Shortcuts".
Here is the script:
Code:
#!/bin/bash
if [ `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` = 'ondemand' ]
then
[code]....
As you can see this script involves sudo. I know that usually running commands with sudo requires "Run in Terminal" option for a shortcut, but in "Keyboard Shortcuts->Add" there is no option to run command in terminal. When I double click on the script and choose "Run in Terminal", then it functions as it should. How can I make this script execute by doing "Run" and not "Run in Termnal"?
View 2 Replies
View Related
Sep 20, 2010
I want to use root password instead of adding my user to the list of sudoers,In Arch wiki ander Root password:Users can configure sudo to ask for the root password instead of the user password by adding "rootpw" to the Defaults line in /etc/sudoers: but that did not work for me. it asks for root password.Why do I want to do that:
1. I want to do that, I like sudo more than su -c 'some_command'.
2. sudo enables bash completion, su -c does not.
3. I don't want to add my user to sudoers list.
I found many users Suggesting alternatives and lowering the important of my need for this, when I asked this question in anther please.
View 8 Replies
View Related
Nov 14, 2010
My 1st time using Terminal with sudo it would not accept my password.I use it successfully to log in and is the only password i used during installation.is there a way to get terminal yo accept my password-it does recognize my user name.
View 2 Replies
View Related
Jan 16, 2011
What is sudo? I tried to do this : sudo apt-get install mysql-server
And then it gave me this :
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
1) Respect the privacy of others.
2) Think before you type.
3) With great power comes great responsibility.
[sudo] password for mlocicero: mlocicero is not in the sudoers file. This incident will be reported.
View 4 Replies
View Related
Feb 9, 2011
It seems that every time I use the 'sudo' command I have to type a password. Is there a way to get 'sudo' to remember the password at least for the current session after I use it once or something like that?
View 14 Replies
View Related
Mar 3, 2011
edit the sudo config file to allow my account to use some commands as a root.so can someone advise me how should i do it.
View 3 Replies
View Related