Find the answer to your Linux question:
Results 1 to 3 of 3
Hi. I am a newbie of linux. I am trying dumping some files for fun, using od command. od command looks like have a setuid attribute. Is that mean, I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2

    dumping root file use od


    Hi.

    I am a newbie of linux.
    I am trying dumping some files for fun, using od command.

    od command looks like have a setuid attribute.

    Is that mean, I can use od to dump with a guest ID, to dump some root file? ie, apache log file?

    thank you

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    The od binary on my systems (RHEL4, CentOS5, F15, F16) do not have setuid attribute set. But they are owned by root, is that what you mean?

    Anyway, can you not do this?

    Code:
     su -c 'od /var/log/httpd/error_log'
    Or did u mean something else?

  3. #3
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2

    thank you!

    Quote Originally Posted by atreyu View Post
    The od binary on my systems (RHEL4, CentOS5, F15, F16) do not have setuid attribute set. But they are owned by root, is that what you mean?

    Anyway, can you not do this?

    Code:
     su -c 'od /var/log/httpd/error_log'
    Or did u mean something else?
    Thank you!

    it looks like i made a mistake about od

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •