I don't see a way in my version. They're not login messages -- they're generated by the telnet binary itself, and printed to stdout, not stderr.
Perhaps telnet isn't the right tool for the job? If you're trying to script anything, netcat(nc) will save you lots of headaches over telnet because it never pretends to be a terminal... It just sends everything it has to send, receives until the other end closes, then quits. For instance:
Last edited by Corona688; 02-16-2011 at 01:37 PM..
Hi all,
i have a perl script for my users to run. My sys admin created an account for the users to log in and execute the script. They just type "perl myscript.pl" at the unix prompt to run it. Is there any way that i can hide my script? ,ie, do not allow my users to view the script. either... (5 Replies)
All,
In my script I am calling another script.. in that script I need to enter a password. Problem is that everyone is able to see the password when I enter that. Is there any way that when i enter that password it should not display or may look like *******.
Or if there any other way that I... (1 Reply)
Hi,
I have been trying to create a banner/login message (something for displaying the usage policy etc) to appear while I login using telnet/FTP to any Solaris (pref. Solaris9) machine. I have tried using /etc/issue and /etc/motd files. Both do not solve my need. In that, /etc/issue displays... (8 Replies)
hello everybody,
i would like to hide visibility of the folders , i.e. not to giving any physically visibility to any users . Is there any way to do it other than changing the permission and adding "." post folder name .
by changing the permission , we cann't do any activity , but have... (1 Reply)
Hey guys,
I have some task from my office to lock user on the specified directory after the user logged on using ssh. And then run prompt program to fill the required information. Yeah, just like an ATM system.
My question:
How could I do those?? AFAIK I have to edit the ~./bashrc. But the... (1 Reply)
I had an issue with ssh on one of my servers and noticed the following
errors, listed below.
Errors in /var/adm/messagessshd lastlog_perform_login: Couln't stat /var/adm/lastlog: permission denied
sshd lastlog_openseek: /var/adm/lastlog is not a file or directory!
automountd self_check:... (0 Replies)
Hi,
I need to somehow pipe the password to a command and run some SQL, for example, something like echo $password | sqlplus -s system @query01.sql
To make it not so obvious, I decided to try out writing a small C program that basically just do echo $password. So now I just do x9.out | sqlplus... (8 Replies)
For any SunOS 5.XX release, it appears prior to the "login:" prompt (as if a "uname" command is run).
Would anyone know where that initial display of SunOS release comes from upon a remote login and how I can stop if from displaying?
Thank you (4 Replies)
Discussion started by: ssid61
4 Replies
LEARN ABOUT DEBIAN
fence_rsb
fence_rsb(8) System Manager's Manual fence_rsb(8)NAME
fence_rsb - I/O Fencing agent for Fujitsu-Siemens RSB
SYNOPSIS
fence_rsb [OPTION]...
DESCRIPTION
fence_rsb is an I/O Fencing agent which can be used with the Fujitsu-Siemens RSB management interface. It logs into an RSB device via tel-
net and reboots the associated machine. Lengthy telnet connections to the RSB device should be avoided while a GFS cluster is running
because the connection will block any necessary fencing actions.
fence_rsb accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent.
fence_rsb can be run by itself with command line options. This is useful for testing.
Vendor URL: http://www.fujitsu.com
OPTIONS -a IPaddress
IP address or hostname of the RSB device.
-h Print out a help message describing available options, then exit.
-l login
Login name.
-n telnet_port
The port number on which the telnet service listens.
-o action
The action required. This can be reboot (default), off, on, or status.
-p password
Password for login.
-S path
Full path to an executable to generate the password for login.
-v Verbose. Print informational messages to standard out.
-V Print out a version message, then exit.
STDIN PARAMETERS
agent = < param >
This option is used by fence_node(8) and is ignored by fence_rsb.
ipaddr = < hostname | ip >
IP address or hostname of the device.
telnet_port = < port number >
The port number on which the telnet service listens.
login = < param >
Login name.
option = < param >
The action required. This can be reboot (default), off, on, or status.
passwd = < param >
Password for login.
passwd_script = < param >
Full path to an executable to generate the password for login.
SEE ALSO fence(8), fence_node(8)fence_rsb(8)