HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Date in restricted ftp is not correct
Operating System - HP-UX
1830407
Members
3683
Online
110002
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
04-02-2002 02:54 AM
04-02-2002 02:54 AM
Hello all. I??m having the next problem ... :
Telnet session :
# ll CA43600NC209XU.200203315*
-rw-r--r-- 1 sag sag 21311 Mar 31 05:17 CA43600NC209XU.2002033150040G
# cat /etc/TIMEZONE
TZ=MET-1METDST
export TZ
# set | grep -i tz
TZ=MET-1METDST
Now a ftp conection to this box with login user root :
ftp> dir CA43600NC209XU.200203315*
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
-rw-r--r-- 1 sag sag 21311 Mar 31 05:17 CA43600NC209XU.2002033150040G
226 Transfer complete.
As we can see is the same file date/time, but let??s do a restricted ftp user conection :
ftp> dir CA43600NC209XU.2002033150*
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
-rw-r--r-- 1 101 101 21311 Mar 31 04:17 CA43600NC209XU.2002033150040G
226 Transfer complete.
The file date/time differs one hour !!
Any idea ??
Thanks in advance.
Rafa
Telnet session :
# ll CA43600NC209XU.200203315*
-rw-r--r-- 1 sag sag 21311 Mar 31 05:17 CA43600NC209XU.2002033150040G
# cat /etc/TIMEZONE
TZ=MET-1METDST
export TZ
# set | grep -i tz
TZ=MET-1METDST
Now a ftp conection to this box with login user root :
ftp> dir CA43600NC209XU.200203315*
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
-rw-r--r-- 1 sag sag 21311 Mar 31 05:17 CA43600NC209XU.2002033150040G
226 Transfer complete.
As we can see is the same file date/time, but let??s do a restricted ftp user conection :
ftp> dir CA43600NC209XU.2002033150*
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
-rw-r--r-- 1 101 101 21311 Mar 31 04:17 CA43600NC209XU.2002033150040G
226 Transfer complete.
The file date/time differs one hour !!
Any idea ??
Thanks in advance.
Rafa
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 03:14 AM
04-02-2002 03:14 AM
Solution
Did you check if a /usr/lib/tztab is visible? If ftpd uses chroot (which I think it does for restricted ftp), there may be no tztab, which means the switch between normal and DST in MET-1METDST is done according to the American rules, which mean switching to DST on the first Sunday in April and not the last in March. So the problem may go away next week
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 03:27 AM
04-02-2002 03:27 AM
Re: Date in restricted ftp is not correct
Thank you very much Melvyn.
Copying /usr/lib/tztab to /home_of_restricted_user/usr/lib/tztab , /home_of_restricted_user/usr/bin/ls works fine.
Best Regards.
Copying /usr/lib/tztab to /home_of_restricted_user/usr/lib/tztab , /home_of_restricted_user/usr/bin/ls works fine.
Best Regards.
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