- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disable direct root login using ssh
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
Discussions
Discussions
Forums
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
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-13-2006 02:18 AM
тАО09-13-2006 02:18 AM
I want to block direct ssh root login.I am using putty.Want to ensure users login with their id and then su to root.I searched in sshd_config file but couldn't see the relevant parameter.Am i missing something?
Thanks & Rgds
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 02:20 AM
тАО09-13-2006 02:20 AM
Re: Disable direct root login using ssh
Check this old thread, it will guide you on what you want to do
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1042982
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 02:22 AM
тАО09-13-2006 02:22 AM
Re: Disable direct root login using ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 02:23 AM
тАО09-13-2006 02:23 AM
Solution(depending on your version of ssh config file location might differ but this location is good for recent versions of ssh, like 3.8x or 4.x)
/sbin/init.d/secsh stop
/sbin/init.d/secsh start
Hope this helps.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 02:23 AM
тАО09-13-2006 02:23 AM
Re: Disable direct root login using ssh
create /etc/securetty with one line
console
This will prevent direct root logins in non-cde environments except from the console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 02:26 AM
тАО09-13-2006 02:26 AM
Re: Disable direct root login using ssh
Do i need to restart sshd after that,I changed the parameter.
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 02:27 AM
тАО09-13-2006 02:27 AM
Re: Disable direct root login using ssh
Better safe than sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 02:27 AM
тАО09-13-2006 02:27 AM
Re: Disable direct root login using ssh
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 02:29 AM
тАО09-13-2006 02:29 AM
Re: Disable direct root login using ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 02:31 AM
тАО09-13-2006 02:31 AM
Re: Disable direct root login using ssh
Its working fine,after restarting secsh
Rgds
Marvik