Yes, I had the same problem.  The issue is this:  Let's say that you log in as "jason".  When you "su" to root, you're bringing "jason"s environment with you, so you're the root user in jason's environment.  The path is different, so you don't see those programs that you want to run.
 
The solution is easy.  Don't type "su", but rather type "su -".  That's su followed by a space, then the minus sign.  That gives the root user the root environment, and you can do anything you want.
 
Ben
----- Original Message -----
Sent: Monday, June 23, 2003 12:02 AM
Subject: root user on telnet problem

When I log onto my lunix box as a user and use su root to change to the root account, I can’t use commands like chkconfig, services, etc … to start and stop services.  Is there any way I can change the way I am doing things so I will be able to use these commands over a telnet session?

 

 - Jason

Reply via email to