CentOS 5 :: Accidental Delete Of "adm" User?

Jun 17, 2010

One of our admins accidentally deleted the adm userin the following way,#userdel -r admi recreated the "user" from the /etc/passwd- & /etc/shadow- files and added to its groupand created the /var/adm directory but is there more that needs to be done ?Lot of files were written, so i have not yet tried debugfs or any file recoverybecause i couldnt get any google info on what adm does.OS Details:CentOS release 5.2 (Final)Can anyone scale the damage that could have occured?

View 5 Replies


ADVERTISEMENT

Ubuntu Installation :: Restore Accidental Delete Of Home.disk?

Oct 8, 2010

I think I did something dumb. I was trying to increase the space allocation to my /home virtual disk on my wubi installation of Ubuntu. I ran the wubi-add-virtual-disk utility (as I had done before the first time I increased my space), but I received the message "The target virtual disk /host/ubuntu/disks/$virtual_disk already exists, aborting." So, thinking that all my data was in a different path and that the file home.disk was probably just some configuration file of little importance (I should've checked and I should've made a backup of it myself), I browsed to /host/ubuntu/disks and ran "rm home.disk", then reran the wubi-add-virtual-disk utility (stored in my still existing /home/cportiz/Downloads directory), and I thought I had successfully increased my space.

To my horror, upon restarting my computer, my desktop was empty and basically unusable as there is nothing to click on. I rebooted on recovery mode and logged on in terminal mode, then browsed to /home and found an EMPTY folder. I ran locate home.disk and found a file at /host/ubuntu/disks with the size that I specified when I ran the virtual disk utility, but I don't know where my old contents are. I didn't just delete all that stuff. it is still somewhere on my hard drive and that all I need to do is modify the home.disk file in this or that way or hit restore. There is not a home.backup file at /host/ubuntu/disks/.

Anyhow, if indeed I've lost everything, I can probably restore most of the work I'd done (only a couple of weeks worth) pretty quickly. Some of the files were backed up in other computers, etc... How to restore my wubi installation to a functional one? I would prefer not to have to reinstall ubuntu altogether since I believe the majority of the packages I've installed were housed on /opt meaning I can get back up and running compiling certain programs from source fairly quickly and most of the recovery effort is in rewriting some of the files that were stored in /home.

View 4 Replies View Related

Server :: Delete A Ftp User On Centos 5?

Jun 11, 2011

How can i delete a ftp user on linux server centos 5 ?

View 3 Replies View Related

Fedora :: Allow User To Save/edit/delete Documents In A Folder But Not Delete That Folder?

Sep 6, 2011

Recently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?

View 14 Replies View Related

Installation :: Dual CentOS - Windows 7 Boot - Had To Delete CentOS Partition And No Grub Menu

Sep 19, 2010

3 partitions (in order): Windows 7, CentOS and shared data partition.

I need to increase the size of the Windows 7 partition (c:windowswinsxs seems to be something not easily remedied).

GParted didn't work in moving things around (bad sector) so I wiped out its partition (# 2 out of 3) and I was able to increase the size of the Windows 7 partition (I can reinstall CentOS easily and not much work lost).

Except ... no more grub menu (unsurprising). This incantation does allow me to boot into Windows 7.

Is there any way of rebuilding the grub menu short of reinstalling CentOS (5.5)?

View 2 Replies View Related

Ubuntu :: Way To Delete User Name

Feb 28, 2010

I am trying to delete the user name I used to originally install Ubuntu. Every time I restart the computer the entry has returned.Is it undeleteable?

View 4 Replies View Related

Ubuntu :: Cannot Delete User?

Aug 1, 2010

I am having a problem with my login labeled "mysql" with the command # groupadd mysql# useradd -g mysql is is of course all within the confines of being super user. What I am having trouble with is that I cannot delete the user through the terminal using the command userdel but to no avail, it states that the user mysql is still logged in even though I have restarted the computer and logged in only to my root account.Whenever I try to log into mysql account it gives me multiple error messages something about the ICE authority and nautilus and when i get past these and onto the home screen, there is nothing, the wallpaper is there but there are no icons and no tool-bars, I cannot shutdown or get to a terminal while on the dysfunctional user. I cannot delete the user because it states I am logged in even though I am not.

View 3 Replies View Related

Ubuntu :: How To Delete Old User Account

Aug 7, 2011

How do I remove another user? I created a fresh user because of issues from the old user. Now I would like to remove that account. How do I do that?

View 1 Replies View Related

General :: Delete User From Group?

Jan 28, 2010

how to delete a user from a group? i am new to this group started linux admin course.

View 4 Replies View Related

Ubuntu :: How To Delete Or Reset User Account

May 2, 2010

Ever since I upgraded from karmic to lucid my user account has been really buggy. The other profiles on the computer are acting normal but I believe mine is acting strangely because of the way I had my desktop set up before I upgraded (conky and a terminal on my desktop, compiz). Is there a way to reset my account to the default settings? I figured if I could delete my account and recreate it everything would be okay but I can not delete the account.

View 2 Replies View Related

Server :: How To Delete User Account From LDAP

Feb 4, 2010

I configured LDAP. But added a user mistakenly, how can I delete that user account from LDAP. How to create home directory for LDAP users.......

View 1 Replies View Related

Debian :: Accidental Chmod 755 -R /etc/

Apr 22, 2011

I accidentally chmodded my entire /etc/ folder to 755 privileges.

It's not completely critical because my system is a home server.

My biggest problem is that MySQL is pitching a start-up message saying that I have 'unprotected key file', clamav is stating that it won't start until it has owner permissions...

I did chmod 600 /etc/passwd just in case.

"How do I see all the start-up complaints in a text file?"

View 6 Replies View Related

Fedora Security :: Add & Delete User Accounts Script?

Sep 25, 2009

way to automate adding and removing users from 10 different Fedora 7 servers. We use them as print servers and our users have a user name and password to authenticate with when printing. We also use Samba to talk to a W2k3 server that tracks and charges the users for what they print. The set up was done by a vendor and after 6 months of being in production the scripts they created has flaws.

I need a way for a script to run as often as possible that will remove, change, or delete user accounts from the servers and from Samba. how to most effectively achieve this?

It would be ideal to have a file that gets written to when a change needs to be made then a script to make these changes?

View 1 Replies View Related

General :: List All Files/folders A User May Delete?

Aug 17, 2010

I want to know how much damage a user can do on my system if he decides to delete everything (or write to in case of corruption).What command or script might i use to check this?

View 3 Replies View Related

Ubuntu :: Recover Delete User Home Directory

Mar 7, 2011

I run a server where multiple people can access it via SSH and have access to the same folder. Someone recently decided to stop using my server so I deleted their login account inside the User and Group GUI inside gnome. I accidentally selected delete files owned by this user. I didn't think much of it because the user didn't actually own any of the files since it was shared among all of them. Anyway, ALL the files in that shared home directory vanished, including the home directory. How can I recover this? It didn't move all the files to the root trash or my local user's trash folder. Are the permanently deleted?

View 6 Replies View Related

Software :: Script To Delete The User Define Input

Oct 26, 2010

I ve a script to delete a folder is given below:

1. I need a script to clear the cacheroot in my box.

2. What user mention to delete the folder that should ve to delete.

View 5 Replies View Related

Software :: Web Interface To Add / Delete User And Change Password

Feb 1, 2011

Any program that has a web interface and has a features such as adding, deleting users as well as changing password. If none, does anyone knows a program that can interact with a script. A java page or apache+php perhaps? I can create script for those features but my problem is how can I integrate it to a GUI.

View 4 Replies View Related

Ubuntu :: Accidental Boot To GNOME?

Jun 9, 2010

I 've been running Kubuntu 10.4 for some time now.At some point, I installed evolution-indicator and indicator-messages, and after reboot, the system booted on GNOME instead of KDE.Is there any way to reverse it? I tried uninstalling both packages but that did not have any effects.

View 3 Replies View Related

General :: Ubuntu Server - Restrict User To Delete One Folder

Jun 24, 2011

I want to limit delete of a particular folder in the user's home folder and to restrict any add/change/delete on files in that restricted directory.
/home/myuser
/home/myuser/_protected //no delete
/home/myuser/_protected/1.txt //only read
How can I do that on Ubuntu server?

View 1 Replies View Related

General :: Restrict Root User To Delete A File Or Directories?

Jan 20, 2011

is there any way so that we can restrict root to delete a file/directories and What is extended file attributes.

View 12 Replies View Related

Fedora :: Prevent Accidental Closing Of A Window

Jul 12, 2009

I am running a program in gnome-terminal window (using metacity window manager) which will take many hrs to complete.

I was wondering if there is some way to "lock" that window, so that accidental closing of that window is prevented.

View 7 Replies View Related

Ubuntu :: Data Recovery After Accidental Reformatting

Jan 16, 2010

I just erased +200GB worth of photos, documents, music and videos on my external hard drive.I wanted to try the new Ubuntu Lucid Lynx Alpha 2, so I downloaded the .iso, launched the live USB disk creator and tried to format my 1GB pendrive to make room for the OS. Somehow, I ended formatting my 320GB external USB hard drive. The hard drive had to partitions (one EXT3 and one NTFS), but now it only has a FAT partition that spans the whole drive.I understand that the new FAT partition may have erased the EXT3 data structures at the beggining of the partition, making file recovery next to impossible.A confirmation dialog on the live USB disk creator wouldn't have hurted either.

View 5 Replies View Related

Ubuntu :: Accidental Permission Change To 'none' On Folder?

Mar 13, 2010

A rather new user here, was messing with the preferences on a user folder of mine on Karmic, looking for a way to make the folder invisible to users (like the old windows option). Set it to 'none', then closed it, returned to the directory finding the folder with a box with an 'x' on it.

Went to open it, it says 'access denied'. So I think 'okay, how do I undo that', go back to see if I can restore it back to 'read & write' with no sucess.

Seached the forums for a solution to this issue, most of solutions revolve around 'gksudo nautilus' which I attempted to open via command-line. Nothing seemed pop open after I entered my password in responce to entering said command-line, probably because I really don't know how to use Nautilus.

View 4 Replies View Related

General :: Accidental Deletion Need To Recover From Loss

Jun 19, 2010

I accidentally deleted all the files from file system in my hard drive (thankfully not my /home since it resided on a separate hdd). I did this from another system while I had connected that hdd to look at some files since my system was not booting correctly. The problem is that I deleted everything (manually while I was in nautilus) including the .Trash file. I have not formatted this drive so the partition table remains the same, nor have I written anything to it since the deletion, and, this drive is using ext4. What is the best way to restore this drive to how it was (say yesterday at 4:30PM)? (I have a lot of programs installed and I have been upgrading Ubuntu there since 9.04 to now 10.04). If I am not mistaken when data is deleted in ext4 it is simply flagged as usable space, and if that is so, is it possible to just simply unflag this data to get every file back the way it was yesterday at 4:30PM?

View 4 Replies View Related

Ubuntu :: Accidental Overwrite Of .bashrc With Different Script

Jan 23, 2011

I have been working on this script and I just made a ridiculous error. I tried to move my script out of my home directory and for some reason I put in "mv myscript .bashrc" Now my .bashrc file has nothing but my script in there... I think I may have overwritten some important info. Is running cp /root/.bashrc ~

View 2 Replies View Related

Ubuntu :: User (vs. Root) Cannot Move To Trash, Only Delete, On Ext3 Partition?

Jan 9, 2010

I just wanted to post this in case it helps anyone else. I have all my personal files (photos, documents, etc.) saved on a separate ext3 partition (so I don't have to worry about them on new installs, etc.). When I tried to delete files, however, I always received the message: "Cannot move file to trash, do you want to delete immediately?".

After much searching and failed fix attempts (mostly unnecessary messing with fstab), I found this post, which is now archived (or I would have replied there):ttp://ubuntuforums.org/showthread.php?t=759544. And frediE's solution, with a couple tiny modifications, finally solved the problem! (So huge thanks to frediE! ). irst, I found my user id, which is 1000, by going to the System > Administration > Users and Groups menu, selecting my user name (e.g. jnewm), clicking "Properties", andselecting "Advanced".

Second, I created a folder on the root of my partition called ".Trash-1000". (I may have needed to use "gksu nautilus" from a terminal to create the folder, I don't recall.)Third and last, I navigated to the root of the partition in my terminal and ran: sudo chown -R jnewm:jnewm .Trash-1000. Followed by: sudo chmod -R jnewm .Trash-1000 (I doubt this second step was necessary, but I'm listing it just in case). (confirmed unnecessary)

View 4 Replies View Related

Ubuntu Security :: Set Permissions Like Windows - User Can Delete Files But Can't Modify

Jul 16, 2011

look at this : Uploaded with ImageShack.us how can set permissions in linux like this? I want one user can delete files but can't modify them and ... in linux i have 3 group to assign read write and execute them. is ntfs flexible than linux file system?

View 4 Replies View Related

Software :: File Create/modify/delete Monitoring With User Account?

Jan 27, 2011

We are looking to monitor and log selected application file systems for file create/modify/delete changes that will also include, user account that changed/deleted the file, file name and date and time of event. Everything I have looked at does not seem to provide all of the information that we need.Inotify seems to monitor modify/create/delete but does not seem to provide the user account. Auditd seems to monitor modify/create/append with user account, but not deletes.We need to provide this information to auditing for Sarbane Oxley compliance.

View 3 Replies View Related

Debian Configuration :: Accidental Double-click Prevention ?

Apr 17, 2011

There's a physical problem with my Microsoft mouse (and from what I've heard many other Microsoft and Logitech mice) where it accidentally double clicks during what is intended to be one click from me. I was thinking that surely some software that ignores the next click input from the mouse if it is within say 50ms (At a guess) as the last click would solve this problem and increase the longevity of these mice. Is there an option for this somewhere? Perhaps it would be easy to program a simple script or something for this?

View 3 Replies View Related

Ubuntu :: Accidental Deleting Window Os - Recover Files?

Sep 21, 2010

I installed ubuntu 10.10 beta. But i thought it replaced ubuntu 10.04, well it did but i whiped my whole harddrive instead. Can I recover my window 7 that i once had? I accidental installed my linux using up the whole drive. i have alot of server cfg and other stuff such as pic and document.

View 1 Replies View Related







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