Am So, den 11.07.2004 schrieb Phil Dybvig um 18:09: > (and avoid memorizing the path to the init scripts) but only if /usr/sbin is in > $PATH. But /usr/sbin is not in the default $PATH, or Daniel would have seen the > binary /usr/sbin/httpd. /usr/sbin can be added to the default path a lot of > ways, e.g. using lines in .bash_profile > > PATH=/usr/sbin:$PATH > export PATH > > Phil /sbin/ and /usr/sbin/ are in the $PATH environment set if the user becomes root by invoking a root login shell using "su -". As only root is allowed to start, stop or restart services it is absolutely sufficient that both directories are only set within the $PATH for root user and not normal system users. Alexander -- Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435.2.3 Serendipity 18:40:25 up 4 days, 48 users, load average: 0.97, 0.65,
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil