07-08-2008
enabling rexec
# svcadm enable rexec
That should resolve these problems.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Guys:
Anyone have ideas on where can I get information or references if I want to learn on how to program with UNIX GUIs? If you do have ideas please let me know. Its a big help. (2 Replies)
Discussion started by: jfsuminist
2 Replies
2. UNIX for Dummies Questions & Answers
Would someone tell me how to save changes in xterm once I've made them using the program options? For example, I type:
xterm -bg red
and my console window changes color. But how can I now make this attribute save, so that it becomes the default when I relaunch xterm? Any help you can offer... (1 Reply)
Discussion started by: af6
1 Replies
3. UNIX for Dummies Questions & Answers
Hello all,
This is a lame question because I have been working with unix for some years now, but anyway here it is;
What is an xterm?
ivo (1 Reply)
Discussion started by: Ivo
1 Replies
4. Shell Programming and Scripting
I want to add a title to this xterm window but cannot figure out how. Can anybody assist with this?
xterm +sb -geom 80x25 -ls -tn xterms -tm "intr ^q" -name unikix -e $UNIKIX/bin/unikixl (1 Reply)
Discussion started by: douknownam
1 Replies
5. UNIX for Dummies Questions & Answers
hi
I'm trying to launch admintool via an export DISPLAY.
that is i am doing a rlogin to serverB from serverA.
i did the command
export DISPLAY=serverA:0
but it prompted me the error
DISPLAY=serverA:0: is not an identifier
i have searched the forum but there is not much things on this error... (3 Replies)
Discussion started by: legato
3 Replies
6. UNIX for Dummies Questions & Answers
Hi friends,
I have a script that sets the env variable path based on different conditions.
Now the new path variable setting should not done in the same terminal or same shell.
Only a new terminal or new shell should have the new path env variable set.
I am able to do this only as follows:
>cd... (1 Reply)
Discussion started by: sowmya005
1 Replies
7. UNIX for Dummies Questions & Answers
I have a xterm window opening from my Java code. This xterm is opened from the code in this manner:
// to run shell command in a xterm window
public synchronized void rshd(String title, String commd) {
String xt = "xterm -sb -T ";
String xtm = xt + title + " -e " + commd;
Runtime run =... (1 Reply)
Discussion started by: vanz
1 Replies
8. Solaris
Hello,
I have a multithreading program (just two threads) which works on Solaris 8. I use pthread library to synchronize threads.
I try to run it on Solaris 10 (on another computer). All sources was re-compiled but behaviour of my program is not the same. The thread 2 is never executed when... (3 Replies)
Discussion started by: Tinkh
3 Replies
9. Slackware
My understanding is that /usr/share/terminfo/x/ is populated from a standard set of files and not by compiling, i.e. tic, termcaps.
I am getting from both regular user and root when issuing:
man tic ------> WARNING: terminal is not fully functional
tset -q --------> xterm: unknown terminal type... (2 Replies)
Discussion started by: slak0
2 Replies
10. UNIX for Dummies Questions & Answers
Well, apparently anyway.
I have a Solaris 10/08 install using vi (not vim) and when I use vi to edit a file or go into cron, the screen goes into 25/80 mode and I have to send a reset or hard reset to get it back to my screen size (190x72 in this case).
vi should be using the TERM environment... (7 Replies)
Discussion started by: BOFH
7 Replies
in.rexecd(1M) System Administration Commands in.rexecd(1M)
NAME
in.rexecd, rexecd - remote execution server
SYNOPSIS
in.rexecd
DESCRIPTION
in.rexecd is the server for the rexec(3SOCKET) routine. The server provides remote execution facilities with authentication based on user
names and passwords. It is invoked automatically as needed by inetd(1M), and then executes the following protocol:
1. The server reads characters from the socket up to a null ( ) byte. The resultant string is interpreted as an ASCII number, base 10.
2. If the number received in step 1 is non-zero, it is interpreted as the port number of a secondary stream to be used for the stderr. A
second connection is then created to the specified port on the client's machine.
3. A null terminated user name of at most 16 characters is retrieved on the initial socket.
4. A null terminated password of at most 16 characters is retrieved on the initial socket.
5. A null terminated command to be passed to a shell is retrieved on the initial socket. The length of the command is limited by the
upper bound on the size of the system's argument list.
6. rexecd then validates the user as is done at login time and, if the authentication was successful, changes to the user's home direc-
tory, and establishes the user and group protections of the user. If any of these steps fail the connection is aborted and a diagnostic
message is returned.
7. A null byte is returned on the connection associated with the stderr and the command line is passed to the normal login shell of the
user. The shell inherits the network connections established by rexecd.
USAGE
in.rexecd and rexecd are IPv6-enabled. See ip6(7P).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrcmds |
+-----------------------------+-----------------------------+
SEE ALSO
svcs(1), inetd(1M), inetadm(1M), svcadm(1M), rexec(3SOCKET), attributes(5), smf(5), ip6(7P)
DIAGNOSTICS
All diagnostic messages are returned on the connection associated with the stderr, after which any network connections are closed. An error
is indicated by a leading byte with a value of 1 (0 is returned in step 7 above upon successful completion of all the steps prior to the
command execution).
username too long The name is longer than 16 characters.
password too long The password is longer than 16 characters.
command too long The command line passed exceeds the size of the argument list (as configured into the system).
Login incorrect. No password file entry for the user name existed.
Password incorrect. The wrong password was supplied.
No remote directory. The chdir command to the home directory failed.
Try again. A fork by the server failed.
/usr/bin/sh: ... The user's login shell could not be started.
NOTES
The in.rexecd service is managed by the service management facility, smf(5), under the service identifier:
svc:/network/rexec:default
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). Responsibil-
ity for initiating and restarting this service is delegated to inetd(1M). Use inetadm(1M) to make configuration changes and to view config-
uration information for this service. The service's status can be queried using the svcs(1) command.
SunOS 5.10 4 Nov 2004 in.rexecd(1M)