Ubuntu Security :: After Booting Up From The Restored Filesystem - Sudo Would No Longer Work

May 28, 2010

I'm having some trouble using sudo - it did work fine, but now when I try to use it, I have the following error:

I understand that I have to modify /etc/sudoers but need to have root access to do this. I am using a bootable USB (lucid) with persistent changes and am unable to login as root, because I don't know the default root password, and am unable to use sudo to change it.

The problem occurred after I had some corruption to the casper file system, so I booted into Windows, moved the casper-rw file to another location on my flashdrive, and used a 1GB backup filesystem to repair the corrupt one using fsck.

After booting up from the restored filesystem, sudo would no longer work.

View 9 Replies


ADVERTISEMENT

Ubuntu Installation :: "Error Booting Operating System" - Sudo Grub; Root (hd0.0)...) Doesn't Work

Mar 1, 2011

I installed 10.04 (clean install) on a 250G drive (partitioned to 107G for the system files). It was working fine, until I wanted to install Window$ for the use of Adobe stuff. I popped the Windows XP disc in, it loaded its files, then I tried to choose a partition for installation. There was an error saying that I can't do that, and needed to delete a partition blah blah. I thought it was too much trouble, so I quit and just wanted to use my 10.04. Booted, and it says "Error booting operating system" I WAS SHOCKED.

I tried to install grub (but don't need that right? I DO NOT want to dual boot now), but the usual method ( the sudo grub; root (hd0.0)...) doesn't work ,because something like "stage1" is missing. I tried many methods by still the same error. The reason I do not want a clean install is that I did many fixes on my 10.04 so that it would work with my EeePC 1001pxd, and I do not want to go through that again. I will be checking my email frequently on other computers if I have a chance.

View 1 Replies View Related

Fedora Security :: Cannot Open /var/db/sudo After Sudo Package Upgrade?

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

Ubuntu :: No Longer Have A User Who Can Run Sudo?

Jun 23, 2011

I was trying to add my user to a group and used the command

Code:
sudo usermod -G sambashare_kid dev
which left me with

[code]....

View 9 Replies View Related

Ubuntu Servers :: Sudo No Longer Prompting For Password / Resolve This?

Aug 16, 2011

I am suddenly not prompted for my password when I run any command as sudo on a few of my Ubuntu servers.

if I run sudo -K, the session is cleared, and I am prompted again for my password, however it saves/caches it until I run sudo -k again even if I log out and back in. I want it to prompt me for my password, as it should (and did) by default, for security.

Any ideas what could be causing this?

Here's my /etc/sudoers file code...

View 2 Replies View Related

Fedora Security :: Terminal Equivalent Of "sudo" Is It Still Sudo/KDEsudo

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

Ubuntu :: 9.10 No Longer Booting?

Jan 4, 2010

I updated yesterday. I'm not sure if problems started before or after.

The problem yesterday [URL]

Went to bed last night and left the computer running, something weird occured this morning (media file wouldn't play) so I just decided to restart.

now I am getting this,

Mount of root filesystem failed. A maintenance shell will now be started. CONTROL-D will terminate this shell and reboot the system.

ctrl-d just brings me back to the above error message.

in the GNU GRUB version window I no longer have

Ubuntu, Linux 2.6.31-15-generic
Ubuntu, Linux 2.6.31-15-generic (recovery mode)
listed

using the other two listed 16 and 14 does nothing

View 7 Replies View Related

Ubuntu :: No Longer Booting Up To GUI

Oct 18, 2010

did some updates on the buntu-box but everytime I start it it now goes to some CMD-like screen that lets you go through F1-FX and comes up with diffrent tty thingies, before the update it used to go into the proper GUI, I have 10.10 installed, I think I updated my GPU driver and looked on here for some hints on what to do, I have tried: cd /etc/x11

Above command did not work for some reason, think it couldn#t find it? Sudo service gdm start Said above process is already started or something

View 5 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 :: Server Is No Longer Booting To The Bios?

Mar 17, 2010

i have a peguin computing 130 server running ubuntu server 9.10 and today i open the box to removed one of the hard drives that wasn't being used and the server is no longer booting to the bios.

i have removed the ram and placed it back but notting is showing up. Every time i turn it on it doesn't show anything not even the bios.

View 4 Replies View Related

Ubuntu :: Grub2 No Longer Booting Into Windows Properly

Mar 22, 2010

so after my upgrade to 10.04 I'm experiencing a puzzling problem with Grub2. It can load everything fine except for XP. I have XP on a separate partition, it is detecting fine and the grub.cfg file is created withou a problem when I the appropriate commands to update and upgrade grub. What happens is that I select Windows XP from the list and it goes to a black screen where a cursor in the top left corner blinks 3-5 times and then immediately kicks me back to the Grub menu. I can do this forever but the grub menu just gets reloaded every time. Any ideas?

Here is the windows portion of my Grub.cfg:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda2)" {
insmod ntfs

[code]...

Here is my boot.ini on the ntfs partion I am trying to boot into

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)WINDOW S

[code]...

View 7 Replies View Related

Ubuntu :: Remove GRUB2 No Longer Dual Booting?

Aug 7, 2010

I was dual booting on my netbook with Lucid and Windows XP, so the computer starts with the GRUB2 menu. I deleted the windows partition and now I only use Lucid on the netbook. I want to know how can I get the computer to simply boot into Ubuntu like a normal computer would do if it was not set up as a dual boot system?

How can I get the computer to go directly into the ONLY operating system rather than taking a detour through the GRUB menu?

View 9 Replies View Related

Fedora :: Macbook No Longer Booting?

Aug 20, 2009

I screwed something up and my macbook no longer boots up - hanging before gdm with msg: NETADDRCONF eth0 not found NETADDRCONF wlan0 not found(not connected to network)problem happened after I tried to fix the flaky mouse with following:

* I created a conf file and added a inputdevice section with touchpad options
* I also created an appletouch.fdi file with op0tions
* I also created an applesmc module

if I can figure out how to boot into failsafe then I could back out changes but at this point I cannot even get there

View 2 Replies View Related

Ubuntu :: Server Not Booting - Unknown Filesystem Type

Jan 28, 2011

I changed the first line of /etc/fstab in an attempt to get rid of an annoying message "mount: unknown filesystem type 'static'". All I did was put a "#" on the first line .... changing the original from:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
to:
#
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

I have tried desperately to get to the file system so that I can edit that first line in fstab out but nothing works and the file system comes up as read only ...

View 7 Replies View Related

General :: Error - Unknown Filesystem. Grub Rescue> - No Longer Have The Install Disk For Windows Vista

May 11, 2011

error: unknown filesystem grub rescue>

Background: My mother's HP laptop had Ubuntu and Vista on it, Ubuntu my brother's doing. He decided he wanted to take off Ubuntu yesterday (he had forgotten the password), and deleted the partition that it was contained within. The computer now boots to this error.

Inventory: We no longer have the install disk for Windows Vista, he cannot tell me what version he used of Ubuntu, what partition it was on, any of the specs for the machine, or generally any information about the system. All I am aware of is that error on the boot-up screen. I have nothing else to work with.

I would like to remove Grub, and Ubuntu, and leave Windows intact (the request of the owner of the computer), but I have no idea what commands I could use to get rid of either when I can't access Windows, or how to properly remove them if I did access Windows.

View 10 Replies View Related

Ubuntu :: Frequent Freezes With Nouveau, No Longer Booting With Nvidia?

Oct 13, 2010

I made a fresh installation of Ubuntu 10.10 (64 bit) on a Sony PCG-81112M, the graphic cards is identified by lspci as "nVidia Corporation GT216 [GeForce FT 330M]". Quite frequently everything but the mouse pointer freezed on the screen, I found no way to recover from these situations but to restart the computer using the power button.

I decided to install the proprietary driver (as this is the recommended driver, I was confident this would solve the problem). As a consequence the system now hangs on boot after showing the Ubuntu 10.10 inial logo/text. I could start in recovery mode, but I'm not sure to which driver I should try to change to. I really need no fancy 3d stuff, just a robust computer to which I can attach and detach an external screen.

View 9 Replies View Related

Ubuntu Installation :: Booting Up Takes Longer Time After Upgrade

Jun 2, 2011

Upgraded to 2.6.32-32-generic, it takes about 20 seconds after login at boot up; previous version only takes about 13 seconds. They are at the same environment and service status.(ubuntu 10.04)

View 1 Replies View Related

Ubuntu :: Not Booting - Error: Unknown Filesystem Grub Rescue

Mar 18, 2011

my ubuntu installation has stopped booting after i deleted and again created one of my partitions (not the ubuntu partition but my data partition). but now when i switch on my netbook it says: error: unknown filesystem grub rescue>

i used gparted live to resize. this is my disk partition structure:

[Code]....

before doing this, my ubuntu partition was /dev/sda7, the swap partition was /dev/sda 6, and the data partition was /dev/sda 7.

View 3 Replies View Related

Installation :: Cannot Find Filesystem While Booting Any Distro

Jan 31, 2010

I've been playing around with an old laptop and a hand full of Linux distros. I found that each Linux has a kernel "vmlinuz" and a initrd "initrd.gz" no matter how you boot the distro it uses these to files. I have CrunchBang Installed on my laptop I put a copy of the ubuntu live disk in the location
/home/user-pc/ubuntu/

I added a new boot option for grub It looks like this
Title Ubuntu
kernel /home/user-pc/ubuntu/casper/vmlinuz
initrd /home/user-pc/ubuntu/casper/initrd.gz

This boots like a normal cd only problem is while its booting it tells me it cant find the file System. This happened for every single Linux distro I tried to boot. Is there something I am missing here is there a way to tell the boot peramiter where the file system is I think what it means by file system is the "filesystem.squashfs" file.

I have 2 questions
1. Is there anyway to tell the grub loader that this is the file system. To make the live CD boot properly.
2. How do CD's work is it not the same?

View 4 Replies View Related

Ubuntu Installation :: Multi-Booting - CD Drive - Also SATA - No Longer Shows Up

Apr 16, 2010

I decided to install the Ubuntu Netbook remix (9.10, I believe) on this extra IDE hard drive I had (my other three hard drives are SATA.) My primary hard drive contains a Windows XP, my second contains Windows 7, and my third SATA drive is just NTFS-formatted storage. I went through the installer and choose to format and install on my 40GB IDE hard drive, which it did. Then it finished and rebooted. It apparently decided to install the GRUB bootloader onto the primary hard drive (not the one it was installed on,) which was not my intention. The bootloader froze the boot of my computer and wouldn't work. (Stuck at loading GRUB.) I couldn't even get to the BIOS. So I pulled the plug on the primary hard drive and tried to boot again. I could get into Windows 7 just fine, but that was it. The problem, though, is that the CD drive (also SATA) no longer shows up in My Computer. Also, after changing the boot order and replugging in the former primary hard drive, it wouldn't show up, either. Nor would the IDE one (though I'm pretty sure that's because Windows doesn't understand the EXT (or whatever Ubuntu uses) file system.

Does anyone know why this occurred and how to get those drives to show up in Windows again? I don't really care to get the netbook remix working here, since this isn't even a laptop, it was just an experiment. Also, I'd love to know how to remove GRUB from my primary hard disk so that I can boot from it again.

View 3 Replies View Related

General :: Ubuntu No Longer Booting From Windows Boot Loader After Update

Feb 2, 2011

After installing recommended updates for Ubuntu, Ubuntu would no longer boot from Windows Boot Loader. It looks like an error about some missing NTFS4 files briefly flashes on the screen.

View 2 Replies View Related

Software :: While Dual Booting Ubuntu And Xp - Grub Error Reason: Unknown Filesystem

Jul 19, 2010

My friend recently installed ubuntu to his existing computer which had windows XP. Today when he tried to start the PC it showed the error

[Code]...

View 3 Replies View Related

Ubuntu :: Can't Mount The Installer CD: $sudo Mount - Unknown Filesystem Type 'iso9660'

Mar 12, 2010

I installed Ubuntu Server 9.10 in a virtual machine, and I'm trying to install the VMware Tools but I can't mount the installer CD: $ sudo mount /dev/scd0 /media/cdrom mount: unknown filesystem type 'iso9660'

View 1 Replies View Related

Fedora :: Changed Partition Size - Repair Filesystem Error On Booting

Sep 19, 2009

I am using Fedora core 10. I have changed my partition size of Linux from windows. After I finished resizing the partition, I rebooted my system to the Linux platform. While booting it gave me an
error: repair filesytem #1:
I don't know what to do?

View 5 Replies View Related

Ubuntu Security :: Unflattering Things About Use Of Sudo?

Apr 9, 2010

I just read an article saying some unflattering things about Ubuntu's use of sudo. My question is this true?[URL]..

View 6 Replies View Related

Ubuntu Security :: Allow Program To Be Run As Administrator Without Sudo?

Jun 7, 2010

Certain commands like:
fdisk -l
nmap -sT 192.168.0.1/24
iftop

require administrator privileges to run. A while ago i read a post(forgot where i read it) about being able to let a user run these commands in a script (that contains the desired command) created by the administrator/root without the user having to do a sudo and entering a password. Does anyone know how i can go about doing this?

View 3 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 Security :: Unable To Login Using Su Or Sudo?

Oct 18, 2010

At the terminal prompt, I can't login using su nor sudo. I can only login as root at the dialog level. How do I correct this?

View 6 Replies View Related

Ubuntu Security :: Sudo Su. No Password Needed

Mar 22, 2011

why when I type sudo su in a terminal there's no need to enter my password, I just go straight into root

View 5 Replies View Related

Ubuntu Security :: Sudo Permission Not Being Revoked?

Apr 1, 2011

I am using Ubuntu 10.04-alternate-amd64 for full disk encryption. After getting my updates which i get as soon as they are released. I am getting the issue temp root (sudo) password is not being revoked. After using any app that requires the use of sudo the permission for it does not get removed like it normally does.

I have tried logging out then back in, which usually removes the permission, this no longer works, also tried waiting and even after 1 hour permission still there. The only work around I have found is to use the terminal to execute the required programs then after closing terminal the temp permission is now removed like it should be. This issue has effected all of my systems and a friend of mine as well, (friend uses same distro).

To replicate issue:

1) Boot system.
2) Login.
3) Check for updates or any other app that uses root permission.
4) Logout
5) Login
6) Repeat step 3
7) App will not ask for permission it will use root permission automatically.

View 3 Replies View Related







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