- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Time Zone
Operating System - HP-UX
1753349
Members
5103
Online
108792
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
Discussions
Discussions
Forums
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
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
тАО03-15-2007 01:14 AM
тАО03-15-2007 01:14 AM
Time Zone
Hi,
When I fire the 'date' command on the HP-UX system, I get the correct date and time. But when I fire the date command on the same machine, through remsh, I get the wrong date.
Currently, the TZ is IST. When I fire the date command, using remsh, I get IST-5:30. Is there any other setting of Time Zone for remsh? If yes, then what is the procedure to change it
When I fire the 'date' command on the HP-UX system, I get the correct date and time. But when I fire the date command on the same machine, through remsh, I get the wrong date.
Currently, the TZ is IST. When I fire the date command, using remsh, I get IST-5:30. Is there any other setting of Time Zone for remsh? If yes, then what is the procedure to change it
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2007 01:19 AM
тАО03-15-2007 01:19 AM
Re: Time Zone
Try executing your /etc/profile when you jump info remsh.
I have a few links in my bookmarks, about this topic.
http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2005-04/0021.html
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=534403
--Johnny
I have a few links in my bookmarks, about this topic.
http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2005-04/0021.html
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=534403
--Johnny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2007 02:19 PM
тАО03-15-2007 02:19 PM
Re: Time Zone
IST-5:30 is the correct TZ setting for India.
It appears that TZ is one of the few variables that remsh sets, probably from /etc/TIMEZONE.
As Johnny says, if you want your variables set, you should source your .profile.
It appears that TZ is one of the few variables that remsh sets, probably from /etc/TIMEZONE.
As Johnny says, if you want your variables set, you should source your .profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2007 03:13 PM
тАО03-15-2007 03:13 PM
Re: Time Zone
The TZ value very much depends on the environment supplied to the program. A telnet connection will go through 'normal' profiles but remsh does not perform a normal login. You can verify this like this:
remsh remotebox set
The TZ value for a simple remsh was defined by inetd which is the parent for remshd. inetd gets the TZ value from /etc/TIMEZONE when the system boots up but any changes to that file will not be seen by inetd. You must restart inetd with the desired TZ value.
Bill Hassell, sysadmin
remsh remotebox set
The TZ value for a simple remsh was defined by inetd which is the parent for remshd. inetd gets the TZ value from /etc/TIMEZONE when the system boots up but any changes to that file will not be seen by inetd. You must restart inetd with the desired TZ value.
Bill Hassell, sysadmin
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP