- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Giving restricted telnet and ftp access at the sam...
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
01-17-2002 03:36 AM
01-17-2002 03:36 AM
Giving restricted telnet and ftp access at the same time
I'm giving telnet and ftp access to a server with rksh. With that I obtained that users can't move from their directories with telnet access but when they do an ftp with a windows client they can move freely to other directories
Anybody knows a way to restrict it without changing the login ? I don't want to use restricted ftp, anonymous ftp or similar, because then I loss the telnet access with it.
Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 04:01 AM
01-17-2002 04:01 AM
Re: Giving restricted telnet and ftp access at the same time
What OS version are you running?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 04:26 AM
01-17-2002 04:26 AM
Re: Giving restricted telnet and ftp access at the same time
I'm using 10.20
I tried to put the chroot in the .profile but it always says me Not Owner
I checked all files in the directory and all of them belongs to the user
If I do it as root no problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2002 07:23 AM
01-19-2002 07:23 AM
Re: Giving restricted telnet and ftp access at the same time
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfea3663ce855d511abcd0090277a778c,00.html
g'd luck
t++
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 03:15 AM
01-21-2002 03:15 AM
Re: Giving restricted telnet and ftp access at the same time
That I have now is:
- Users can telnet but they can't move from his home directory due to the rksh
- Only a few users are allowed to ftp to the system as defines in /etc/ftpusers
Last thing I neeed is these ftp users can't move from his home directory. They use an ftp windows client and it seems that the restriction with rksh is not working with it and they can move around the filesystems.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 05:35 AM
01-21-2002 05:35 AM
Re: Giving restricted telnet and ftp access at the same time
http://www.wu-ftpd.org/
If the technique works on HP-UX 10.20, it'll probably be through the same mechanism:
You can try making the user's home directory like this in /etc/passwd
/home/user/./
or
/home/./user
depending on where you'd like the chroot to occur.
For the former, user's home directory will need a copy of system:/sbin/ls in a bin directory created in their home directory
e.g.
mkdir /home/user/bin
cp /sbin/ls /home/usr/bin/ls
for the latter, you'll need one copy of /sbin/ls in /home/bin
e.g.
mkdir /home/bin
cp /sbin/ls /home/bin/ls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 06:55 AM
01-21-2002 06:55 AM
Re: Giving restricted telnet and ftp access at the same time
1- ftpd rejects remote logins to local user accounts that are named in
/etc/ftpd/ftpusers. Each restricted account name must appear alone on
a line in the file. The line cannot contain any white space. User
accounts that specify a restricted login shell in /etc/passwd should
be listed in /etc/ftpd/ftpusers because ftpd accesses local accounts
without using their login shells.
2- about /etc/passwd
The following fields have character limitations as noted:
+ Login name field can be no longer than eight characters;
+ Initial working directory field can be no longer than 63 characters;
+ Program field can be no longer than 44 characters.
+ Results are unpredictable if these fields are longer than the limits
specified above.