Ubuntu Servers :: Sudo And Ssh Not Working After Upgrade?
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
ADVERTISEMENT
Mar 10, 2011
I have installed Ubuntu Server 10.10 in Virtual Box in order to evaluate it for a project.I have installed Gnome and can log in fine using my password. However, whenever I am prompted for my password when doing anything SUDO I am told my password is incorrect, starting Synaptic, for example
View 9 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
Apr 6, 2010
I upgrade one of my servers from 8.04 to 9.04 and now libvirt is not working anymore.
The funny part is that the virtual machines are working perfectly because I can access them via ssh/ftp/etc.
I just can't access the libvirt interface. For example, if I issued (as root):
virsh -c qemu://system
I halts with Connecting to uri: qemu:///system error: failed to connect to the hypervisor
Is there a trace/debug that I can verify ?
View 1 Replies
View Related
May 7, 2010
Code:
* Starting ClamAV daemon clamd
WARNING: Ignoring deprecated option MailFollowURLs at line 33
ERROR: Can't initialize the internal logger
ERROR: Can't open /var/log/clamav/clamav.log in append mode (check permissions!).
...fail!
[Code]...
View 5 Replies
View Related
Oct 10, 2010
I had a working server 9.04 on my network and I could access shares via Samba and MacFusion from Windows, ubutu and mac boxes. After the upgrade I can not access shares via Samba, I can ssh in it just fine (no change there) also Macfusion mounts the paths just fine.
Anybody had this problem with the upgrade? It must be samba everything else is working (also I can't access any files from my Ubuntu Laptop running 10.10 Desktop edition)
Here is my smb.conf file:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
wins support = yes
; wins server = w.x.y.z
dns proxy = no
[Code]...
View 9 Replies
View Related
Nov 19, 2010
I had sybase server running on my desktop but after the upgrade it does not seam to start properly. tried to restart the server many times but does not seam to help
The logs are displaying as below
00:00000:00001:2010/11/19 13:53:08.21 server Recovery complete.
00:00000:00010:2010/11/19 13:53:08.26 kernel Initializing Job Scheduler Task
00:00000:00010:2010/11/19 13:53:08.39 kernel Installed Job Scheduler sequencer code version 0.27 - 27 tokens
[Code]....
View 1 Replies
View Related
May 7, 2010
Any changes in the way httpd.conf works in 9.04Yesterday I updated from 8.04 to 8.10 and then to 9.04. All works fine, except for Apache Virtual sites.I had several defined in my httpd.conf file, which I used for testing clients' websites.ince the upgrade the virtual sites are not recognised, and all access is done at the original level /var/wwwAny changes in the way httpd.conf works? checked the Apache docs, but found nothing.Here's the httpd.conf I've been using:
<Directory /var/www/clientname/htdocs/products>
AllowOverride All
</Directory>
[code]....
View 4 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 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
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
Jan 18, 2011
The only thing I remember being updated is xserver, but I know there were other packages updated.
After the splash screen, a text login is shown. If I do nothing, it goes right to a black screen, but first there are weird red pixels randomly strewn about the screen. If I quickly login via the text screen, it then goes to the same black screen. Either way, there are the weird red pixels and a few flashes of the screen before going black.
This happens 100% of the time.
I have tried:
booting with recovery mode and selecting repair packages (no packages are broken, missing, etc.)
booting with recovery mode and selecting startx with failsafe (same black screen)
booting with older kernels (same thing)
View 5 Replies
View Related
Jan 27, 2011
forgive me for raising a common problem again, but I cannot find a fix in the other threads.
I am trying to catch up on upgrades. Step 1 is to get up to 9.10 from 9.04
Doing so however I am being told I don't have enough disk space
I present have my 35-odd GB HDD partitioned:
6GB for Ubuntu
28 for Data
and 1. or so for swap
evidently I underestimated my Ubuntu partition.
what can I do now?
I have run Computer Janitor (is that the application that results from Sudo apt-get clean? I did that but couldn't figure out how to "clean"?)
I have Gparted installed but I don't see how to use the Move/Resize option.
View 6 Replies
View Related
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
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
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
Mar 3, 2010
how to get tab completion working with sudo in JeOS (Ubuntu Hardy) 8.04? Assuming I have the command '/usr/bin/svnadmin'. As a normal user I can type:
Code:
svnad + TAB
and it auto-completes as 'svnadmin'. If I type:
Code:
sudo svnad + TAB
nothing happens. My 'echo $SHELL' is '/bin/bash'. I tried enabling the following in '/etc/bash.bashrc':
Code:
if [ -f /etc/bash_completion ]; then
[Code]...
auto-completes as I'd expect. I think I once read that there's some kind of configuration variable for sudo that causes it to use a 'more secure' path rather than the current path in the user's environment. I can't find any info on it though. I'm executing the commands from my home directory.
View 5 Replies
View Related
Jul 30, 2010
How to disable 'sudo' for all or a particular user and allow only 'su'?
View 6 Replies
View Related
Nov 7, 2010
does anyone know how to set restrictions on the commands a user can run as sudo? i want to make it so they can only halt the system.
View 1 Replies
View Related
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
View Related
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
Jan 10, 2011
I am not able to install any package through sudo apt-get install <package name> and when I run sudo apt-get update , I am getting the below output .
onadmin@ubuntu:~$ sudo apt-get update
Err http://us.archive.ubuntu.com maverick Release.gpg
Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
[Code]...
View 5 Replies
View Related
Jun 17, 2011
Just did a fresh install of Ubuntu 10.10 sudo not working. This is the message I get.
hewjr@Hewjr:~$ sudo
usage: sudo -h | -K | -k | -L | -V
usage: sudo -v [-AknS] [-p prompt]
usage: sudo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-U username] [-u username|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u username|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u username|#uid] file ...
hewjr@Hewjr:~$
View 8 Replies
View Related
Jun 4, 2010
I ran the following command:Code:sudo apt-get install sslIt is suppose to give me SSL support for Apache 2.2, but I couldn't find any package information about it atA search only returns ssl-cert package.So what is in the ssl package for Lucid 10.04 LTS? How do I know what package contains what in the future?
View 2 Replies
View Related
Oct 6, 2010
I'm with Linux 2.6.32-25-server #44-Ubuntu SMP Fri Sep 17 21:13:39 UTC 2010 x86_64 GNU/Linux , Ubuntu 10.04 Server
And I wanna execute the next script in bash profile code...
View 1 Replies
View Related
Jul 1, 2011
I have a box with about 30-40 users on it, and I need to prevent a certain group of users from using sudo at all. Is this even possible.
View 4 Replies
View Related
Jan 24, 2010
I've been searching around the net how to do this but I can't find any clues. I did this:
Code:
sudo apt-get install lamp-server^
But now I want to remove it. I've read this: http://ubuntuforums.org/showthread.php?t=510403
[code]....
View 7 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, 2010
I have a DHCP server that I only mildly trust, but its nice because it is an eBox server (I use it for DNS, DHCP, and smtp relay for my internals). I want it to issue all addresses (simply because I like the way it displays its leases in the WebUI's dashboard), but I want a fail-safe too. I have another server that is strictly an Ubuntu Hardy server (I use it for openVPN and nothing else) so I would like it as my backup dhcp server. I figure I'll install all the dhcp stuff on it and just stop the service (to include a sudo crontab @reboot script to stop it when rebooted).
And simple use a sudo crontab script to ping the eBox every 5 minutes to make sure its live, and if not then start the dhcp server. My questions: If I put the entry in my sudo crontab will the script execute even if no session is currently running (its obviously a server so won't have anyone logged in except for administration)? Also since it is in the root crontab it will be able to start the init.d service without having to sudo it right (IE the script only needs to say "/etc/init.d/dhcp3-server start" not "sudo /etc/init.d/dhcp3-server start")?
View 4 Replies
View Related
Dec 10, 2010
sudo apt-get install ubuntu-desktop fails and has been failing for the last two days, I installed both the lto and the 10.10 newest, starts out OK and runs for about 5 minutes then finishes with many 'failed to fetch [URL] size mismatch issues. This is the first one after many installs over the last two years. Is there something going on with the US servers? On closer examination of running sudo apt-get update it seems to be fine till it hits the pool directory on the server, lucid main and lucid-updates are fine, breaks when it goes past those.
View 3 Replies
View Related