Re: [WBEL-users] No chkconfig or ifconfig commands?
Johnny Hughes <[email protected]>
| Newsgroups | gmane.linux.whitebox.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2006-06-30 at 17:59 -0500, Jeffery Mathis wrote:
> I am trying to configure a DNS server using WBEL, but when I run the
> chkconfig or ifconfig commands, I get "command not found". I'm new to
> WBEL, but I do have prior experience with Red Hat and CentOS. What is
> going on here? Does WBEL use different commands or something?
Maybe you did not login with root in a way that gives you full
environment variables.
Normally, administration is done as the root user and not another user,
and you can get to be root in a couple ways.
The most common is to open a terminal and use the su (switch users)
command. When using "su", you need to use a "-" with the command to get
all the user's environment variables (including the PATH):
so to become "root" with all variables set ....
su -
OR
su - root
If you use su by itself without the the "-" {ie, "su" or "su root"} you
will have root privileges but will stay in your current directory and
not have all environment variables (like root's PATH).
Thanks,
Johnny Hughes
CentOS-4 Lead Developer
_______________________________________________
Whitebox-users mailing list
[email protected]
http://beau.org/mailman/listinfo/whitebox-users
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBEpk3tTKkMgmrBY7MRAisUAJ40fRQcBsPSEOfXH92lRW1VxRLc0wCgnKNV NGjq2dw8uoNuWEwJ39O46oY= =4Wh3 -----END PGP SIGNATURE-----