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
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.
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
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>
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
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...
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)
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.
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.
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
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 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.
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
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....
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
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.
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...
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?
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")?
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.