- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- user ftp restricted & timezone METDST
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
03-30-2004 03:03 AM
03-30-2004 03:03 AM
user ftp restricted & timezone METDST
ftp_spe::xxx:yyy:FTP user:/app/a_spe/./.:/usr/bin/false
and after the change hour, appened sunday 28/03/2004 (2.00 became 3.00), this user don't see the correct creation/acces time of a files or dirs, es: if a file was created at 14.00 they see 13.00.
Can you help me?Thanks
Facchini Gabriele
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2004 03:08 AM
03-30-2004 03:08 AM
Re: user ftp restricted & timezone METDST
I would think that disconnecting all users at time change and forcing a reconnect should solve this issue.
I would make sure my ftpd server is fully patched and my system is patched.
I would also consider connecting my server to a valid ntp time source so it stays on the correct time.
This looks like a bug or perhaps a file that was created during those few milliseconds the clock was switching times.
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
03-30-2004 03:48 AM
03-30-2004 03:48 AM
Re: user ftp restricted & timezone METDST
is it only a problem for one single ftp user? If it is a problem for all the ftp users then I have a theory - if not, you might as well stop reading further...
But if it goes for all ftp users, the reason could be located somewhere else. An ftp user does not login as a normal user, hence no settings from startup files, e.g. .profile are read. An ftp user gets his TZ setting from the system default, etc/TIMEZONE. The reason why the ftp users' time on files differs from other users' could then be that the other users have their own TZ setting in their login sequence. It may sound far-fetched, but if you create a new user without any kind of TZ setting in the startup files, does he then see the same file stamps as the ftp users?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2004 07:45 PM
03-30-2004 07:45 PM
Re: user ftp restricted & timezone METDST
This problem is common to all restricted ftp users. This user don't have a shell [/usr/bin/false] and the problem persist if the user close and reopen a new conection.
Perhaps this user during the autentication don't inherit the timezone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2004 08:08 PM
03-30-2004 08:08 PM
Re: user ftp restricted & timezone METDST
what is the output of
# echo $TZ
?
It should be MET-1METDST.
If it is not then change it into /etc/TIMEZONE file.
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2004 08:23 PM
03-30-2004 08:23 PM
Re: user ftp restricted & timezone METDST
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2004 09:04 PM
03-30-2004 09:04 PM
Re: user ftp restricted & timezone METDST
if you login as root into system and launch
# echo $TZ
what does it obtain?
As John said ftp user should take TZ setting from system default. Then if system default has a wronged TIMEZONE it will reflect all users.
Just a thought...
Best regards,
Ettore
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 06:43 AM
03-31-2004 06:43 AM
Re: user ftp restricted & timezone METDST
it sounds as if the ftp users use the /etc/TIMEZONE definition and other users do not. Try doing as Ettore suggests and then execute the date command.
Then execute the commands in /etc/TIMEZONES in the same shell. And then execute the date command again - my guess is that the date command will now show the same time as the ftp users see. Is that correct?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 05:39 PM
03-31-2004 05:39 PM
Re: user ftp restricted & timezone METDST
date
Thu Apr 1 08:34:31 METDST 2004
cat /etc/TIMEZONE
TZ=MET-1METDST
export TZ
echo $TZ
MET-1METDST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 06:06 PM
03-31-2004 06:06 PM
Re: user ftp restricted & timezone METDST
it looks as if your "normal" users have some TZ setup in their .profile or elsewhere, hence the "METDST" in the posted date command.
I probably did not explain clearly enough the test I wanted you to perform, namely first login as a regular user, e.g. root, as you have done and then execute date.
Then try and execute the two commands in your /etc/TIMEZONE file, e.g.:
# TZ=MET-1METDST
# export TZ
and then again:
# date
which will probably display the time that yout ftpusers see (one hour earlier). If that is the case then the default setting is not correct. Do the two date commands show different results?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 06:48 PM
03-31-2004 06:48 PM
Re: user ftp restricted & timezone METDST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 07:09 PM
03-31-2004 07:09 PM
Re: user ftp restricted & timezone METDST
I don't understand what test i can do for this restricted users.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 07:11 PM
03-31-2004 07:11 PM
Re: user ftp restricted & timezone METDST
Thanks
Gabriele
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 07:39 PM
03-31-2004 07:39 PM
Re: user ftp restricted & timezone METDST
here the solution:
# cp /usr/lib/tztab /app/a_spe/usr/lib
It is needed to copy tztab in the home directory of ftp anonymous user.
I saw this into the following thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=138820
I had your same problem on a my system and I solved with the command above.
I hope this helps you too.
Ciao.
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 08:48 PM
03-31-2004 08:48 PM
Re: user ftp restricted & timezone METDST
Facchini Gabriele