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
09-06-2002 08:11 AM
09-06-2002 08:11 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:15 AM
09-06-2002 08:15 AM
Re: rlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:19 AM
09-06-2002 08:19 AM
Re: rlogin
:^(
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:20 AM
09-06-2002 08:20 AM
Re: rlogin
How can they remove a file to which they have no permissions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:23 AM
09-06-2002 08:23 AM
Re: rlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:24 AM
09-06-2002 08:24 AM
Re: rlogin
See "man netgroup" for info.
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:25 AM
09-06-2002 08:25 AM
Re: rlogin
they can do that if they have write permission on the directory - but in this case that would be baad!
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:28 AM
09-06-2002 08:28 AM
SolutionPutting a .rhosts file on BOB2 will have no effect on doing an rlogin from BOB2 to BOB1, though.
Something that you could possibly do though is put a wrapper around rlogin, remsh, etc on BOB2.
You'd first rename rlogin to rloing.real. Then do a script or C program that would do an if statement and if $1 = BOB1 (if the host they are going 2 = BOB1) then display an error message and exit. If they are not going to BOB1, then call the real rlogin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:47 AM
09-06-2002 08:47 AM
Re: rlogin
In /etc/inetd.conf, change:
login stream tcp nowait root /usr/lbin/rlogind rlogind
To:
login stream tcp nowait root /usr/lbin/rlogind rlogind -l
From the rlogind man page:
-l : This option is used to prevent any authentication based on the user's .rhosts file unless the user is logging in as super-user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:48 AM
09-06-2002 08:48 AM
Re: rlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 09:13 AM
09-06-2002 09:13 AM
Re: rlogin
Assume BOB1's home dir is /home/bob
chown root /home/bob
touch /home/bob/.rhosts
chmod 400 /home/bob/.rhosts
Now noone but root can delete the .rhosts file, or edit it. I repeat this process for .forward also.
Now, make bob directories in his home that he can work in.
I.E.
mkdir /home/bob/scripts
mkdir /home/bob/work
chown bob /home/bob/*
works like a champ, but may not fix this situation.
Regards,
Shannon