info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script for a CVS only shell available?


From: Julien Wajsberg
Subject: Re: Script for a CVS only shell available?
Date: Tue, 29 Jul 2003 09:54:38 +0200

Another simple way is to use some features of SSH and the authorized_keys
file.

You can use the  « command="command" » option of this file
(see man 8 sshd for more information)

man's extract:
     command="command"
             Specifies that the command is executed whenever this key is
used
             for authentication.  The command supplied by the user (if any)
is
             ignored.


Hope this helps :)

--
Julien

-------------------
Answer to Mark D. Baushke <address@hidden> :
-------------------



Wu Yongwei <address@hidden> writes:

> I want to have a check whether a wheel is created and available.  What I
> want is a script used as shell so that a user having such a shell cannot
> interactively log in but only use RSH/SSH to execute "$SHELL -c cvs
server"
> on the remote server.  If you are a SF developer, you will know what I
mean
> if you try "ssh address@hidden".

I do not recommend use of rsh. It would be better if you could remove it
from the system... although I understand that this is not always possible.

Try doing 'mak rksh' on your system. If you don't have it, then use your
favorite search engine to find out about it.

If you are using ssh, then you may find the following blurb of interest.
It was posted to the openssh-unix-dev mailing list.

...
| rssh is a restricted shell which allows system administrators to
| provide access to a server such that only scp or sftp can be used to
| transfer files to and from the server.
|
| For more info, visit the rssh home page:
|
|   http://www.pizzashack.org/rssh
...

I have not used rssh myself and I am not advocating its use, I am just
trying to show you where to find the wheels that exist.

Finally, you could always ask sourceforge.net what they are using. :-)

             Good luck,
             -- Mark


_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs








reply via email to

[Prev in Thread] Current Thread [Next in Thread]