- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restricted login to server
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
10-04-2009 10:51 PM
10-04-2009 10:51 PM
Restricted login to server
how to restricted user login to server hp-ux ?
I want to restricted some user to login to server.
-yut-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2009 11:08 PM
10-04-2009 11:08 PM
Re: Restricted login to server
What type of restriction you are asking about...
Is this FTP user or Telnet, SSH.
What is the OS version.
thnx...farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2009 11:16 PM
10-04-2009 11:16 PM
Re: Restricted login to server
SAM - system administration manager
# sam -f
## Execute SAM with the privileges associated
with the specified login. When used in
conjunction with -r, the Restricted SAM
Builder is invoked and initialized with the
privileges associated with the specified
login.
# sam -r
## Invoke the Restricted SAM Builder. This
enables the system administrator to provide
limited non-superuser access to SAM
functionality.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2009 11:18 PM
10-04-2009 11:18 PM
Re: Restricted login to server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2009 11:41 PM
10-04-2009 11:41 PM
Re: Restricted login to server
You should always block access to root user/group:
Open /etc/ssh/sshd_config file:
# vi /etc/ssh/sshd_config
Append following names (directives):
DenyUsers user1 user2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2009 11:50 PM
10-04-2009 11:50 PM
Re: Restricted login to server
I was in Linux box when I trying it, apparently it is not good for HP UX:
check this post and its attachments :
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=851253
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 12:41 AM
10-05-2009 12:41 AM
Re: Restricted login to server
editing sshd_config and add "DenyUsers username" can restricted some user to login to server, but user can not make sftp or scp to server. I just tried it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 12:54 AM
10-05-2009 12:54 AM
Re: Restricted login to server
sftp does not go true the profile and ssh is.. so will exit.
Be aware that the user is able to change its profile whit sftp...
an other option is to create a sftponly shell. this is some work (not able to give a exapmel ad this moment)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 12:59 AM
10-05-2009 12:59 AM
Re: Restricted login to server
I suppose user can do sftp etc.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 12:59 AM
10-05-2009 12:59 AM
Re: Restricted login to server
/usr/bin/false
and make sure /usr/bin/false is not in the /etc/shells file.
a exit 0 in the .profile is a extra (that alsow will work....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 01:14 AM
10-05-2009 01:14 AM
Re: Restricted login to server
maybe this docs OR similar in docs.hp.com will be useful as supplementary support :
http://docs.hp.com/en/5991-7517/ch01s04.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 03:16 AM
10-05-2009 03:16 AM
Re: Restricted login to server
Attached.