06-15-2008
rsh windows with linux
rsh windows xp with linux as4 appear @permision denied please help me
9 More Discussions You Might Find Interesting
1. Linux
Hello,
In our computer lab we are windows networking.We have installed windows 2000 server on our IBM server and created a domain. All the computers are installed with windows 2000 porfessional and are a part of the domain. i have a installed Red Hat linux 9.0 on one system. I want this Linux... (1 Reply)
Discussion started by: vibhory2j
1 Replies
2. HP-UX
Dear Friends,
I am unable to do rsh from Redhat Linux AS 3.0 to HP-UX 11.11. It takes lot of time request times out.
What could be the reason.
regards
Rajendra More (0 Replies)
Discussion started by: rajendramore
0 Replies
3. Linux
Hi All,
Please help me how to install and configure rsh in Linux boxes and let me know where i get this software.
Thanks in advance...
Regards,
Sridhar. (3 Replies)
Discussion started by: sridhusha
3 Replies
4. Red Hat
Hi,
I am trying to do rsh on to a redhat EL 5 machine. It repeatedly asks me for the password and die after sometime. One might think that I am giving the wrong password. But I can do 'ssh' on to that machine with the same password.
Can someone tell me what I have been doing wrong?
... (2 Replies)
Discussion started by: eamani_sun
2 Replies
5. Windows & DOS: Issues & Discussions
Hello all
i need to install linux flavor ubunto or sentOs not GUI is needed the only
problem is that in my home computer im using win2k ( don't ask my wife don't want to hear about Linux )
so i guess i stuck with installing some kind of virtual pc and install on top of it the Linux
what do you... (11 Replies)
Discussion started by: umen
11 Replies
6. Linux
What are the differences, advantages, and disadvantages? (1 Reply)
Discussion started by: Advice Pro
1 Replies
7. UNIX for Dummies Questions & Answers
I *think* what I want to do is not only possible but easy, but as a "dummy" :) I can't figure it out. Here's what I have:
Linux (Ubuntu 10.04) laptop that is not in my house, but has an Internet connection.
Linux (Ubuntu 9.04) computer in my house that has unfettered access to the... (6 Replies)
Discussion started by: WesleyC
6 Replies
8. Shell Programming and Scripting
hi,
I am trying yo run a batch file (located on windows server) from unix (solaris). I use below command to do it,
rsh WINPRD1 -l WINPRD1+username "..\\directiory\\batchfile.bat"
But I guess some port/service need to be enabled as its giving me below error,
WINPRD1 Connection refused (3 Replies)
Discussion started by: Deei
3 Replies
9. UNIX for Beginners Questions & Answers
Hi, totally new to linux base using windows when started learning and using computers.
but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies
LEARN ABOUT SUNOS
restricted_shell
rsh(1M) System Administration Commands rsh(1M)
NAME
rsh, restricted_shell - restricted shell command interpreter
SYNOPSIS
/usr/lib/rsh [-acefhiknprstuvx] [argument...]
DESCRIPTION
rsh is a limiting version of the standard command interpreter sh, used to restrict logins to execution environments whose capabilities are
more controlled than those of sh (see sh(1) for complete description and usage).
When the shell is invoked, it scans the environment for the value of the environmental variable, SHELL. If it is found and rsh is the file
name part of its value, the shell becomes a restricted shell.
The actions of rsh are identical to those of sh, except that the following are disallowed:
o changing directory (see cd(1)),
o setting the value of $PATH,
o pecifying path or command names containing /,
o redirecting output (> and >>).
The restrictions above are enforced after .profile is interpreted.
A restricted shell can be invoked in one of the following ways:
1. rsh is the file name part of the last entry in the /etc/passwd file (see passwd(4));
2. the environment variable SHELL exists and rsh is the file name part of its value; the environment variable SHELL needs to be set in the
.login file;
3. the shell is invoked and rsh is the file name part of argument 0;
4. the shell is invoke with the -r option.
When a command to be executed is found to be a shell procedure, rsh invokes sh to execute it. Thus, it is possible to provide to the end-
user shell procedures that have access to the full power of the standard shell, while imposing a limited menu of commands; this scheme
assumes that the end-user does not have write and execute permissions in the same directory.
The net effect of these rules is that the writer of the .profile (see profile(4)) has complete control over user actions by performing
guaranteed setup actions and leaving the user in an appropriate directory (probably not the login directory).
The system administrator often sets up a directory of commands (that is, /usr/rbin) that can be safely invoked by a restricted shell. Some
systems also provide a restricted editor, red.
EXIT STATUS
Errors detected by the shell, such as syntax errors, cause the shell to return a non-zero exit status. If the shell is being used non-
interactively execution of the shell file is abandoned. Otherwise, the shell returns the exit status of the last command executed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
intro(1), cd(1), login(1), rsh(1), sh(1), exec(2), passwd(4), profile(4), attributes(5)
NOTES
The restricted shell, /usr/lib/rsh, should not be confused with the remote shell, /usr/bin/rsh, which is documented in rsh(1).
SunOS 5.10 1 Nov 1993 rsh(1M)