*BSD News Article 54096


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!chi-news.cic.net!newsfeed.internetmci.com!howland.reston.ans.net!Germany.EU.net!news.dfn.de!zeus.rbi.informatik.uni-frankfurt.de!grapool30.rz.uni-frankfurt.de!orakel!avg
From: avg@orakel.rz.uni-frankfurt.de (Anton von Gotstedter)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Manual pages sometimes miss information....
Date: 6 Nov 1995 12:22:06 GMT
Organization: J. W. Goethe-Universitaet Frankfurt/Main
Lines: 38
Message-ID: <47kule$dh0@grapool30.rz.uni-frankfurt.de>
References: <Pine.BSF.3.91.951022024358.1055A-100000@ntworker.gscorp.com> <Pine.BSF.3.91.951022033320.1233A-100000@ntworker.gscorp.com> <46hb1r$dq3@uriah.heep.sax.de>
NNTP-Posting-Host: orakel.rz.uni-frankfurt.de
X-Newsreader: TIN [version 1.2 PL2]

J Wunsch (j@uriah.heep.sax.de) wrote:
> Philipp Ott  <philipp@gscorp.com> wrote:
> >
> >Grummel, here's another small trap which differs from other Linux
> >flavours: the csh prompt (from su) didn't tell me that I was still root. 
> >Hmpf. 

> You are free to put whatever you want into root's .cshrc file, and it
> will be executed even for su(8).

> My ~root/.cshrc ends up in:

> ...
> if ($?prompt) then
>         set prompt="`hostname -s ` # "
> endif

> set path = ( /sbin /usr/sbin /bin /usr/bin /usr/local/bin /usr/X11R6/bin )

> Btw., having /usr/sbin in the path might even be useful for normal
> users:



> HIER(7)                      UNIX Reference Manual                     HIER(7)

> NAME
>      hier - layout of filesystems
> ...
>      /usr/    contains the majority of user utilities and applications
> ...
>               sbin/     system daemons & system utilities (executed by users)
>                                                            ^^^^^^^^^^^^^^^^^
> -- 
> cheers, J"org

> joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
> Never trust an operating system you don't have sources for. ;-)