[Linux] root icin PATH variable

---------

New Message Reply About this list Date view Thread view Subject view Author view

From: Volkan YAZICI (volkany@celiknet.com)
Date: Thu 04 Jul 2002 - 11:14:58 EEST


merhaba

sisteme normal bir user olarak girip

$ su
Password:
$ ifconfig
...

komutunu verdigim zaman her sey normal gerceklesiyor.
fakat dun ne olduysa oldu, x'den ciktim sonra logout oldum.
root olup bilgisayari kapatmak icin poweroff komutu verdim;
command not found dedi, sonra ifconfig dedim gene command
not found dedi. sonra olayi anlamis bulunup echo $PATH dedigimde
/sbin dizinin ordan kalktigini gordum
simdi kendim orya ekleyip bilgisayari kapattim ama...

$ export PATH="${PATH}:/sbin"
$ poweroff

neden durduk yere boyle bir sey yasadim, bir de ben her logout
olup root oldugumda /sbin dizinini PATH degiskenine ekleyecek miyim?
bunu oraya eklemesi gereken script'e herhalde bir seyler oldu
yardimci olursaniz sevinirim

iyi calismalar...

-- Attached file included as plaintext by Ecartis --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9JAQHxaXLCX9aITcRApCBAKCTKfR8mI+lmnGGLhHpBwsrd+q43wCgx6/3
aCGV0tWHPZqTxHa+aNmqPmw=
=TRio
-----END PGP SIGNATURE-----

-- Attached file included as plaintext by Ecartis --

Bedava POP3 destekli E-mail Aldınız mı?...(http://www.celiknet.com)

-----------------------------------------------------------------------
Liste üyeliğiniz ile ilgili her türlü işlem için
http://liste.linux.org.tr adresindeki web arayüzünü kullanabilirsiniz.

Listeden çıkmak için: 'linux-request@linux.org.tr' adresine,
"Konu" kısmında "unsubscribe" yazan bir e-posta gönderiniz.
-----------------------------------------------------------------------


New Message Reply About this list Date view Thread view Subject view Author view

---------

Bu arsiv hypermail 2b29 tarafindan uretilmistir.