- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Unexpected messages when using ssh and rlogin
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 09:43 PM
06-10-2003 09:43 PM
Unexpected messages when using ssh and rlogin
root: command not found
root: Undefined variable
The remote login works fine, but we have these messages.
I also have a question about user environments. When we remote login via ssh or rlogin does the user's environment get setup? i.e. does the .cshrc get executed? For example, our users use the c-shell. So, when we remote login, should we have history and all the other common features of the shell environment? Oh, and could those messages have anything to do with the fact that rlogin and ssh are suid root?
Any help would be greatly appreciated. I would really like to get rid of those messages!!
Thanks,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 09:58 PM
06-10-2003 09:58 PM
Re: Unexpected messages when using ssh and rlogin
Yes.When we remote login via ssh or rlogin the user's environment get setup.
If the default remote shell is csh, csh sources the remote .cshrc file before the command. remsh cannot be
used to run commands that require a terminal interface like vi, more.
So you need to check up the environment settings for your errors.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2003 08:29 AM
06-11-2003 08:29 AM
Re: Unexpected messages when using ssh and rlogin
The script you are using hasn't been fully tested.
vi becomes
/usr/share/locale/vi
tar becomes
/usr/lib/vfs/extfs/tar
etc
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2003 11:25 AM
06-11-2003 11:25 AM
Re: Unexpected messages when using ssh and rlogin
You probably have problem with your .cshrc
check it to find the lines that belong
to the errors then you will understand the problem.
With the remote connection you have all the
user enviroment, you can see that because
that you have those errors, because it's
load your enviroment.
On the system you will find that a lot of
programs have suid, without this they could
not work or work only for root.
Caesar
PS.
You can also check the .login file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2003 11:27 AM
06-11-2003 11:27 AM
Re: Unexpected messages when using ssh and rlogin
echo
to the .cshrc of the user you are logging in as.
This will display each command line as it is being executed, and should make it easier to find the offending command(s).