SUSE / Novell :: Ran Rm -rf On Home Directory Unable To Run Commands As Root
Jun 13, 2010
Accidently ran rm -rf while the pwd was /home/user-name
Now I'm unable to run any command whatsoever as root, ls,vi,cnf whatever, they don't work.
However the commands work as normal user.
I can guess that the files with root ownership in the home folder were deleted but I would like to revert everything back to normal and would like to know how to solve this problem.
When i am adding a user using "useradd -d /home/test test" or "useradd test", it is now creating the home directory, whereas when i am using the graphical mode and going through several menu options, i am getting the home directory.
I just installed a clean install of suse 11.2. I then installed acct, using yast2.
Finally I did:
sudo /sbin/chkconfig psacct on sudo /etc/init.d/psacct start
So far so good. The problem is that if I know do:sudo /usr/sbin/sa I only see root processes. None of the user processes seem to show up. If I run it with -m flag, I just see a total and a root row, no users show up at all. But I do have user accounts on the machine, and I am working in one of them (only root when necessary).why, or what to do about it? Is there something else that has to be configured? As I understand it, sa -m should show a summary for all users, not just for root. I want to be able to see how much time different users are using.
When accessing terminal; it keeps asking me for my root password....how do I find it? I don't remember it; all the passwords that I thought were the right ones did not work. When I typed password after root password, nothing showed as I typed.
OpenSuSE 11.1 is by far the best SuSE version in a long time. It's generally up to competition or ahead of it. It's admirable, how thoughtful this system is set up, and how clean and fast it is compared to its predecessors. It ssems, that SuSE is fighting its way back to where they came from before the Novell "merger."
Having said that, it is even harder to understand, IMHO, why the installer doesn't support encrypted root partitions. Of course, there is a manual solution:
However, this HOW-TO doesn't explain how to combine LUKS encryption with LVM on a RAID-1 system, as described for Slackware 12.2 here:
[url] [url]
Is there a similar guide anywhere available for OpenSuSE 11.1?
If not: Would it be possible to do all the low-level setup work, like partitioning, setting up the logical volumes and encrypting everything, with Slackware, following the document above, and then install OpenSuSE 11.1 on that system? Would that work?
I am a layman to suse Linux. I have installed suse linux 10.2, I forgot the root user name n password. I went through some of the existing threads regarding this issue but in no avail.I dono wat boot-loader I'm using there is no sign of any boot-loader (either grub nor llo).I tried ma hand in fail-safe mode also, it is also asking for login id. Is there any way to reset the same. As I have some imp file inside.
I just installed opensuse 11.1 with only the standard user account, not root account. Therefore, my question is regarding this ... is safe running linux with no root account? Should I create a root account for adminstrative purposes? If so, how can I do that?
When i am adding a user using "useradd -d /home/test test" or "useradd test", it is now creating the home directory, whereas when i am using the graphical mode and going through several menu options, i am getting the home directory. Don't know what is missing.
We have a server for which the root password had been lost, and there were no other user accounts set up. Yesterday evening I attempted to reset the root password by booting from the install CD and using VI to clear the root password in the passwd and shadow files. I then rebooted, and the system has halted with an 'FSCK failed. Please repair manually and reboot' error, with a prompt to 'Enter root password' below. But of course the root password isn't known (I had expected it to blank after editing the passwd and shadow files, but it doesn't work), so I have no way of logging on.
I recently tried a frugal/poor mans install of knoppix that I placed in a folder in the root partition of /home (hda7) in opensuse 11.3. I decided to delete the folder and contents. The hard drive was busy for several minutes and after it was finished, I checked the disk usage and found that / was at 97% capacity, up from what was 10gig of free space. I could not find any traces of the deleted folder or its contents, so I used puppy linux and ran e2fsck on the / partition. Puppy linux reported 1.9gig free space and opensuse reported .5gig free space. My concern is if the deleted folder is taking up space in the root partition that I can not locate and why the difference in reported disk space usage in hda7. Also, if more packages are installed, where are they placed (/ or /home)?
I've had this issue since OpenSUSE 10.5 and Firefox 2.x. Now I'm on OpenSUSE 11.2 and Firefox 3.5.6. Here's the issue: I log into various sites to get my bank statements, utility bills, etc. They are all in PDF, and they open up acrobat reader and from there I save the bill as a permanent record. The first one I open opens fine. Subsequent sessions with subsequent providers (banks, whatever) opens up a new window as if to show me the PDF, but no PDF is there. Status on the window shows "done." No error messages. I have to shut firefox down, restart, log in again, and then it downloads fine. It's getting annoying.
I am having Opensuse 11.0. Recently I upgraded my system including kernel. Now I am unable to login in X as user. However I can login as root and working perfectly. I can login as user in failsafe as well as after pressing ctrl-alt-f1 when login screen appears.I have tried following---1. Emptied /temp folder and 2. deleting and adding user.
We have a SuSE/SLES 9 server that boots from a fibre channel card, using volumes from a NetApp filer.
We previously had the server booting from the LUNs on the filer, but after some tinkering around with the fibre channel BIOS, we have the situation where the LUNS seem to be mounted, the OS boots, starts to initialise everything but then stalls, saying:
We have tried loads of combinations of settings in the BIOS and fibre channel BIOS without any success or any idea what may have caused the error.
I am running SLES10 SP2 under z/vm in z9 mainframe box. But I believe this is a linux problem instead of hardware architecture or visualization (Because previously it worked).
I was trying to create a new user account for ftp purpose. However I encountered the following error from YAST code...
I have set firefox to a blank page at start-up but I can not get novell's url out of the home icon. Is there a way to remove novell's url from the firefox home icon?
I initially installed SuSe11.2 with /tmp mounted on separate partition on another physical disk( there are two physical disks). Now I want to attach disk with existing SuSe11.2 to another motherboard so I would like that /tmp becomes part of the root partition. Will deleting /tmp mount point in /etc/fstab create automatically new /tmp from root at next startup, or something else has to be done to achieve, that in future, /tmp resides on root partition instead? In this way it would be much easier to move the disk with SuSe11.2 to another motherboard.
I am relatively new to Linux and Opensuse. I created the / root partition and now it is growing and maxing out. I have partitioner available to me but how do I change the partition size when the root partition is mounted. Do I login as root and then umount or modify fstab and restart and change from command line or do I format and reinstall everything? I have room to expand but not sure how to manage this?
After something happened in SUSE Studio, in any appliances I build the owner of /home/tux/Desktop is root which makes impossible to create desktop icons. This happens even in those appliances which previously were build normally with normal ownership (i.e. tux as owner of /home/tux/Desktop). Something changed abruptly and in all these appliances the ownership of this folder changed.
1. Pentium 4 with 1.8 gh 2. 512 ram 3. 15 gb hard disk. installation specially regarding partition option (eg.. how much alloted should be for swap/ root/home etc)
After upgrading to Lucid, gnome-terminal and xterm both start in the root directory (/); I'd like for them to start in my home directory instead. I had added "cd /home/myname" to the end of .bashrc, and this worked well as a temporary fix, but was never necessary in Karmic. Furthermore, modifying .bashrc in this way renders Nautilus' "Open in Terminal" menu item useless, as it still opens the home directory instead of the folder Nautilus was viewing.
I've set a side 80GB on a separate partition, I have 4GB of RAM. I know it will ask me to set /home /root and /swap. How much should I set each one to be with my partition size and RAM.
I've got several language multimedia CD-Rom's, made for Windows 95/98/98 SE and 2000, that I'm using by means of my daughter's old PC (Win 98 SE O.S.). However I noticed, also, that you can perfectly use them even with Windows Vista. What I'd like to know is if you can use them even with Suse/Novell and (why not?) OpenSuse Linux.
OK... I tried everything i could think of... but i still cannot get my Open SUSE 11.1 to mount my samba share at boot! I still don't understand the 11.1 boot sequence. can NE one help me... tell me what files to give you output from... Ty guys P.S. My shares originate from a Windows Server 2003 RC2 machine, and it's dns server doesn't work correctly... so my mount command is
mount -t //192.168.x.x/files/ /nET/ -o username=linux,password=xxxxxx please let me know what other info you need... I don't have the internet, so it will be tommorow b4 i see this again!!! Thanks
how to install a D-Link Access Point on Suse 11.0 or steer me toward documentation that will do that? I configured the device on XP following instruction from this forum and the AP configured perfectly.The AP is plugged directly into the network port on the computer. It *should* function correctly without a router. I tried a restart and Suse has no idea it's there. The computer is currently configured for a wired connection which needs to be changed. The computer itself is going to be used as a small home storage server.
I have a disturbing problem with my monitor which goes to sleep (or ??) after few minutes if my comp is not used and most of the time I have to restart my comp.I disabled everything in Powersave , but nothing. I did have that problem in previous versions of SUSE, but somehow, I solved that. I cant remember what I did then.