Ubuntu :: Messing Around With Vipw And Accidentally Wiped The Whole File?

Jan 5, 2010

I was messing around with vipw and accidentally wiped the whole file. Luckily, I have a backup copy.Is it safe to just paste the backup into any old file and "cp <file> /etc/passwd", or is there any special procedure?As I understand it, things are fine for now but if I restart very bad things will happen since root is gone and such

View 8 Replies


ADVERTISEMENT

Fedora :: Display The File On The Gnome Desktop Without Messing Up The KDE Config File?

Jan 4, 2010

New install of FC12 and after logging into the KDE desktop then going back to Gnome, the Desktop Config File for KDE shows on the Gnome desktop. I ran gconf-editor and I can see the file but no option to not display in Nautilus. Is there an easy way to not display the file on the Gnome desktop without messing up the KDE config file?

View 2 Replies View Related

Red Hat / Fedora :: Adding Users With Vipw?

Feb 23, 2011

I have bits and pieces but I'm wondering if anyone could post a step by step way to add a user using vipw? It seems handy to know. And am I correct in saying that the user added with vipw could then be added to a group using vigr?

View 1 Replies View Related

General :: Use Compile File Build Package Without Messing Up Library

Apr 11, 2010

I want to build a package from source using src2pkg, but I don't know how to avoid library miss match. Suppose I have Firefox 3.5.2 on Slackware 13.0 64 and I want to upgrade it to 3.6.2. Last time when I venturesomely installed Firefox-3.6.2-current into my Slackware 13.0, I got library miss match. Thus, instead of upgrading the whole packages to current (which is impractical and cumbersome), I want to build 3.6.2 from source. How can I do this? Is there any guideline how to use src2pkg? Or should I rather use makepkg? Do I need to create a Makefile?

View 7 Replies View Related

Ubuntu :: Accidentally Shift-deleted A 6gb Avi File A Minute Ago?

May 12, 2010

i just accidentally shift-deleted a 6gb avi file a minute ago. is it possible to recover it and how? im using lucid and ext4.

View 1 Replies View Related

Ubuntu :: Accidentally Moved Files / User - Can't Find Any Original File

Dec 31, 2010

Initially, I was trying to get around a Nautilus log in error. Using this, I was able to log in, but I entered what seems to be a perfectly clean version of Ubuntu...with no access to my files. [URL].... Now, I can't seem to find any of my original files. Some of the commands I entered in the terminal included:

[code]...

I'm afraid that I may have deleted the files, or have moved them to another user or someplace on the drive I can't see.

View 6 Replies View Related

General :: Apache - Recover File That Is Accidentally Removed?

Jul 2, 2010

I have accidentally removed my apache2 startup file /etc/init.d/apache2 using rm /etc/init.d/apache2 command.

How can I get that back?

View 5 Replies View Related

OpenSUSE Install :: Accidentally Changed /usr/bin/php File On My Server By Running A Cp Command

Sep 14, 2010

I've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content.

View 4 Replies View Related

General :: Accidentally Type Concatenate Large File On Remote System

May 6, 2010

Every once in a while on a computer I'm ssh'd into, I will accidentally type "cat largefile.txt" and my screen will start rushing with text for the next 10 minutes. I'm always working in a screen session, so my current solution is to just log out and then log back in, and since it can go 100X faster when I'm logged out, it'll finish in the short time it takes me to type my password in again. Is there a better way? Either involving the fact I'm in a screen session? Or a way to do this within SSH? What doesn't work: detaching from the screen session (doesn't respond until file is done outputting) trying command to move to a different window in the screen session (also doesn't respond) typing ctrl+C to kill cat command (also doesn't respond, probably because the command is done and the buffers just have to catch up).

View 3 Replies View Related

Fedora :: Root File Permission Accidentally Changed Root To 700

Mar 24, 2010

the terminal and logged in as root i was changing file permissions and happened to change the root folder to 700. Now my icons have gone and i can't even access the terminal.

I was just wondering if it is possible to go to rescue mode using the cd and restore all the appropriate file permissions to root/ users if possible

View 4 Replies View Related

Ubuntu :: BT LiveCD Wiped 9.10 Install?

Mar 13, 2010

As with almost every time I try to simultaneously install two operating systems, I have incurred the wrath of GRUB. It's probably more to do with my laptop's terrible hard drive, but here's my problem: I had a 9.10 install and a swap space on this hard drive, then I used GParted from the BT live CD to resize shrink the Ubuntu partition to make space for a BT install. I booted into Ubuntu just to make sure it was working fine. it was. Then I went back in to the BT live CD to install it on the free space.

When I booted up after install, the GRUB screen had changed (obviously), but now only the BT installation (which appeared as Ubuntu 8.10 for some reason) would boot, The previous Ubuntu installs had stopped working, and now came up with "file missing" or "file not found" (cant remember). I tried fsck -v /dev/hda1 (where my 9.10 installation was), and it didn't seem to have any errors. What's wrong with my computer (or GRUB)?

View 9 Replies View Related

Ubuntu Installation :: Update Wiped Out XP

Jun 9, 2010

I let the updater change my menu.lst file in Jaunty. It reported an error but I had no problems until I noticed Windows XP was gone. I rarely use it but now I am teaching a computer class on how to use Widows so I have to fix it tonight.

The system is a Dell 531 with 2 gigs of ram and 2 drives.There are 2 menu.lst files in Grub , menu.lst and menu.lst~ . Is the one with the ~ after it the backup? If so how do you restore it?

View 9 Replies View Related

Ubuntu :: Reinstall / Wiped Out GRUB?

Jun 19, 2010

I've just installed Windows 7 in a separate partition to play with. Trouble is, it's wiped out GRUB. I was expecting this and I know last time this happened it was easy to fix. The forum serch found a thread with 3 ways to re-install GRUB. I've tried each, and none have wored. Methods I've tried

1) The aptitude install grub-pc command ran and said it had worked correctly. On re-bootong, Windows started without any GRUB screens on the way.

2) The chroot method stated it installed correctly after raising a few warnings - after I used the --force command, as the install failed without it. Again, reboot and get Windows without a GRUB screen...

3) Normal grub-install command (no chroot). This went as per the chroot command.

From where I'm sat, it looks like I'll have to do a clean Linux re-install on the disk and then restore my linux files again from a back-up - something I'm not particularly over-joyed by the prospect of...

View 2 Replies View Related

Ubuntu :: Cifs From Fstab Messing Up Uids?

Jan 22, 2010

I am trying to mount cifs through fstab but it is not working. I have an Ubuntu samba server and a Kubuntu client. The share from the server is one dir with subdirs having different permissions and owners/groups. When I do AS ROOT:

Code:
smbmount //192.168.0.254/share /media/maps/share -o username=toshko%pass
the output of the "mount" command is as follows:
Code:
//192.168.0.254/share on /media/maps/share type cifs (rw,mand)
The result is messed up owners with different uids and groups:

[Code]...

View 2 Replies View Related

Ubuntu :: TurboTax Messing Up Dual-boot ?

Apr 7, 2010

I was told that the TurboTax DRM overwrites a boot sector on the first hard drive, possibly causing problems to the "non-windows" OS. Up to now I had used TT on a W2K only machine. Now that I have converted the whole office to Ubuntu or dual boot, I don't have the option anymore.

View 1 Replies View Related

Ubuntu :: Installing Windows 7 Without Messing Up - GRUB

May 14, 2010

I'm thinking about upgrading my Windows Vista to Windows 7. I rarely ever use it but I figured that when I do have to use it I would rather use Windows 7.

Will it mess up Ubuntu or GRUB when I do this? Like GRUB not recognizing Ubuntu any more? I don't really know but I just wanted to ask this here just in case.

View 6 Replies View Related

Ubuntu Multimedia :: No Sound After Messing With Mixer

Jun 16, 2010

Using Kubuntu 10.04 here

I've been trying to make my microphone work and so I've pretty much messed around with the mixer (KMixer), mainly adding channels to the "equalizer" and checking and clearing "capture" boxes. After I did that my sound "disappeared" - I have no sound whatsoever (not even Kubuntu's initialization sound).

How can I fix this? Is it possible to go back to the "default" configuration?

View 3 Replies View Related

Ubuntu Multimedia :: Flash Player Is Messing Up?

Jun 23, 2011

When i watch ..... videos it tends to stay on my browser in a weird way, so when i go on other tabs it is still there and is rather irritating ..the image shows what i am talking about flash.jpg.I use ubuntu 10.10 and firefox 4 if that helps...

View 7 Replies View Related

Ubuntu :: Acrobat Reader Preferences Wiped Out

Sep 19, 2010

occurring seemingly randomly, every once in a while I open a pdf and find out that all my custom settings (toolbar buttons, etc.) have been wiped out. Also, as soon as I open the pdf I'm asked to accept the licence, that I had previously accepted.It's about the second time it happens in about a week. My acrobat version is 9.3.4.

View 1 Replies View Related

Ubuntu :: Unable To Access HDD After MBR Wiped / Enable This?

Nov 26, 2010

Wanted to restore laptop to Windows 7 and put Ubuntu on another machine.
The Laptop is an Acer and the Win 7 disks go into a propitiatory recovery screen. I have 3 choices reload Win 7 to new state, Load Win 7 and put everything in backup or Exit.

I have loaded the Ubuntu 10:10 Live and downloaded ms-sys. The problem is Ubuntu is unable to mount the HDD - not in fstab.

I have Ubuntu and Win 7 on the HDD.

View 9 Replies View Related

Security :: All The Logs Are Wiped Out ?

Apr 22, 2009

I have connected to my friends machine, for some reason . all the logs are wiped out . ?

CentOS .

There is nothing there? is this a unusual to Linux systems?

View 3 Replies View Related

Ubuntu :: Thrown To Grub Rescue After Messing Around With Ext2fsd?

Nov 16, 2010

I have a new Asus Eee Pc 1215n and installed on it Ubuntu 10.10. This way it was configured as dual-boot with 4 partitions. One for Windows7 one for Windows recovery, one for Linux swap and one ext4 for Ubuntu.Everything was working fine until I installed the ext2fsd driver on Windows. It couldn't read the ext4 partition properly so I played with the options. There I tried changing the ext partition's type from "Linux" to "Linux extend" (which was obviously wrong). After the reboot I get a message when the computer starts up saying "error: partition not found" and in the next line "grub rescue>" with a dash flashing but without any recognizable commands.

I tried reinstalling grub from the Ubuntu 10.10 live cd following these instructions but now I get exactly the same screen, this time saying "error: file not found." instead. What was weird was that gparted in the live Ubuntu couldn't see any partition in the hard drive. It appeared like the whole space was unallocated.When I type 'help' in "grub rescue" it tells me "unknown command". When I type 'ls' it returns: (hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)I think this might be a clue of what is going on since all the partitions should not be flagged as msdos.

View 8 Replies View Related

Ubuntu :: Messing With The Screen Margins In The Openbox Configuration

Jan 23, 2011

i have installd lubuntu side to my gnome i like it i have a issue thoe it seams that some of the icons r hideing beyond the screen resolution there for i dont see them all in the screen i tried messing with the screen margins in the openbox configuration i can see all the icons but then i cant see windows in full view

View 3 Replies View Related

Ubuntu :: Put Back Wiped Window's Files To C Drive?

Aug 3, 2010

I accidentally wiped my mounted c drive with rm /media/MY_C_DRIVE/ -r (The actual path is /media/51FAEE1F4B26FD12/ - that's why I wasn't aware of it). After 3 seconds I realized that I just did something terribly wrong. I hit Ctrl+C to stop but it was too late. The important system files were gone and I couldn't boot into windows. So far, I have tried to recover the files with photorec. I could recover about 68,000 files from that c drive but the names are f000001.exe, f000002.txt, f000003.jpg,. I don't know what these files are and where to put them back. Is there any way to recover these system files?

View 5 Replies View Related

Ubuntu Installation :: Can't Install 10.10 On Newly Wiped Laptop

Feb 2, 2011

I recently decided to wipe my laptop using Dariks Boot and Nuke. This, of course irreversibly wipes out a hard drive. I downloaded 10.10 and burned to a CD and booted from cd, then this error comes up.

I have installed Ubuntu 10.10 on my laptop before. Then I had wiped it and put Windows 7 and now I wiped and want to install Ubuntu again.

View 2 Replies View Related

Ubuntu Multimedia :: New Video Card Wiped Out Sound?

Mar 29, 2011

I recently installed a new evga nVidia GT 430 video card in my Ubuntu 10.10 32-bit system. This had the unforseen side effect of eliminating my sound.

I had no idea that the new video card would include a new sound module. My intent is for my system to use my Soundblaster Audigy2 soundcard in 5.1 output mode. The system still seems to be configured to do that, but the nVidia HDMI Stereo output module seems to have taken over in Sound Preferences.

Here is the output of lspci:

Code:
lspci
00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 04)

[Code].....

View 9 Replies View Related

Ubuntu :: Recover Home Partition That Is Wiped Out Completely?

May 2, 2011

i was using 10.10 and this disaster occured when i tried to install 11.04 replacing 10.10. i have a separate home partition, while installing 11.04 i chose one weird option called "encrypt home partition"i didnt chose to format the home partition but once the installation is over, i have all my data lost in home directory.Is ther any chance that i could get the 165 gb junk data or atleast some 200 mb of important data

View 1 Replies View Related

Ubuntu :: Recover Lost Data From A Wiped Windows 7?

Jul 18, 2011

I bought a new dell studio 1555 from best buy about a year and a half ago. Got the warranty because I have 4 kids and something is bound to be dropped, spilled or smashed at some point. True to my visions, something did get dropped smashed and spilled, and pennies got stuck in the dvd slot. So I took it in when the screen stopped coming on because of a loose connection in the hinge and they did apparently fix that problem, but also were benevolent enough to wipe out my entire hard drive, operating sytem and all, totally free of charge. I guess they figured since I like accidents so much, I would just LOVE having 18 months of data and programs disappear into thin air. I know all about how I should have backed it up, and I am not whining too much over this. I will roll with the punches. But there are just a FEW things on that hard drive I will really miss. Like a few crucial spreadsheets that I was not able to save to my external drive before the screen went south. Now that windows 7, I am not planning on missing at all. In fact I am loving running my new Ubuntu 11.04 from my usb and knowing that those idiots will not be able to screw this one up next time. But I would really like to be able to recover those files if I can. Is there any way to get those back? And I also cannot figure out how to find device manager. Do I have to install to hard drive to use that? I know these are all probably total newbie questions. But hey, i got here as soon as I could. Everybody has got to start somewhere.

View 9 Replies View Related

Ubuntu :: Sudo Fsck Wiped Thunderbird Folder?

Jul 19, 2011

I had to run sudo fsck /dev/sda8 on a partition through ubuntu liveCD since ubuntu 10.10 would not start up.I ran sudo fsck (without arguments) and I must have erased something in error (there was a stream of errors) because when I rebooted ubuntu .. my Thunderbird inbox had been cleared .. erased.I've still got inbound emails archived on my pop server so I can download those again .. but I've lost outgoing emails sent from my Thunderbird client.

View 6 Replies View Related

Ubuntu :: 9.10 Completely Wiped Windows From Hard Drive?

Nov 13, 2009

I dual boot with Ubuntu and Windows, and I just about an hour ago upgraded to 9.10 from Jaunty. After I restarted my computer two versions of Ubuntu could be booted, Windows was not on the GRUB menu. I am new to programming, and am completely clueless as to why this happened, and how I can fix this.

View 9 Replies View Related







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