bash:lilo:command not found !!!! (Necal)

Dimitris Mandalidis mandas at ath.forthnet.gr
Mon Feb 12 14:18:01 EET 2001


On Mon, 12 Feb 2001 Necal wrote:

> lilo: /sbin/lilo
> pao sto /sbin tou leo pali lilo .ta idia !! command not found !
> tou leo ./lilo kai epekse !!!
> loipon katalabeno pos einai kati sto profile mallon ... alla einai sto
> profile olon ton xriston !!! kai xoris na peirakso kai tpt !!! 
> opos kai na exei ... pos mporo na to ftiakso ??? ti prepei na balo sto
> .profile ????????

Σου παραθέτω το δικό μου /etc/profile :

# For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
# the $PATH.  Some means of connection don't add these by default (sshd
# comes to mind).

if [ "`id -u`" = "0" ]; then
  echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
  if [ ! $? = 0 ]; then
    PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
  fi
fi

Βέβαια μην περιμένεις να δουλέψει σε non-root users ακόμα κι αν το
προσθέσεις στο ~/.profile τους.

Φιλικά,
Δημήτρης





More information about the Linux-greek-users mailing list