- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog timestamp when using passwd command
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
08-25-2003 03:17 PM
08-25-2003 03:17 PM
syslog timestamp when using passwd command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 03:31 PM
08-25-2003 03:31 PM
Re: syslog timestamp when using passwd command
What's in /etc/TIMEZONE?
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 03:40 PM
08-25-2003 03:40 PM
Re: syslog timestamp when using passwd command
TZ=GMT
export TZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 03:48 PM
08-25-2003 03:48 PM
Re: syslog timestamp when using passwd command
So the problem has to be in either root's or the calling user's environment. Don't forget to look in the .?shrc file - depending on the shell defined. Also don't forget to check /etc/profile.
Good Huntin',
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 04:10 PM
08-25-2003 04:10 PM
Re: syslog timestamp when using passwd command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 05:04 PM
08-25-2003 05:04 PM
Re: syslog timestamp when using passwd command
This should probably be set in /etc/profile
You should also scan and delete the lines in any .profile files for users that deal with these two variables.
find /home -exec grep -l 'TZ' {} \;
That will get you a list of files, which you can feed into a sed script to nullify the variables.
sed s/TZ/TZOLD/g < fileslist
Make sure if you can't handle it in /etc/profile that the .profile in /etc/skel is correct.
A bit of refinement is necessary.
You also might wish to investigate if your server is pulling time properly from its /etc/ntp.conf file
See if ntpq -p
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
08-25-2003 07:00 PM
08-25-2003 07:00 PM