- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: restricted user
Operating System - HP-UX
1753666
Members
6298
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-17-2009 03:49 AM
тАО02-17-2009 03:49 AM
Re: restricted user
Hi Farhan/Dennis,
but in this case, we can't restrict the access of that user on shell through telnet/ssh etc.
-Br
Ahmad
but in this case, we can't restrict the access of that user on shell through telnet/ssh etc.
-Br
Ahmad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 05:01 AM
тАО02-17-2009 05:01 AM
Re: restricted user
Hi Muhammad,
If you want to restrict the telnet/ssh access then change the shell to /bin/false
If you want to restrict the telnet/ssh access then change the shell to /bin/false
Best wishes,
Ganesh.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 08:39 PM
тАО02-17-2009 08:39 PM
Re: restricted user
>Ganeshan R:If you want to restrict the telnet/ssh access then change the shell to /bin/false.
In this scenario user will not be able to login in the server through telnet, as user will not get any shell. i think this will work for ftp.
In this scenario user will not be able to login in the server through telnet, as user will not get any shell. i think this will work for ftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 02:59 AM
тАО02-18-2009 02:59 AM
Re: restricted user
Hi Ahmad,
>>In this scenario user will not be able to login in the server through telnet, as user will not get any shell. i think this will work for ftp.<<
yes ,
But you are looking for "user id" which should be resticted under its own working directory only.?
Can please try below suggestion under (Development Server)
Creat account :- UserA
Edit the /etc/passwd file. Append a "./" to the end of the initial working
userA:cinUTe/NGII4.:505:125::/home/userA/./:/usr/bin/sh
otherwise, You need look for resticted shell (or) jailroot
Thanks,
Johnson
>>In this scenario user will not be able to login in the server through telnet, as user will not get any shell. i think this will work for ftp.<<
yes ,
But you are looking for "user id" which should be resticted under its own working directory only.?
Can please try below suggestion under (Development Server)
Creat account :- UserA
Edit the /etc/passwd file. Append a "./" to the end of the initial working
userA:cinUTe/NGII4.:505:125::/home/userA/./:/usr/bin/sh
otherwise, You need look for resticted shell (or) jailroot
Thanks,
Johnson
Problems are common to all, but attitude makes the difference
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP