Solved

Remote access

Posted on 1997-03-10
1
205 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 76
Virtualizing TAPE on dual VIOS 3 101
ftpcommand 2 66
OpenLDAP Proxy to Active Directy 6 363
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 …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

856 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