12-09-2011
What was your current directory and what EXACT command did you execute?
What user were you at the time? If it was "root", please tell us.
If you have command history enabled, please retrieve the EXACT command.
(Sorry to shout).
What is you backup status?
Ps. The tail end of your post is "ksh: 1167506 Quit(coredump)". This is ominous. Please be prepared for a full system restore from last good backup. In the meantime DO NOT LOG OUT until you have gathered all the information you need.
Quote:
The a chown was done and instead of using ./ a / was used and root ownership files got changed.
Sorry to be overcritical but this is just too vague (but I get the gist that a chown command was typed for the root directory when it should have been relative to the current directory). What was actually typed and what was the current directory at the time? Were you logged in as "root"?
Last edited by methyl; 12-09-2011 at 10:24 PM..
Reason: Layout, content, typos. Stress "do not log out".
This User Gave Thanks to methyl For This Post:
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hi all,
what happens if i have a service running as root?
if it is exploited what would happen?
can a hacker actually becomes a hacker and screw up my whole box?
thanks (1 Reply)
Discussion started by: xNYx
1 Replies
2. Shell Programming and Scripting
From within a directory, how do I determine whether I have write permission for it.
test -w pwd ; echo ?
This doesn't work as it returns false, even though I have write permission. (4 Replies)
Discussion started by: Sniper Pixie
4 Replies
3. UNIX for Dummies Questions & Answers
I need to know whether nyfile/mypath exists on the file system in the root directory.
How to do this (1 Reply)
Discussion started by: ramky79
1 Replies
4. UNIX for Advanced & Expert Users
Hi all,
We have some files are under 744 permissions and the the owner is say owner1 and group1.
Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that.
... (14 Replies)
Discussion started by: TheGunMan
14 Replies
5. UNIX for Dummies Questions & Answers
hai,
I am new to Unix, I have a requirement to display owner name , directory or sub directory name, who's owner name is not equal to "oasitqtc".
(here "oasitqtc" is the owner of the directory or sub directory.)
i have a command (below) which will display all folders and sub folders, but i... (6 Replies)
Discussion started by: gagan4599
6 Replies
6. OS X (Apple)
Would the owner as listed , be the one who made the directory in the first place. when any one could use chown in a script.
I do not know where this directory came form or who made it. And am attempting to just find out more info on it.
what could i use to find its origins and its why does it... (3 Replies)
Discussion started by: cowLips
3 Replies
7. Solaris
Hi ,
I want to change owner of files or folder from 23186 to dsadm,
Present
-------
-rw-r--r-- 1 23186 gdstage 10240 Oct 31 2007 BLTRS
drwxrwxrwx 3 23186 gdstage 512 Sep 1 2010 sql
Required as
-----------
-rw-r--r-- 1 dsadm gdstage 10240 Oct 31 2007 BLTRS
drwxrwxrwx 3 dsadm gdstage... (6 Replies)
Discussion started by: sridhardwh
6 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I'm the root user on my computer, but I'm writing a script that does a lot of file handling. Every time I create a file or directory it automatically requires root privileges. Is there a way I can just create a file that the user can access without a password?
For example in my script I... (20 Replies)
Discussion started by: jdilts
20 Replies
9. AIX
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
10. UNIX for Beginners Questions & Answers
Hi Team,
Am a newbie to Unix. As I would like to see the Server Name,Owner Name ( not numeric form), Group Name ( not numeric ID), ROOT path.
I would like to send this list as an attachment to my personal mail. Can any one please help me out to to resolve this .
Here is the sample result... (6 Replies)
Discussion started by: vasuvv
6 Replies