[FADCA] Re: FPAC Linux Routing
Chuck Hast
wchast at gmail.com
Thu Nov 18 19:29:52 EST 2004
On Fri, 19 Nov 2004 00:12:36 +0100, Bernard Pidoux
<pidoux at ccr.jussieu.fr> wrote:
> Fine. I will register your callsign so that you could login
> and set your firstname as your password.
> I wish I could find the way to allow guest login !
>
> I tried the connexion and it worked fine. Congratulations.
> I would be interested to know how you configured your Linux system in
> order to make FPAC available through ssh connexion.
>
I am sending this to you and others as I suspect that it will come up. I got
this info and a lot of other ways to do the same thing from the local Linux
Users Group, they are very active and support anything that is about Linux.
Here is the key.
I created a account called fpacuser, it has a password of fpac.
After that you log into it and check it, you go to the following file
/etc/passwd and edit the line that deals with that user here is what
it looks like
Note this user "radio" at the end of the line is the description of the shell,
it is bash.
radio:x:1001:1003::/home/radio:/bin/bash
This is the shell >>-----------------------^^^^^^^
This is user "fpacuser" it is one line, the mailer broke it into two.
Notice that
the end of the line does not aim at bash, but at the location of fpacnode.
fpacuser:x:1004:1004:fpac users,,,,Access to
fpacnode:/home/fpacuser:/usr/sbin/fpacnode
fpacnode is the shell for this user>--^^^^^^^^^
Make sure that fpacnode can be started by any user, as below:
-rwxr-xr-x 1 root root 78264 Jan 2 1990 fpacnode
Then from a console log in as fpacuser password fpac and you
should get a fpacnode prompt for your callsign, you give it your
call and then you get the switch prompt.
Try it and tell me how to get to it.
This appears to work for any appliction. The neat thing is that as soon
as the user drops the application they are dropped off of the system,
I was originally letting the user log into a very limited home directory
that would allow for only the execution of fpacnode but I still did not
like it. This is a lot better and keeps the cattle in the corral.
--
Chuck Hast
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."
More information about the FADCA
mailing list