Ubuntu Servers :: Slow Sudo After Accidental Change / Make It Up?

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


ADVERTISEMENT

Ubuntu :: Accidental Permission Change To 'none' On Folder?

Mar 13, 2010

A rather new user here, was messing with the preferences on a user folder of mine on Karmic, looking for a way to make the folder invisible to users (like the old windows option). Set it to 'none', then closed it, returned to the directory finding the folder with a box with an 'x' on it.

Went to open it, it says 'access denied'. So I think 'okay, how do I undo that', go back to see if I can restore it back to 'read & write' with no sucess.

Seached the forums for a solution to this issue, most of solutions revolve around 'gksudo nautilus' which I attempted to open via command-line. Nothing seemed pop open after I entered my password in responce to entering said command-line, probably because I really don't know how to use Nautilus.

View 4 Replies View Related

Ubuntu Servers :: FTP Slow In Certain Folders / Make It Up?

Jul 21, 2010

I posted this yesterday, but my post completely disappeared (I looked high and low -- nothing.)
I am using Ubuntu Server 10.04, all the latests updates.
For an FTP Server, I use ProFTP.

One specific directory, and it's subdirectories on my server will not download at a reasonable rate. They move at about 17-50KBPS.
All other folders work fine, at around 1.5-2.5MBPS.

What is going on? I have no idea how to troubleshoot this. The files being transfered are in a directory under home. They should have no permissions issues (I reapplied the permissions I want already), I tried restarting ProFTP, the files vary in sizes (from a few kilobytes to about 120 megabytes).
I use Webmin for most web management.

I am not having overload issues with my network card or CPU utilization while downloading these files. They are being accessed from the local network.

This issue is taxing because the files in question are backup files.

View 9 Replies View Related

OpenSUSE Install :: Revert The Changes Or Change The Permissions Again To Root:root Or Make Sudo Work

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

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

Ubuntu :: Gksu Not Working - Sudo Slow ?

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

Debian :: Checkinstall" Seems To Be Not Installed "sudo Apt-get Make" Does Not Workcheckinstall" Seems To Be Not Installed "sudo Apt-get Make" Does Not Work

Feb 12, 2011

So installing a programm is a problem. I like to install Aqualung. "/.configure" works. But "make" seems to be not installed. "checkinstall" seems to be not installed "sudo apt-get make" does not work. I have no internet connection with linux, because I have no idea how I install the network card. I guess this sudo command use internet? Is there another way to compile that program? (And just by the way, why must this be so difficult?

View 3 Replies View Related

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 View Related

Ubuntu Installation :: 11.04 Unity - Sudo Update-grub So Slow

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

Ubuntu :: Make Firefox Open Only With Sudo?

Dec 24, 2010

as the tittle says, need to make firefox access only to in sudo mode, how can i do this?

View 2 Replies View Related

Ubuntu Security :: How To Change Sudo Behaviour

Jun 14, 2010

I've enabled root under Ubuntu (i know frowned upon), I'd like to change the default behaviour of sudo so that rather than requesting my password (the password I logon with), it requires the root password.

Have searched the forums but can't find the answer.

View 9 Replies View Related

Ubuntu :: Sudo Broken After Hostname Change

Nov 2, 2010

I changed my hostname by running sudo gedit /etc/hostname and changing the word there. Then I discovered that hadn't done anything so I used sudo hostname newname. My hostname was changed then but I tried to run sudo gedit /some/thing/else.txt and it said:

Code:
sudo: unable to resolve host newname
No protocol specified

(gedit:5512): Gtk-WARNING **: cannot open display: :0.0 and it says the same with sudo or gksudo for any program that has a gui including synaptic. I can run vi but I have no idea how to use it. I think the problem lies in the lines in /etc/hosts which still say

[Code]....

with the problem being that it still says localhost and my local IP address are ubuntu instead of newname. So if you could tell me how to edit that with vi or some other command line program

View 2 Replies View Related

General :: Make Sudo Session An Hour And Not Few Minutes In Ubuntu 10.04?

Jun 7, 2010

How I can make sudo Ubuntu 10.04 session an hour and not few minutes?

Now I have to write my password for sudo commands every few minutes.

View 4 Replies View Related

Ubuntu Security :: Which Process Make Sudo Gconftool On Computer

Jan 29, 2010

On my HTPC/Server unbuntu box I have installed logwatch in order to get a daily look on my computer activity.

And I often have this line in the report :

Quote:

root => my_user
-------------
/usr/bin/gconftool - 3 Times.

The corresponding line in auth.log are :

Quote:

./auth.log:Jan 28 07:59:31 sweetBox sudo: root : TTY=unknown ; PWD=/ ; USER=my_user ; COMMAND=/usr/bin/gconftool --get /system/http_proxy/use_http_proxy
./auth.log:Jan 28 07:59:32 sweetBox sudo: root : TTY=unknown ; PWD=/ ;

[Code].....

View 6 Replies View Related

General :: Make Sudo Ask For The Root Password?

Jul 9, 2010

When I run sudo as a normal unprivileged user, it asks for my password, not the root password. That's often convenient, but it reduces the amount of information someone would have to have in order to run commands as root. So how can I make sudo ask for the root password instead of the invoking user's password? I know it'd be done with a line in /etc/sudoers, but I can never seem to properly parse the BNF grammar in the man page to figure out exactly what to write.

View 4 Replies View Related

OpenSUSE :: How To Change Sudo Password

Jun 6, 2011

Is there a way to change the sudo password after installation has taken place? I know you can change the user password via that box in 'About me' but that still leaves behind the old sudo password.

View 1 Replies View Related

CentOS 5 :: Using Sudo To Change To Root?

Sep 17, 2009

A few years ago I fellow admin showed me this command:sudo su - to change to rootIs this a 'best practice' method or a hap hazzard approach to system administration?I consulted with a senior admin and he frowned on this access to root.

View 3 Replies View Related

Ubuntu :: When Write "sudo Apt-get" In Terminal Downloading Slow?

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

Debian :: Build Process - Use Sudo For Make Install - Difference?

Dec 26, 2010

What are the differences if I build (./configure, make, make install) an app when log in as root vs a "regular" user other than I have to use sudo for make install? If an app is built from a non-root account, will it be available to every other user on the system?

View 4 Replies View Related

General :: Make Shared Keys .ssh/authorized_keys And Sudo Work Together?

Jul 15, 2010

I've setup the .ssh/authorized_keys and am able to login with the new "user" using the pub/private key ... I have also added "user" to the sudoers list ... the problem I have now is when I try to execute a sudo command, something simple like:

$ sudo cd /root

it will prompt me for my password, which I enter, but it doesn't work (I am using the private key password I set)Also, ive disabled the users password using

$ passwd -l user

I am trying to harden my system ... the ultimate goal is to use pub/private keys to do logins versus simple password authentication. I've figured out how to set all that up via the authorized_keys file.Additionally I will ultimately prevent server logins through the root account. But before I do that I need sudo to work for a second user (the user which I will be login into the system with all the time).

For this second user I want to prevent regular password logins and force only pub/private key logins, if I don't lock the user via" passwd -l user ... then if i dont use a key, i can still get into the server with a regular password.But more importantly I need to get sudo to work with a pub/private key setup with a user whos had his/her password disabled.

1) I've adjusted /etc/ssh/sshd_config and set PasswordAuthentication no This will prevent ssh password logins (be sure to have a working public/private key setup prior to doing this

2) I've adjusted the sudoers list visudo and added

root ALL=(ALL) ALL
dimas ALL=(ALL) NOPASSWD: ALL

3) root is the only user account that will have a password, I am testing with two user accounts "dimas" and "sherry" which do not have a password set (passwords are blank, passwd -d user)

The above essentially prevents everyone from logging into the system with passwords (a public/private key must be setup). Additionally users in the sudoers list have admin abilities. They can also su to different accounts. So basically "dimas" can sudo su sherry, however "dimas can NOT do su sherry. Similarly any user NOT in the sudoers list can NOT do su user or sudo su user.

View 3 Replies View Related

OpenSUSE Install :: Change Password Just For Sudo?

Apr 6, 2010

I'm using Debian and openSUSE 11.2 and the sudo-ing is a bit different in Debian. It actually makes more sense to enter your own password like in Debian to achieve sudo status than have to use the root password for sudo status. If I for example would like to give someone on my system sudo rights, I can't give them the root password. Thats just like giving them root access. Or is there a way to change that behavior, or just change sudo password, in openSUSE? Or maybe any other best practice for giving users sudo rights?

View 6 Replies View Related

Ubuntu :: U10.10 Really Slow / Make It Up?

Nov 23, 2010

I upgraded my computer to a AMD 1055T 6 core cpu and a new install with 8 gigs of ram. I notice that alot of things are lagging. I have the new updates and it is really slow and that is when I reset any ideas?

View 2 Replies View Related

Ubuntu :: Change Both Login/sudo And Default-keyring Passwords With One Operation?

Jan 24, 2010

How to change both the login/sudo and default-keyring passwords with one operation? If I recall correctly, to change one'slogin and sudo password, one must use `passwd` or System>Preferences>About Me>Change Passworddefault-keyring password, one must goto Accessories>Passwords and Encryption Keys>Passwords, rclick on keyring>Change PasswordIs there a way to do both with one operation? preferably from commandline? preferably in karmic?

View 2 Replies View Related

Ubuntu Servers :: PSSH - How To Use Sudo

Oct 24, 2010

I have a set of servers that I have to manage and I thought that pssh (parallel-ssh) would be a great tool for the job. Except that I can not see how to use that with 'sudo'. I can set password-less ssh between multiple servers for a given user. But I cannot see how to do administrative work if I cannot call SUDO as it requires a password to be entered firstly.

View 5 Replies View Related

Ubuntu Servers :: 10.10 - Can't Sudo Apt-get Update

Mar 16, 2011

I wanted to installed transmission on my buntu server box 10.10 tonite so from my laptop top i ssh'd into it...which took an unordinary amount of time.. went to type in sudo apt-get install transmission half way through each word at the terminal prompt it would just hang...had to wait then it would recognize my typing and i could continue....pressed enter waited a long time; then noticed i coulnd't connect to the repos?

So i manually (as in sitting at the box not over ssh) tried to ping google nothing....sudo apt-get update....nothing....

- i restarted the machine twice
-sudo ifdown eth0 /sudo ifup eth0

sudo nano /etc/networking/interfaces made sure it said

Quote:

I have my router saved to assign 192.168.0.100 to the machines eth0 MAC of 00:14:2a:e9:15:0b so i can always use my webUI w/o having to guess my ip ifconfig shows my broadcast running i dunno i'm sooo confused and lost scared...a lil' cold....kinda hungry..pretty tired....

I'm on cli no gui anyone ever have this?

Quote:

View 8 Replies View Related

Ubuntu Servers :: Can't Sudo When X Forwarding

Jul 13, 2011

I'm trying to set up my mythtv backend on a headless box. The many tutorials out there tell you to run mythtv-setup from a machine with a display by x forwarding through ssh.

Code:

ssh -X username@ipaddress /usr/bin/mythtv-setup

The x forwarding works fine except that the first part of the mythtv-setup requires you to stop the mythtv-backend process which you have to do as root. It brings up a box asking for your password (much like is would if you just typed sudo xxxxxxx in the terminal) but it won't accept the password. Looking in the auth log it seems that it can't authenticate

Code:

Jul 13 11:21:08 server su[21869]: pam_unix(su:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/pts/1 ruser=administrator rhost= user=root
Jul 13 11:21:10 server su[21869]: pam_authenticate: Authentication failure

[code].....

Now I know that my account (administrator) can have root privileges because I can sudo xxxx to my hearts content via ssh in the terminal, but it seems to not work when it's being requested from a forwarded X window....

View 2 Replies View Related

Ubuntu :: Accidental Boot To GNOME?

Jun 9, 2010

I 've been running Kubuntu 10.4 for some time now.At some point, I installed evolution-indicator and indicator-messages, and after reboot, the system booted on GNOME instead of KDE.Is there any way to reverse it? I tried uninstalling both packages but that did not have any effects.

View 3 Replies View Related

Ubuntu :: 10.04 Downloading Very Slow / Make It Up?

Apr 30, 2010

I've stopped the download several times already due to it being so slow. I resumed the downloading at file 1991 (out of 2046 files....) but it's not budging from there. Are there really so many downloads going on today it is making it hard to download?

View 1 Replies View Related

Ubuntu :: Disk Very Slow After Going From 9.04 To 10.04 / Make It Up?

Oct 1, 2010

My disk is very slow after I installed ubuntu 10.04 over my old 9.04. Doing some tinkering helped a little code...

But it is still far too slow. On the other version, I had a custom partition setup, with the home partition with 100GB, and ext3 (and other partitions for swap, boot, root folder and space for a windows partition I never cared to install ).

This time I am using a standard Lynx setup (2 partitions, the swap and the main one with almost 250Gb, using ext4).

Some applications I develop, that use disk for some unit tests, are now very slow to work with. Is there a way to making it faster? Going back to 9.04? Waiting for 10,10? Gparting and making partitions smaller on ext3? I don't know if any of these will work.

View 2 Replies View Related

Ubuntu :: External HD Very Slow / Make It Up?

Feb 21, 2011

I worry about mounting properly an external USB hard disk.
It is a sata 1To NTFS formatted
It works perfectly with a XP SP3.
With xuxbuntu 10.10 , with ntfs-3g installed , it is VERY long to transfer data:it took almost 3 days for 360Go.
When I connect to the station , it automatically mount by itself on /media/disk without any option;I suspect bad options are used and no use of NTFS-3G.
How to oblige it to mount with good options?

View 3 Replies View Related







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