HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: latest Secure Shell from HP site
Operating System - HP-UX
1834772
Members
2943
Online
110070
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-19-2003 03:36 AM
12-19-2003 03:36 AM
latest Secure Shell from HP site
This is informational more than anything. After installing the latest Secure Shell from HP (on an HP-UX 11.0 system), user's connecting with it were unable to get their mail - we were getting a message about not being able to create a lock file. It turns out that connecting through Secure Shell changes the $MAIL environment variable to /var/spool/mail/$USER while our mail files are written to /var/mail/$USER. I worked around this by modifying a script we call from /etc/profile to export the MAIL env variable using the old path.
We didn't have this with our previous version - 3.10.002 - so I'm guessing it's changed since then, but I couldn't find anything in the release notes on the docs.hp.com site.
Anyway, just a heads up in case any one else encounters this.
We didn't have this with our previous version - 3.10.002 - so I'm guessing it's changed since then, but I couldn't find anything in the release notes on the docs.hp.com site.
Anyway, just a heads up in case any one else encounters this.
A job worth doing is probably someone else's.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 03:50 AM
12-19-2003 03:50 AM
Re: latest Secure Shell from HP site
Thats a permissions and .profile settings issue.
I am pretty sure it has nothing to do with Secure Shell.
Check the env command on the users and make appropriate changes to variable or permissions on the files the variables point to.
SEP
I am pretty sure it has nothing to do with Secure Shell.
Check the env command on the users and make appropriate changes to variable or permissions on the files the variables point to.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
12-19-2003 04:09 AM
12-19-2003 04:09 AM
Re: latest Secure Shell from HP site
Hi,
I think SEP is right but to answe your question:
A.03.61.002
downloadable at:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Gideon
I think SEP is right but to answe your question:
A.03.61.002
downloadable at:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 04:36 AM
12-19-2003 04:36 AM
Re: latest Secure Shell from HP site
Steven,
That's what I thought too, initially. So I created the /var/spool/mail directory - we'd never had one before this - and set permissions and ownership. I could then run mail but since the the actual mail files are written to /var/mail/username, I still didn't see the messages until I manually re-exported the $MAIL as /var/mail/$USER. The other thing I noticed was this: i have a system that has Secure Shell on it but we haven't turned off telnet yet. When I telnet to the system with my account, the $MAIL variable is /var/mail/myusername. If I ssh to it, the variable is /var/spool/mail/myusername.
I basically did what you suggested, anyway, and set up the MAIL env variable throught /etc/profile since it was happening to every account we ssh'd with.
Gideon, thanks for the link. I double checked to be sure, that's the version I downloaded and installed that started all of this.
Greg
That's what I thought too, initially. So I created the /var/spool/mail directory - we'd never had one before this - and set permissions and ownership. I could then run mail but since the the actual mail files are written to /var/mail/username, I still didn't see the messages until I manually re-exported the $MAIL as /var/mail/$USER. The other thing I noticed was this: i have a system that has Secure Shell on it but we haven't turned off telnet yet. When I telnet to the system with my account, the $MAIL variable is /var/mail/myusername. If I ssh to it, the variable is /var/spool/mail/myusername.
I basically did what you suggested, anyway, and set up the MAIL env variable throught /etc/profile since it was happening to every account we ssh'd with.
Gideon, thanks for the link. I double checked to be sure, that's the version I downloaded and installed that started all of this.
Greg
A job worth doing is probably someone else's.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP