11-02-2012
You don't need a special shell to do that, you can do that through modifying their ~/.profile or whatever equivalent file their shell uses.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi.
I hope someone can help me. I have e very special question.
I have a Lunix server and I have installed Webmin on it. This way, I can create a login for an other user and give him restricted access to some custom commands I set up.
One of the commands i would like to setup, is for him to... (9 Replies)
Discussion started by: Wonderke
9 Replies
2. UNIX for Dummies Questions & Answers
If you are interested in a set of utilities designed for reporting solutions within the shell, check out CRUSH on Google code.
crush-tools - Project Hosting on Google Code (0 Replies)
Discussion started by: watingo
0 Replies
3. Shell Programming and Scripting
I have an rsync command that I want to create a variable where user can change to customize the parameters.
complete rsync command to run:
$RSYNC -e 'ssh -ax -o ClearAllForwardings=yes' --log-file=$LOG_FILE --delete -avzcr -u --update $SRC_DIR $USER@$TRG_SRV:$TRG_DIR >> $LOG_FILE
What I... (4 Replies)
Discussion started by: abubin
4 Replies
4. Shell Programming and Scripting
hi
I am trying to make my own commands in my linux.I thought a command for changing directories will be easy.
I made a simple file amd made the entries
#!/bin/bash
cd /opt/mydir
I then made the file executable and then moved it to /usr/bin.
But when i type the script name nothing... (2 Replies)
Discussion started by: born
2 Replies
5. Shell Programming and Scripting
Hi, This may be a silly question. I have been searching for a while on this.
How can I create a custom unix command using C (a command similar to 'echo'). (1 Reply)
Discussion started by: tinufarid
1 Replies
6. Shell Programming and Scripting
I am having a hard time wrapping my head around implementing top and ps in a custom shell.
What I have is a shell that allows you to do basic commands as you would in a regular bash shell, but when I do the ps command, it gives me all of the processes within my regular bash shell rather than my... (2 Replies)
Discussion started by: Ziun
2 Replies
7. Programming
Hi,
I have an application that I wrote in C using the GTK toolkit that runs on the Linux system.
I have a shell script than when run executes two terminals to open a client and server application.
I would like to know more on how to create custom start-up icons for my program. ie. using... (1 Reply)
Discussion started by: fedora18
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Also posted in other forum.
I have an application that I wrote in C using the GTK toolkit that runs on the Linux system.
I have a shell script than when run executes two terminals to open a client and server application.
I would like to know more on how to create custom start-up... (2 Replies)
Discussion started by: fedora18
2 Replies
9. Shell Programming and Scripting
Hi ,
I have data as below in a text file
{
'AAA' => {
'A1' => 'a1 comment',
'A2' => 'a2 comment'
},
'BBB' => {
'B1' => 'b1 comment'
},
'CCC' => {
'C1' => 'c1 comment',
'C2' => 'c2 comment',
'C3' => 'c3 comment'
'C4' => 'c4... (2 Replies)
Discussion started by: vivek d r
2 Replies
10. Programming
Hello world,
I thought this might be a great start to help me with an assignment I have that requires me to write an assembly program that mimics a 32 bit Linux command shell:
When launched, your program will perform the following steps in a loop:
1. Print a prompt, specifically “$ “... (1 Reply)
Discussion started by: turtle13
1 Replies
LEARN ABOUT DEBIAN
git-annex-shell
git-annex-shell(1) General Commands Manual git-annex-shell(1)
NAME
git-annex-shell - Restricted login shell for git-annex only SSH access
SYNOPSIS
git-annex-shell [-c] command [params ...]
DESCRIPTION
git-annex-shell is a restricted shell, similar to git-shell, which can be used as a login shell for SSH accounts.
Since its syntax is identical to git-shell's, it can be used as a drop-in replacement anywhere git-shell is used. For example it can be
used as a user's restricted login shell.
COMMANDS
Any command not listed below is passed through to git-shell.
Note that the directory parameter should be an absolute path, otherwise it is assumed to be relative to the user's home directory. Also the
first "/~/" or "/~user/" is expanded to the specified home directory.
configlist directory
This outputs a subset of the git configuration, in the same form as git config --list
inannex directory [key ...]
This checks if all specified keys are present in the annex, and exits zero if so.
dropkey directory [key ...]
This drops the annexed data for the specified keys.
recvkey directory key
This runs rsync in server mode to receive the content of a key, and stores the content in the annex.
sendkey directory key
This runs rsync in server mode to transfer out the content of a key.
commit directory
This commits any staged changes to the git-annex branch. It also runs the annex-content hook.
OPTIONS
Most options are the same as in git-annex. The ones specific to git-annex-shell are:
--uuid=UUID
git-annex uses this to specify the UUID of the repository it was expecting git-annex-shell to access, as a sanity check.
HOOK
After content is received or dropped from the repository by git-annex-shell, it runs a hook, .git/hooks/annex-content (or hooks/annex-con-
tent on a bare repository). The hook is not currently passed any information about what changed.
ENVIRONMENT
GIT_ANNEX_SHELL_READONLY
If set, disallows any command that could modify the repository.
GIT_ANNEX_SHELL_LIMITED
If set, disallows running git-shell to handle unknown commands.
SEE ALSO
git-annex(1)
git-shell(1)
AUTHOR
Joey Hess <joey@kitenet.net>
<http://git-annex.branchable.com/>
git-annex-shell(1)