- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sftp chroot help...
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
тАО10-01-2009 09:27 AM
тАО10-01-2009 09:27 AM
sftp chroot help...
I do need to lock the id into there home directory, right now they can move around where ever they want to..
Can you assist with this setup...
user id for sftp only account:
mpxsftp:x:113:116:chrooted user:/home/centftp/prod/00036_mpx/incoming:/bin/sftponly
I am running HP-UX 11.11 and following Secure Shell Version:
T1471AA A.05.10.006 HP-UX Secure Shell
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 10:43 AM
тАО10-01-2009 10:43 AM
Re: sftp chroot help...
It briefly mentions the ssh and chroot environments and prompts you to read the README.hp file under /opt/ssh. There is also a script to make the conversion of a regular account to a chrooted account, /opt/ssh/utils/ssh_chroot_setup.sh
Have you looked at these?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 11:00 AM
тАО10-01-2009 11:00 AM
Re: sftp chroot help...
Only thing I can see that it did was take away the sftponly and changed it to /bin/sh
I could still move around to other file systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 02:13 PM
тАО10-01-2009 02:13 PM
Re: sftp chroot help...
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2009 04:22 AM
тАО10-02-2009 04:22 AM
Re: sftp chroot help...
mpxsftp:x:113:116:chrooted user:/home/centftp/prod/00036_mpx/incoming/./home/mpxsftp:/bin/sftponly
=>sftp mpxsftp@tstsrvr
Connecting to tstsrvr...
Password:
sftp> pwd
Remote working directory: /aftp/reformaster/home/centftp/prod/00036_mpx/incoming/home/mpxsftp
sftp> ls
bin opt usr
sftp> cd /
sftp> pwd
Remote working directory: /
sftp> ls
2 aftp apps auto
autoemh autoemh2 autoemh3 autoemh4
autoemh5 autoemh6 bin ca_lic
cnpuref1 cust dev emh
etc etrust export fonts.alias
fonts.dir ftp home home2
lib lost+found mnt monitor
net opt orderofscript.txt osg1
prod realtime root sbin
sources stand tmp tmp_mnt
umount_uref1vg01 uref1vg01.mapfile uref1vg01.outfile usr
var vgdisplay.uref1vg01
sftp> quit
=>