HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- which TIMEZONE can I set in /etc/TIMEZONE file
Operating System - HP-UX
1830162
Members
2321
Online
109999
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
Go to solution
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
02-20-2004 02:27 PM
02-20-2004 02:27 PM
I want to change my hp-ux box's timezone,but I do not know which timezone I can choose, how can I list all timezone so that I can choose one ? I do not want to reboot my hp-ux box,But can it take effect? Thanks !
xysco
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2004 02:41 PM
02-20-2004 02:41 PM
Solution
The /etc/TIMEZONE simply set the variable TZ for each user login. No reboot is required. A list of defined timezones is in /usr/lib/tztab and the man page for tztab as well as the tztab file will tell how the file works. Every user that logs in can have their own timezone--just set TZ. HP-UX always keeps time in GMT or Zulu time. The TZ variable is used to translate time.
No reboot is needed although users will have to either logoff and log back on again or source the /etc/TIMEZONE file. Sourcing means using the dot command like this:
. /etc/TIMEZONE
Bill Hassell, sysadmin
No reboot is needed although users will have to either logoff and log back on again or source the /etc/TIMEZONE file. Sourcing means using the dot command like this:
. /etc/TIMEZONE
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2004 03:24 PM
02-20-2004 03:24 PM
Re: which TIMEZONE can I set in /etc/TIMEZONE file
HI,
As already said, system doesn't care what timezone is set in /etc/TIMEZONE. /etc/TIMEZONE specifies the default timezone for all the users that login. It is less confusing if the time reflects the local time. For ex., we are in the midwest area in the US and we set our systems to CST6CDT. Check your timezone and configure accordingly.
In some environments, I have seen SAs configuring GMT as the default timezone. Individual users have to configure their .profile files to override the system's default time zone.
-Sri
As already said, system doesn't care what timezone is set in /etc/TIMEZONE. /etc/TIMEZONE specifies the default timezone for all the users that login. It is less confusing if the time reflects the local time. For ex., we are in the midwest area in the US and we set our systems to CST6CDT. Check your timezone and configure accordingly.
In some environments, I have seen SAs configuring GMT as the default timezone. Individual users have to configure their .profile files to override the system's default time zone.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2004 07:08 PM
02-22-2004 07:08 PM
Re: which TIMEZONE can I set in /etc/TIMEZONE file
use this script>
/sbin/set_parms timezone
After recongiration you will be forced to restart!
/sbin/set_parms timezone
After recongiration you will be forced to restart!
J5000
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