Sponsored Content
Operating Systems AIX Unix root directory owner wrong AIX 5.3 Post 302580825 by dukessd on Friday 9th of December 2011 08:11:29 PM
Old 12-09-2011
On my only remaining 5.3 box at TL08 I got this:
Code:
/home/root # cd /
/ # ls -l
total 23132
drwxr-x---    2 root     audit           256 18 Dec 2008  audit
lrwxrwxrwx    1 bin      bin               8 18 Mar 2010  bin -> /usr/bin
-rw-r--r--    1 root     system         6067 08 Aug 18:09 bosinst.data
drwxrwxr-x    8 4000     4000           2048 28 Apr 2008  cdrom
-rw-r--r--    1 root     system     13393920 05 Jun 2009  core
drwxr-xr-x    2 root     system          256 19 Jun 2009  db2bkups_new
drwxrwxr-x    5 root     system         8192 08 Dec 18:16 dev
drwxr-xr-x    6 root     system          256 28 May 2009  .dt
-rwxr-xr-x    1 root     system         3970 28 May 2009  .dtprofile
drwxr-xr-x   15 esaadmin system         4096 18 Dec 2008  esa
drwxr-xr-x   28 root     system        12288 08 Dec 18:16 etc
drwxr-xr-x   14 bin      bin            4096 12 Apr 2011  home
-rw-r--r--    1 root     system        10505 08 Aug 18:09 image.data
lrwxrwxrwx    1 bin      bin               8 18 Mar 2010  lib -> /usr/lib
drwx------    2 root     system          256 18 Mar 2010  lost+found
drwxr-xr-x  153 bin      bin           12288 04 Jul 12:17 lpp
drwxr-xr-x    2 root     system          256 19 Jun 2009  lv00_fs
drwxr-xr-x    3 root     system          256 26 Jan 2009  mkcd
drwxr-xr-x    3 bin      bin             256 27 Sep 23:51 mnt
drwxr-xr-x   13 root     system         4096 18 Mar 2010  opt
dr-xr-xr-x    1 root     system            0 08 Dec 18:17 proc
-rw-r--r--    1 root     system           36 18 Dec 2008  .rhosts
drwxr-xr-x    3 bin      bin             256 18 Dec 2008  sbin
-rw-------    1 root     system         1360 29 May 2009  .sh_history
drwxrwxr-x    3 root     system          256 18 Dec 2008  .SPOT
drwxrwxr-x    2 root     system          256 18 Dec 2008  tftpboot
drwxrwxrwt   15 bin      bin            8192 08 Dec 18:16 tmp
drwxr-xr-x    2 root     system         4096 29 May 2009  TT_DB
lrwxrwxrwx    1 bin      bin               5 18 Mar 2010  u -> /home
lrwxrwxrwx    1 root     system           21 18 Mar 2010  unix -> /usr/lib/boot/unix_64
drwxr-xr-x   43 bin      bin            4096 18 Mar 2010  usr
drwxr-xr-x   30 bin      bin            4096 26 Oct 2010  var
-rw-rw-r--    1 root     system            3 28 May 2009  .wmrc
-rw-------    1 root     system          123 28 May 2009  .Xauthority

HTH
This User Gave Thanks to dukessd For This Post:
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

root owner of daemons?

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

determine owner directory permissions from within the directory

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

how to find a path within unix root directory

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

How UNIX admin set up this? how files of 744 of other owner can be removed by another owner?

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

How to display only Owner and directory/sub directory names under particular root

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)

Logic of owner of directory or file

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

Changing file/directory owner

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

Creating a file where the owner and group is not root

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

How to set owner and permission for files/directory in directory in this case?

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

UNIX command to display Owner,Group,Root and Subdirectories list

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
GZEXE(1)						      General Commands Manual							  GZEXE(1)

NAME
gzexe - compress executable files in place SYNOPSIS
gzexe name ... DESCRIPTION
The gzexe utility allows you to compress executables in place and have them automatically uncompress and execute when you run them (at a penalty in performance). For example if you execute ``gzexe /usr/bin/gdb'' it will create the following two files: -rwxr-xr-x 1 root root 1026675 Jun 7 13:53 /usr/bin/gdb -rwxr-xr-x 1 root root 2304524 May 30 13:02 /usr/bin/gdb~ /usr/bin/gdb~ is the original file and /usr/bin/gdb is the self-uncompressing executable file. You can remove /usr/bin/gdb~ once you are sure that /usr/bin/gdb works properly. This utility is most useful on systems with very small disks. OPTIONS
-d Decompress the given executables instead of compressing them. SEE ALSO
gzip(1), znew(1), zmore(1), zcmp(1), zforce(1) CAVEATS
The compressed executable is a shell script. This may create some security holes. In particular, the compressed executable relies on the PATH environment variable to find gzip and some standard utilities (basename, chmod, ln, mkdir, mktemp, rm, sleep, and tail). BUGS
gzexe attempts to retain the original file attributes on the compressed executable, but you may have to fix them manually in some cases, using chmod or chown. GZEXE(1)
All times are GMT -4. The time now is 06:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy