Solved

Remote access

Posted on 1997-03-10
1
209 Views
Last Modified: 2013-12-16
How can I give users access to run a program on a unix machine without having to mainiain logins for them.  The only way I can think of is NFS mounting the drive, but that is not an option here.
Thanks
0
Comment
Question by:wspoulin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
pxh earned 50 total points
ID: 1811823
Three suggestions with increasing complexity:

Did you think about a guest account? I.e. one account for all users you want to allow access. They all have to use and know the same password.

Next, you might use the .rhosts file. Assume a remote user <ru> on a remote host <rh> who you want to grant access to a local host <lh> under account <lu>.
So you create a .rhosts file on the home directory of <lu> on <lh> and insert a line "<rh> <ru>". You may do this for all users who you allow remote access. This is more save than methode one, but less flexible, since <ru> has to be on <rh> to get access, or you might add an entry for  all remote hosts <ru> might use. You can use filemode settings to dissalow the users to manipulate the .rhosts file.

A sophisticated way would be to install a program as a network service, i.e. any user can start a certain program if he TCP/IP connects with a given port number (this is how ftp, telnet any many other network stuff works). However, this is possible only for special adapted programs (or such which don't do any I/O with the user).

There could be more suggestions if you can specify in more detail what the program(s) are you want to let them run and what other resources are needed to do so.

Hope this helps,

Peter (pxh@mpe-garching.mpg.de)

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Bad Block Relocation for Synchronous GLVM AIX 7.1 2 83
Linux :how to provide sudo access to the user 13 126
Access_log 17 183
Solaris acount issues 44 74
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question