10-03-2008
yes. remount the medium where the script is with the option "exec"
also, you dont need to change the shell.
im more than certain that sh in that server is actually bash
10 More Discussions You Might Find Interesting
1. Solaris
what is the command to install a software from a remote server or cd?
pkg_add -rv bash < freebsd
i need the same command on solaris
i try to use pkgadd but no success (0 Replies)
Discussion started by: litch
0 Replies
2. UNIX for Dummies Questions & Answers
Need help guys, i need to know where can i get a unix on solaris 10 software to install unix into my computer since i dont have internet. I want to start playing on them at home. Any help appreciated ....
sonny (1 Reply)
Discussion started by: rxsonny
1 Replies
3. UNIX for Dummies Questions & Answers
hi! all
i've setup my PC with FreeBSD 6.2 and i've created login ID for my friends
i would like to allow them to install program (since they're requesting to use bnc/psybnc) using their shell
however, they have encounter such error to install the program
they have to sudo in order to run... (3 Replies)
Discussion started by: rdns
3 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I need gcc with permission 750, while installation itself. or how can i change the permission without using chmod command.
My requirement is User and Group only use the gcc. since i am having ldap users.
Thanks in advance. (1 Reply)
Discussion started by: rajamohan
1 Replies
5. UNIX for Dummies Questions & Answers
Hi, my friend refer me here he was saying that they have the best solution and really good wisdom of the UNIX system , i am learning and trying to install the audio software in my pc , but it 's not working may be i am forgetting something. (2 Replies)
Discussion started by: maggilane
2 Replies
6. Solaris
hi all
i am working on zone and when i try to install software
i face read and write permisssion on directory which zonning inherit from them
so how can i add read and write permission to zone already running (3 Replies)
Discussion started by: jamisux
3 Replies
7. UNIX for Dummies Questions & Answers
Hello everyone,
I'm currently trying to install a software for my job... Sadly, noone can help me with UNIX :(
I'm working on cygwin, with a proxy to access web (I dunno if these informations are needed)
Here is the link to my software : Sybil: Downloads
What I have been able to do :... (5 Replies)
Discussion started by: sluvah
5 Replies
8. Red Hat
Hi,
I've been busy since this afternoon with an editor called e3 installation process!
I have the source code and I think that I have to make a .C file first then try make command ...
./configure doesn't work, there is no useful README and I am completely lost...
The file for Fedora x86_64 is... (1 Reply)
Discussion started by: almirzaee
1 Replies
9. AIX
Hello,
I would like to ask if someone knows if is possible to install sofware via smitty or installp in another directorie , or we have to accept the default location?
i would like to intall in /opt folder , but smitty installed it in /usr
Thanks in advance (4 Replies)
Discussion started by: prpkrk
4 Replies
10. Red Hat
Hi there.
I'm setting up my first "proper" server using RHEL - in the past I've only had various test servers etc running, so want to make sure I'm doing things properly.
When installing s/w, let's say Apache, I don't want it to run as root, correct? Should I then create a new user "apache"... (4 Replies)
Discussion started by: eludlow
4 Replies
RBASH(1) General Commands Manual RBASH(1)
NAME
rbash - restricted bash, see bash(1)
RESTRICTED SHELL
If bash is started with the name rbash, or the -r option is supplied at invocation, the shell becomes restricted. A restricted shell is
used to set up an environment more controlled than the standard shell. It behaves identically to bash with the exception that the follow-
ing are disallowed or not performed:
o changing directories with cd
o setting or unsetting the values of SHELL, PATH, ENV, or BASH_ENV
o specifying command names containing /
o specifying a filename containing a / as an argument to the . builtin command
o specifying a filename containing a slash as an argument to the -p option to the hash builtin command
o importing function definitions from the shell environment at startup
o parsing the value of SHELLOPTS from the shell environment at startup
o redirecting output using the >, >|, <>, >&, &>, and >> redirection operators
o using the exec builtin command to replace the shell with another command
o adding or deleting builtin commands with the -f and -d options to the enable builtin command
o using the enable builtin command to enable disabled shell builtins
o specifying the -p option to the command builtin command
o turning off restricted mode with set +r or set +o restricted.
These restrictions are enforced after any startup files are read.
When a command that is found to be a shell script is executed, rbash turns off any restrictions in the shell spawned to execute the script.
SEE ALSO
bash(1)
GNU Bash-4.0 2004 Apr 20 RBASH(1)