- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 2 psftp questions - /usr/bin/false & SCO unix.
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
тАО02-27-2008 03:33 AM
тАО02-27-2008 03:33 AM
I have just installed SSH on my RP5430 HPUX 11i box. I have currently 1 ftp restricted user who is only allowed to ftp to a chrooted directory & uses /usr/bin/false. This has worked fine for the past couple of years but now I need to disable ftp/telnet & use putty/psftp. This restricted user is set up with a shell /usr/bin/false but this doesn't work with psftf as it needs a "proper" shell. Anyone recommend a good way to keep the user restricted to the one directory only but allow psftp.
Also, one of our sites has a SCO UNIX-SVR5 box which ftp's to the HPUX server every day. Anyone know if PSFTP is available for SCO.
Many Thanks,
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 07:31 AM
тАО02-27-2008 07:31 AM
Re: 2 psftp questions - /usr/bin/false & SCO unix.
PSFTP is PuTTY's implementation of sftp. Installing ssh / sftp on the SCO box should be sufficient I would think. Might have to build from source code however (I haven't seen / touched SCO in over a decade, so I've no resources to check)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 08:06 AM
тАО02-27-2008 08:06 AM
Re: 2 psftp questions - /usr/bin/false & SCO unix.
1) you can try to add /usr/bin/false to /etc/shells (see 'man shells').
2) I your OpenServer version is 5.0.7 or later, there was (is?) an official version available - perhaps on one of the 'skunkware CD'.
For prior versions, you can look here:
http://www.aljex.com/bkw/sco/
You need a 'perl' for a succesful 'make install', which may not be available.
If there is no perl, produce the output file (ignore the man page stuff) under HP-UX, put it into the dist-tree an use
make install PERL=/bin/true
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 10:29 AM
тАО02-27-2008 10:29 AM
SolutionSSH provides and equivalent to use as a shell in /etc/passwd, it is /opt/ssh/libexec/sftp-server. No need to add it to /etc/shells either. This is for sftp setup only.
For chroot sftp use the utility script /opt/ssh/utils/ssh_chroot_setup.sh, it does a good job setting it up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 10:48 AM
тАО02-27-2008 10:48 AM
Re: 2 psftp questions - /usr/bin/false & SCO unix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 11:16 AM
тАО02-27-2008 11:16 AM
Re: 2 psftp questions - /usr/bin/false & SCO unix.
I forgot to add, that the SCO information refers to OpenSSH 3.5p1 .
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 04:43 AM
тАО03-03-2008 04:43 AM
Re: 2 psftp questions - /usr/bin/false & SCO unix.
Many Thanks,
Tim