- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh/rlogin versus dtwm login environment varia...
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-08-2005 06:26 AM
06-08-2005 06:26 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 06:28 AM
06-08-2005 06:28 AM
Re: ssh/rlogin versus dtwm login environment variables
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 06:46 AM
06-08-2005 06:46 AM
Re: ssh/rlogin versus dtwm login environment variables
DTSOURCEPROFILE=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 07:56 PM
06-08-2005 07:56 PM
Re: ssh/rlogin versus dtwm login environment variables
With a graphical login (cde, X11, xdmcp and such) the files that are processed is a large list (/usr/dt/..., /etc/dt/...). In user-space, the ~/.dtlogin is the place too look. Only where a c-shell is actively used, the ~/.cshrc file is also sourced once the shell is started. If a bourne-shell variant is used, no file is sourced (not even the ~/.profile).
Hence check both areas for setting of this variable and correct the wrong one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 03:05 AM
06-09-2005 03:05 AM
Re: ssh/rlogin versus dtwm login environment variables
I have found the variable in the /usr/dt/bin/Xsession:
# MAIL set to "/var/mail/$USER"
[ -z "$MAIL" ] && MAIL="/var/mail/$USER"
export PATH EDITOR MAIL TERM SESSION_SVR LANG
Any guesses to where it might get set for ssh? I've added some code to the users .profile and will added it to the /etc/profile if needed, but I would rather find the error and fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 05:47 PM
06-09-2005 05:47 PM
Solution# define MAIL_DIRECTORY "/var/spool/mail"
to
# define MAIL_DIRECTORY "/var/mail"
This may be fixed in HP's openssh (not sure about that).
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 02:50 AM
06-13-2005 02:50 AM
Re: ssh/rlogin versus dtwm login environment variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 02:32 AM
06-15-2005 02:32 AM