Computing.Net > Forums > Linux > LPC from a telnet session

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

LPC from a telnet session

Reply to Message Icon

Name: Ryan Langford
Date: June 11, 2001 at 09:00:53 Pacific
Comment:

Hello All:

Why can't I run the 'lpc' command from a telnet session? I get the error: 'bash: lpc: command not found'

This happens even after I su in as root.

Any help would be greatly appreciated.

Ryan



Sponsored Link
Ads by Google

Response Number 1
Name: danny
Date: June 11, 2001 at 12:42:35 Pacific
Reply:

because the directory /usr/sbin is not included by default in the PATH variable.

then you may modify the default PATH in your .bash_profile, or type the complete path /usr/sbin/lpc



0

Response Number 2
Name: Mik
Date: June 12, 2001 at 00:27:49 Pacific
Reply:

Just using the command "su" will log you in as root user but will not load any of the environment variables for the root user. Try using the command "su -" this will simulate a full login and also load files like .cshrc and .profile.

Mik


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: LPC from a telnet session

uploading from a telneted machine www.computing.net/answers/linux/uploading-from-a-telneted-machine/20270.html

PS/2 Mouse/Keyboard Problem www.computing.net/answers/linux/ps2-mousekeyboard-problem/17174.html

Telnet from a script www.computing.net/answers/linux/telnet-from-a-script/4519.html