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
06-06-2003 10:18 AM
06-06-2003 10:18 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 10:25 AM
06-06-2003 10:25 AM
Re: rexec
Have you got a .rhosts file in home dir of root ?
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 10:29 AM
06-06-2003 10:29 AM
Re: rexec
rexec, remsh all will take the current $LOGNAME and tries to login to the remote system with that username. If you are a non-root user in the local machine, you cannot login as root in the remote machine.
Can you tell exactly what you did to come to this conclusion?
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 10:31 AM
06-06-2003 10:31 AM
SolutionProblem Text
CR# JAGad96327
problem
There is no way to prevent the login as 'root' using 'rexec' provided
that the root passwd is given properly. Using 'remsh' a user 'root' can
diasble the loging as 'root' by not giving the .rhosts entry. But for
rexec no mechanism as such.
Fix Text
fix
New option -S is added to rexecd for this ER.
This fix will be available to all customers from 11.23 release.
Fixed binary has been provided on,
11.00
11.11
Available at ftp://jog.india.hp.com/pub/Inetsvcs/R-
COMMANDS/Binaries/rexec/JAGad96327/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 10:32 AM
06-06-2003 10:32 AM
Re: rexec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 10:42 AM
06-06-2003 10:42 AM
Re: rexec
To answer your question, if console is the only device specified in /etc/securetty, then if you are root on the local machine then you cannot telnet, rlogin, etc. to the remote machine. At least that is the way I understand it. Instead, you would have to use your own userid to get in, then su to root. This has proven to be the case for all methods except rexec.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 10:48 AM
06-06-2003 10:48 AM
Re: rexec
thanks Ed.
cheers
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 11:26 AM
06-06-2003 11:26 AM
Re: rexec
Here is the debug output from rexecd:
Jun 6 09:17:01 sara rexecd[8152]: unix pam_sm_authenticate(rcomds root), flags = 0
Jun 6 09:17:01 sara rexecd[8152]: pam_sm_acct_mgmt: -1 12209
Jun 6 09:17:01 sara rexecd[8152]: pam_sm_acct_mgmt: flags 0x0
Jun 6 09:17:01 sara rexecd[8152]: pam_sm_acct_mgmt: -1 -1 -1
Jun 6 09:17:01 sara rexecd[8152]: warn_user_passwd_will_expire: -1 -1 12209 -1
Jun 6 09:17:01 sara rexecd[8152]: pam_sm_acct_mgmt: 0 0 root
Jun 6 09:17:02 sara rexecd[8152]: pam_sm_acct_mgmt: error 0
Jun 6 09:17:02 sara rexecd[8152]: pam_sm_acct_mgmt: exiting, error 0
Jun 6 09:17:02 sara rexecd[8152]: pam_sm_setcred(): no module data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 12:22 PM
06-06-2003 12:22 PM
Re: rexec
Thanks for your response. I think you are on to something. Unfortunately I cannot locate this fix on the hp.com website nor can I get to the FTP site you referenced. Also, we are running 11.11, so I was hoping the fix was already in place. I put the -S option in the /etc/inetd.conf file on the rexecd line, but it did not correct the problem. So I am assuming I need to get the patch. I'll keep looking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 12:28 PM
06-06-2003 12:28 PM
Re: rexec
#bootps dgram udp wait root /usr/lbin/bootpd bootpd
#finger stream tcp nowait bin /usr/lbin/fingerd fingerd
login stream tcp nowait root /usr/lbin/rlogind rlogind
shell stream tcp nowait root /usr/lbin/remshd remshd
#exec stream tcp nowait root /usr/lbin/rexecd rexecd
#uucp stream tcp nowait root /usr/sbin/uucpd uucpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 12:41 PM
06-06-2003 12:41 PM
Re: rexec
There is a PHNE_27777 s700_800 11.11 r-commands cumulative mega-patch.
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 01:59 PM
06-06-2003 01:59 PM
Re: rexec
I installed the PHNE_27777 patch, but still no luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2003 01:09 AM
06-07-2003 01:09 AM
Re: rexec
rexecd in inetd.conf.I've faced simmilar
problem with rexec & inetd.sec when was doing
rexec from my ReflectionX (term application) to
hp-ux host.I was allowed to "rexec hpterm" despite inetd.sec lines.
As to Elena's response - hp aware of rexec issues and plan to release some sort of a fix.
So Elena posted some Jagxxxx that comes from
Hp sites.
For more secure needs though I'd go for IPfilter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2003 11:51 PM
06-07-2003 11:51 PM
Re: rexec
and not /var/adm/inetd.sec.Please contact HPRC
for updated rexecd or disable it at all.
Zeev