?
Solved

Remote access

Posted on 1997-03-10
1
Medium Priority
?
217 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 100 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:
Suggested Courses
Course of the Month12 days, 5 hours left to enroll

752 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