Solved

Remote access

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now