home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!emory!swrinde!zaphod.mps.ohio-state.edu!wupost!gumby!yale!yale.edu!spool.mu.edu!sgiblab!munnari.oz.au!manuel.anu.edu.au!coombs!mark
- From: mark@coombs.anu.edu.au (Mark)
- Newsgroups: comp.unix.wizards
- Subject: Detecting if running under chroot
- Date: 7 Nov 92 07:32:18 GMT
- Organization: Australian National University
- Lines: 11
- Message-ID: <mark.721121538@coombs>
- References: <1992Nov3.183208.20956@newsgate.sps.mot.com>
- NNTP-Posting-Host: 150.203.76.2
- Organisation: Wassat?!
-
-
- I was reading some of the security texts on research.att.com and it mentioned
- that it was possible to detect if one was running under a chroot call.
-
- If the file system is duplicated etc how would you check? Make a massive file
- on the (apparent) root disk (/tmp for instance) and do a 'df' to make sure
- it's the root disk?
-
- Or is there some call that returns your *real* directory.
-
- Mark
-