02-22-2007
You can't edit the /etc/hosts file on HMCs like you can on a normal unix box. Check the man page for chhmc. I think there is a way to add aliases. Will check this out tomorrow and let you know how it's done (if at all possible).
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I logged into h0011awe server. I am executing a script on this server which connects to other 3 hosts (h0022sam, h0033jar, h0044orc). In the script the command are like this
orapmon=`ssh $USR@$host ps -ef|grep -v grep|grep pmon`
I am using secured shell. How to setup that between these... (2 Replies)
Discussion started by: dreams5617
2 Replies
2. Shell Programming and Scripting
Hi,
I would like to do ssh to many hosts and then would like to do 'su -' with respective host's passwords and execute certain commands.
This being a secure and big network , we have to login every server individually and then su with different passwords.
So is there a way to achive it?
... (2 Replies)
Discussion started by: newbewie
2 Replies
3. Red Hat
Hi..,
I am using redhat5 server, i want to know the details about to block ssh via /etc/hosts.deny. Need help immediately (1 Reply)
Discussion started by: thakshina
1 Replies
4. Shell Programming and Scripting
hi
I have a script to login from a host "A" to a list of hosts in a file and perform some commands inside it...its somethin like this
for i in `cat file`
do
ssh -t $i " command1 ; command2; ..."
done
I wanna save the outputs in a file in the current host "A" i.e from where I am... (3 Replies)
Discussion started by: ningy
3 Replies
5. UNIX for Advanced & Expert Users
Hi guys!
I'm working on a little script. I have a txtfile with several hosts, Unix team has copied my keys into several of those servers, but not all of them, I need to figure out which ones I don't have access to, (I want a list of servers I don't have access to, so I can request for it). This... (1 Reply)
Discussion started by: erick_tuk
1 Replies
6. Shell Programming and Scripting
Hi im trying to write a script to logon to list of servers with same userID. I have no option/plan to implement ssh-keygen sharing between the systems, so i have written script creating 2 files,
file1 holds list of hosts
host1
host2
host3
file2 has following script
for i in `cat file1`... (1 Reply)
Discussion started by: dreamaix
1 Replies
7. Shell Programming and Scripting
Hi There,
I have a file contaning some 100 servers names one by one the file called redhat_servers.txt
I want to prepare a script where it should give me the host name and kernal version.
I wrote like this,
#!/bin/bash
while read line
do
ssh $line "uname -nr"
done <... (3 Replies)
Discussion started by: kumar85shiv
3 Replies
8. Red Hat
does anyone know how to force ssh/ssl to use the hosts file instead of DNS? I have disabled the DNS servers but ssh still will not resolve a host in the hosts file.
thanks in advance for the help!
DS (3 Replies)
Discussion started by: derrell simpson
3 Replies
9. UNIX for Dummies Questions & Answers
Hi guys - I am having a hard time trying to figure how to search for a certain string on config files hosted on multiple hosts.
This is an example:
Hostnames: myhost1.mycompany.com|myhost2.mycompany.com|myhost3.mycompany.com
String to search for: myipaddress.somehost.com
Directory... (9 Replies)
Discussion started by: DallasT
9 Replies
10. Shell Programming and Scripting
Dear Folks,
I am trying to read a config file contains ip and port numbers.
i want to read each line of the config file and check ssh connection is happening or not.
Kindly guide.
Config file:
abc@1.2.342 22
abc@1.2.343 22
abc@1.2.344 22
abc@1.2.345 22... (9 Replies)
Discussion started by: sadique.manzar
9 Replies
LEARN ABOUT DEBIAN
gdevilspie
gdevilspie(1) General Commands Manual gdevilspie(1)
NAME
gdevilspie - Graphical interface to devilspie.
SYNOPSIS
gdevilspie
DESCRIPTION
gdevilspie gDevilspie is a graphical front-end to the devilspie daemon.
OPTIONS
Example: Adding File Manager (Nautilus) to Workspace 3, maximized horizontally.
Launch gDevilspie
Click on the Add button
Type in the name of your new rule
In the Matching Tab check the box for window_class and application_name.
Type File Manager in the equals box in the right pane of the Rules Editor for both
of the Matching Property items above.
An alternative way of producing the above would be to launch the application you wish to setup.
Click on the gDevilspie Get button, locate your application within the Window Selector box,
highlight it then click apply. This will populate the equals field for you.
Click the Actions Tab.
Check the set_workspace box and set the workspace to 3.
Click the maximize_horizontally check box.
Click Save.
Click Stop then Start on the gDevilspie main window for good measure.
Here is your output in the raw tab:
( if
( begin
( is ( window_class ) "File Manager" )
( is ( application_name ) "File Manager" )
)
( begin
( set_workspace 3 )
( maximize_horizontally )
( println "match" )
)
)
Using the example above you can configure gDevilspie to set your applications to run many different ways.
AUTHOR
Islam Amer <iamer@open-craft.com>.
This manual page was written by Chris Silva <racerx@makeworld.com>, for the Debian project (but may be used by others).
version 0.50 June 12, 2010 gdevilspie(1)