- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root date not synchronized with user date
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
Discussions
Discussions
Forums
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
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
тАО03-30-2008 09:52 PM
тАО03-30-2008 09:52 PM
Root date not synchronized with user date
do anyone ever face this problem? root date is updated. but not for user date. user and root date are not synchronize.
==========================================
N4000_1] / > date
Mon Mar 31 13:48:58 mal 2008
N4000_1] / > id
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)
N4000_1] / >
logout root
$ id
uid=116(faiznaq) gid=20(users)
$ date
Mon Mar 31 00:49:10 EST 2008
============================================
how i can update both and synch both?
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2008 10:09 PM
тАО03-30-2008 10:09 PM
Re: Root date not synchronized with user date
MK
- Tags:
- TZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2008 10:13 PM
тАО03-30-2008 10:13 PM
Re: Root date not synchronized with user date
=================================
N4000_1] / > id
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)
N4000_1] / > date
Mon Mar 31 14:11:10 mal 2008
N4000_1] / > which date
/usr/bin/date
N4000_1] / >
logout root
$ id
uid=116(faiznaq) gid=20(users)
$ date
Mon Mar 31 01:11:23 EST 2008
$ which date
/usr/bin/date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2008 10:24 PM
тАО03-30-2008 10:24 PM
Re: Root date not synchronized with user date
TZ is time zone variable set on the system. Do echo $TZ as a root user and a normal user or see the profile file of root and normal user. Hope this helps.
ie. of TZ
===================
> echo $TZ
GMT0BST
>
===================
Cheers,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2008 10:31 PM
тАО03-30-2008 10:31 PM
Re: Root date not synchronized with user date
but, how to set the TZ for the user's?
i found taht root's TZ is different with user's TZ.
=========================================
N4000_1] / > echo $TZ
mal-8
N4000_1] / >
logout root
$ echo $TZ
sh: TZ: Parameter not set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2008 10:33 PM
тАО03-30-2008 10:33 PM
Re: Root date not synchronized with user date
DO let us know the o/p of TZ variable. If you have come to a conclusion, still let us know.
All the Best.
Cheers,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2008 10:38 PM
тАО03-30-2008 10:38 PM
Re: Root date not synchronized with user date
i didn't get you.. what does it mean? i just set the date, but i wondering why the system is not update the user's time and date.
thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2008 10:39 PM
тАО03-30-2008 10:39 PM
Re: Root date not synchronized with user date
As a normal user, do the following:
1. $TZ=mal-8 (to set the value of TZ variable)
2. $echos $TZ (to check the value set for normal user).
Cheers,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2008 10:43 PM
тАО03-30-2008 10:43 PM
Re: Root date not synchronized with user date
this error appeared.
=======================
$ $TZ=mal-8
sh: TZ: Parameter not set.
$ id
uid=116(faiznaq) gid=20(users)
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2008 11:20 PM
тАО03-30-2008 11:20 PM