- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restricted access to a user...
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
09-01-2001 10:37 PM
09-01-2001 10:37 PM
Restricted access to a user...
My qts is can i restrict a user only for telnet access. and not for ftp access. Is it possible.
do i have to add the user name in the ftpusers file or should i have host.equiv file for the same.
Suggestion welcomed
Regards,
Dayanand Naik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2001 10:46 PM
09-01-2001 10:46 PM
Re: Restricted access to a user...
Your question is slightly confusing. Is it that you want to restrict the user using telnet/ftp from the system or to the system?.
If it is to the system ( which I think), then you need to put his/her userid in /etc/ftpd/ftpusers file. For ex., if the entries are like
root
ftp
my_user
Then people cannot use these ids to ftp to the system.
If it is the other way, you need to use rsh to restrict people using ftp command.
hosts.equiv is not to restrict users but to allow login without a password. So, please do not bother about this file.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2001 10:55 PM
09-01-2001 10:55 PM
Re: Restricted access to a user...
Didn't this solve your problem?
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2001 11:18 PM
09-01-2001 11:18 PM
Re: Restricted access to a user...
I have a solution for this. First U go to /etc/passwd and change the shell of the user whome U want to restric telnet to /bin/false. But here is a limitation that this particular user will not be able to login from anywhere. Then edit /etc/shells and add /bin/false line in this.
Now try ftp with this user name, it will work, But not telnet or rlogin.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2001 02:46 AM
09-02-2001 02:46 AM
Re: Restricted access to a user...
If you want to allow a user to be able to telnet in but prevent that user from ftp'ing you can modify the ftpusers file but the question i had was if you are allowing telnet, then the user can ftp out of the system.
Do you want to prevent ftping both in and out of the system?
In that case you will have to modify the /etc/inetd.conf and comment out the ftp line and reread your conf file (inetd -c) and at the same time change the permissions of ftp (/usr/bin/ftp) and/or group ownership so only users belonging to a certain group can execute ftp.
Just my thoghts
-Ramesh