- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: having an issue with restricted ftp
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
06-01-2006 04:49 AM
06-01-2006 04:49 AM
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 05:03 AM
06-01-2006 05:03 AM
Re: having an issue with restricted ftp
/sbin/init.d/inetd stop
/sbin/init.d/inetd start
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 05:06 AM
06-01-2006 05:06 AM
Re: having an issue with restricted ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 06:21 AM
06-01-2006 06:21 AM
Re: having an issue with restricted ftp
do the users see a message like "access restrictions apply" when they establish the ftp connection?
If not, all the whole ftpaccess configuration is disregarded.
Try changing the user's start up shell from "usr/bin/false" - which I assume it is - to a normal shell and then establish a telnet connection in order to see in which directory you land.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 06:32 AM
06-01-2006 06:32 AM
Re: having an issue with restricted ftp
and no...you are right when an ftp session is initiated it does NOT say restrictions apply. So what am i missing?
So bazaar..it works on the other 2 servers..but not this one?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 06:44 AM
06-01-2006 06:44 AM
Re: having an issue with restricted ftp
you say that the ftp users are part of the ftponly group. Is that group configured as a guestgroup? This is normally configured near the bottom of the ftpaccess file.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:13 AM
06-01-2006 08:13 AM
Re: having an issue with restricted ftp
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:38 AM
06-01-2006 08:38 AM
Re: having an issue with restricted ftp
forgot to tell that you should have checked the users' group byt the "id" command when you had changed their login program to a normal shell - are they in ftponly?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 09:07 AM
06-01-2006 09:07 AM
Re: having an issue with restricted ftp
Note that these users are all part of ftponly group...but it is their secondary group not their primary group. This is also the same setup as the other 2 servers that DO work properly.
below is the ftpaccess file that is being used on all 3 servers:
#
class other guest,real *
banner /etc/issue
limit anonx 10 Any /lbin/lib/system/anon.msg
limit other 20 Any /lbin/lib/system/limit.msg
message /etc/motd LOGIN
message .LOGIN LOGIN
compress yes *
tar yes *
log commands real,guest
log transfers real,guest inbound,outbound
passwd-check rfc822 enforce
chmod yes guest,real
delete yes guest,real
overwrite yes guest,real
rename yes guest,real
umask yes guest,real
guestgroup ftponly
private no
suppresshostname yes
suppressversion yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 09:09 AM
06-01-2006 09:09 AM
Re: having an issue with restricted ftp
usepud06#/home/ftpudata/ftpdso/./>id
uid=4141(ftpdso) gid=102(oaa) groups=4018(ftponly)
and here is the entry in the inetd.conf file
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u0000 -t900 -T900 -L -i -o -a -P -p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 06:34 AM
06-02-2006 06:34 AM
SolutionI would guess that "ftponly" must be the default group for attempted ftp users in your case; try creating a user like the others, but with the difference that his default - and only group membership - is "ftponly".
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 07:33 AM
06-02-2006 07:33 AM
Re: having an issue with restricted ftp
Did you setup a Anounymous FTP account and copied the ~ftp/usr and ~ftp/etc to the users directory.
Can you also create a new ftp line in your /etc/inetd.conf
or
a new inetd.conf file with just the following line:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a -v
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 05:25 AM
06-05-2006 05:25 AM
Re: having an issue with restricted ftp
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 04:29 AM
06-06-2006 04:29 AM
Re: having an issue with restricted ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 04:35 AM
06-06-2006 04:35 AM
Re: having an issue with restricted ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 03:36 AM
06-12-2006 03:36 AM
Re: having an issue with restricted ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2006 11:04 AM
06-21-2006 11:04 AM
Re: having an issue with restricted ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2006 11:04 AM
06-21-2006 11:04 AM