/sbin not in path in su?
Mike Evans
mike at public.arl.arizona.edu
Tue Dec 16 16:21:00 UTC 2003
Ok, that makes sense, but (and I could be wrong) doesn't that happen
automatically with other distributions (I just came from SuSE 9)?
Matthias Blankertz wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Am Dienstag 16 Dezember 2003 17:11 schrieb Mike Evans:
>
>
>>Sorry if this has been covered... I'm new to the list and the search
>>function in the archives is non-op. After a brand new install of Fedora
>>Core 1 on my Thinkpad R40, I was trying to compile some drivers and
>>noticed that all the errors and warnings that cropped up were related to
>>the script not being able to find "ifconfig"
>>
>>Since ifconfig is in /sbin and I was su, why wouldn't /sbin be in my
>>PATH? I'm not only confused about that, but how to remedy the
>>situation. Thanks for the help.
>>
>>Mike
>>
>>
>>--
>>fedora-list mailing list
>>fedora-list at redhat.com
>>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>>
>>
>
>If you switch to root from another user account with su then the enviroment
>variables (including /sbin and /usr/sbin in PATH) of root are not set, which
>means you can fix the problem by either logging in as root directely or by
>executing 'export PATH=$PATH:/sbin:/usr/sbin'.
>
>Matthias
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.3 (GNU/Linux)
>
>iD8DBQE/3y/az/CQBOPkoHoRArIXAKCNTyBOnalJXnqUDx4QCUdRDW0NDgCgk213
>LLtHg3fpsap9MJ7+52BcZyY=
>=cnFb
>-----END PGP SIGNATURE-----
>
>
>--
>fedora-list mailing list
>fedora-list at redhat.com
>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20031216/0b08cb2b/attachment-0002.html
More information about the users
mailing list