HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Deny ssh root logins, but allow ssh remote command...
Operating System - HP-UX
1828268
Members
3093
Online
109975
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
01-21-2005 04:30 AM
01-21-2005 04:30 AM
Re: Deny ssh root logins, but allow ssh remote commands?
Gordon,
Having not experimented with this myself, I think that the commands you need to specify are your script names, not the commands that your scripts call. This should be easier to maintain.
Also, after you get the basics working, you may want to check out HP-UX RBAC (just released and not available on older OS streams, so this is a suggestion for the future) to try to divvy up your root responsibilities. That way you don't have to login as root to get many of your administrative tasks performed.
Hope that helps.
-Keith
Having not experimented with this myself, I think that the commands you need to specify are your script names, not the commands that your scripts call. This should be easier to maintain.
Also, after you get the basics working, you may want to check out HP-UX RBAC (just released and not available on older OS streams, so this is a suggestion for the future) to try to divvy up your root responsibilities. That way you don't have to login as root to get many of your administrative tasks performed.
Hope that helps.
-Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 11:34 PM
01-25-2005 11:34 PM
Re: Deny ssh root logins, but allow ssh remote commands?
Thanks to all who replied. The solution I'm going with is PermitRootLogins forced-commands-only, and max points to everyone who suggested that (even if I didn't understand you at first) and double points to Ralph for re-inventing the wheel and making it work! (I call it a Mobile Load-Bearing Axle Extender Cap!)
It wasn't exactly what I wanted, but on reflection, ssh would be much less secure if it did what I wanted in this case. I'll just have to re-write my scripts to run locally via a remote call.
It wasn't exactly what I wanted, but on reflection, ssh would be much less secure if it did what I wanted in this case. I'll just have to re-write my scripts to run locally via a remote call.
What does this button do?
- « 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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP