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
11-29-2001 06:22 AM
11-29-2001 06:22 AM
rexecd
Does anyone have a suggestion to prevent root from using rexec, but allow other users access.
Thanks!
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 06:42 AM
11-29-2001 06:42 AM
Re: rexecd
If you want to restrict them for specific hosts and network, try implementing /var/adm/inetd.sec restrictions.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 06:42 AM
11-29-2001 06:42 AM
Re: rexecd
If you don't want root to run rexec, it probably means that you don't want to allow root access between the boxen. Don't build an .rhosts equivalent for root on the other hosts-thus root can run rexec, but root won't get in.
Moderate
If you're using ACLs (you can't on older JFS) You could use an ACL to take access away from root, but (I believe) root can always change the ACL back to grant access.
Complicated
I suppose you could write a wrapper around rexec that checks for uid 0 and denies access for uid 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 06:45 AM
11-29-2001 06:45 AM
Re: rexecd
If you want to allow only few then make use of /var/adm/inetd.sec file
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 06:47 AM
11-29-2001 06:47 AM
Re: rexecd
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 07:05 AM
11-29-2001 07:05 AM
Re: rexecd
We are trying to block "rexec" for root (only). Rexec does not use ".rhosts", or host.equiv, it prompts for a user name and password.
We have already blocked, the use of rlogin, and remsh.
Using inetd.sec allows me to block by source host, but not by user.
ideas????
Thanks!
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 07:17 AM
11-29-2001 07:17 AM
Re: rexecd
1) use a wrapper
2) don't give folks the passwords to the other boxes.
In a nutshell, Unix is fairly bad about discretionary access; root ends up being omnipotent unless accomodations are made in software (we have some software that says "you can run as anyone but root).
If you're problem is really delegation of user privs, then use sudo, scm (service control manager), or rsam (restricted sam) so you can tell a user what they can run as root (easy), as opposed to telling root what root can't run (hard, unless the software is intrumented to do so).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 07:18 AM
11-29-2001 07:18 AM
Re: rexecd
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 08:44 AM
11-29-2001 08:44 AM
Re: rexecd
if (*pwd->pw_uid == 0) {
error("Login incorrect\n");
exit(1);
}
Then compile and edit inetd.conf so that the GNU daemon is run instead of the default HPUX rexecd. I've done similar things many times before... the only drawback is you now have a rexecd that is not supported by HP which may be a problem for you.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 08:53 AM
11-29-2001 08:53 AM
Re: rexecd
if (pwd->pw_uid == 0) {
Cheers,
Steve