inflexion Posted March 25, 2005 Report Share Posted March 25, 2005 someone shead some light on this one then? ifconfig, routert, finger none of those commands work in the Terminal window and tell me that the command isnt found. Quote Link to comment Share on other sites More sharing options...
fissy Posted March 25, 2005 Report Share Posted March 25, 2005 If you're not root, you need to specify the full path to some of those commands. ie. /sbin/ifconfig They might not work even then, depending on your setup. You may have to be root. Quote Link to comment Share on other sites More sharing options...
Havin_it Posted March 25, 2005 Report Share Posted March 25, 2005 Are you by any chance logged-in as a normal (non-root) user? If so, these utilities are not normally in your PATH environment variable. You can still use some of them (those that have global execute permissions) by typing the full path. For example, ifconfig = /sbin/ifconfig You can find the paths for the others by using the whereis command: whereis <command> If you ARE logged-in as root, then paths like /sbin are not in your PATH for some reason. Not sure how to fix that, but someone should know... Quote Link to comment Share on other sites More sharing options...
inflexion Posted March 25, 2005 Author Report Share Posted March 25, 2005 yup i was logged in as a normal user. thought that i would have access to them as im sure you do in RH9 ah well an easy one solved :P Thanks guys Quote Link to comment Share on other sites More sharing options...
Guest Adriano1 Posted March 25, 2005 Report Share Posted March 25, 2005 well, I work on Fedora, and something interesting is that if you 'su' in as root normally your path doesn't include the /sbin directory. You have to log in with 'su -' or curse a bit until you remember the gotcha. Quote Link to comment Share on other sites More sharing options...
inflexion Posted March 25, 2005 Author Report Share Posted March 25, 2005 dunno mate i just remember that when we were doin our RH assignment we didnt have to login as root to use them, guess they changed it or ive forgotten that i did Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.