- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- securetty
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
08-17-2005 09:18 AM
08-17-2005 09:18 AM
i try to deny remote root login. so i add console to /etc/securetty.
so root cann't login by telnet and rlogin.
but i try to login by /usr/bin/X11/xterm -display @d from exceed xstart, it still open root shell.
it use rexec.
does any one know how to configure this .(i still let other account to use rexex)
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 10:12 AM
08-17-2005 10:12 AM
Re: securetty
Also see this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=123810
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 01:30 PM
08-17-2005 01:30 PM
Re: securetty
I think if you get rid of the .rhosts or check your /etc/hosts.equiv file and deny remote execution on your box this will stop.
do a man on hosts.equiv and man .rhosts for more details.
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 03:42 AM
08-19-2005 03:42 AM
Re: securetty
i test on my box, and i don't think it relate to .rhosts and host.equiv.
i remove both of these 2 file , and client (PC) can still login by root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 03:52 AM
08-19-2005 03:52 AM
Re: securetty
It relates to these files only. Notice that there should be multiple .rhosts file for different users. So look for a .rhosts or hosts.equiv file in the home directory of the user.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 03:59 AM
08-19-2005 03:59 AM
Re: securetty
however, there is no .rhosts or host.equive under other user account.
if i change to rsh for xterm, it cann't login . but not for rexec.
so i have to comment the entry for rexed in /etc/inetd.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 04:03 AM
08-19-2005 04:03 AM
Solutiondisabling rexec is actually a good security practice. If I were you, I would disable rsh and telnet as well and require my users to get used to ssh idea.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 04:09 AM
08-19-2005 04:09 AM
Re: securetty
We placed a logical test in the file to see if the id logging in was root (or oracle), and if so abort the login.
The original file is in /usr/dt/config. If you customize it, place the customized version in /etc/dt/config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 04:14 AM
08-19-2005 04:14 AM
Re: securetty
yes, it is good idiea to comment rsh, telnetd on /etc/inetd.conf and use ssh.
but sometime , we still use rcp.
about the Xstartup, only deny remote CDE login , not for xterm (rexec)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 04:17 AM
08-19-2005 04:17 AM
Re: securetty
Remember /etc/securetty is valid for tty
sessions only . It doesn't valid to exec , ssh sessions as they don't use ttys at all.
.rhost and host.equiv files are never used by rexec (but remsh does). It simply uses same authentication method as login does.
If you are using ssh and dont want to allow root login from ssh client , then set PermitRootLogin=no in /opt/ssh/etc/sshd_config file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 05:44 AM
08-19-2005 05:44 AM
Re: securetty
now it is clear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 05:54 AM
08-19-2005 05:54 AM
Re: securetty
Here are the questions for which you require to do this.
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1276111&listType=unassigned&forumId=1
Regards,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 05:58 AM
08-19-2005 05:58 AM
Re: securetty
thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 08:33 AM
08-19-2005 08:33 AM
Re: securetty
The points are still not alloted for any of the response to your questions. Your profile also tell this here
http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA1276111&forumId=1
Regards,
Devender