04-05-2009
@dennis.jacob: tried your suggestion, but to no avail
@Franklin52: thanks, that worked
10 More Discussions You Might Find Interesting
1. AIX
Hi
I have a NIM server on AIX 5.3.08.02. I had to change the host name and I now have nimsh connection issues to the NIM clients. All host files and DNS entries are correct with the new host name. I have tried editing the niminfo files on the NIM server and NIM clinet. I have tried removing the... (2 Replies)
Discussion started by: kimyo
2 Replies
2. Shell Programming and Scripting
1-How can i change root password of 5 Fedora 11 machines (server1 server2 server3 server4 server5) with a single script ,
for example make password : 123456
NB. from server1 i can via ssh connect to the others machines without a password
Please help. (3 Replies)
Discussion started by: chang-lee
3 Replies
3. Shell Programming and Scripting
Hi,
My scripting skills are somewhat basic...
I need a way to log into a list of hostname/IPs as a user, su to root and then create/append root's .bashrc
Thanks (0 Replies)
Discussion started by: jag7720
0 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. Shell Programming and Scripting
Hi guys.
i need some help, i need to create a script in tcsh that rsh into all my hosts that we have at our business, then cd to a directory (cd /apps/users) then grab a file from the users folder and ftp it back to my windows machine. can someone please help?
Kind regards.
Brian Behrens (2 Replies)
Discussion started by: brian112
2 Replies
6. Solaris
I tried changing my /etc/inet/hosts file for my server to:
<ip address> <hostname> <fqdn>
but when I go to reboot the file changes right back to:
<ip address> <hostname>
how do I get the <fqdn> to stick on a reboot.
Thanks (2 Replies)
Discussion started by: jastanle84
2 Replies
7. Solaris
i am using solaris 10 and i am able to ping all the hosts but i am not able to traceroute any of them. how to fix this? (9 Replies)
Discussion started by: chidori
9 Replies
8. Shell Programming and Scripting
Hi friends,
i need to prepare a script ( in perl)
i have a file called "demo.exe" in my local unix host.
i have a list of remote hosts in a file "hosts.txt"
now i need to push "demo.exe" file to all the hosts in "hosts.txt" file.
for this i need to prepare a script(in perl, but shell... (5 Replies)
Discussion started by: siva kumar
5 Replies
9. Solaris
Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh.
Actions to perform within a single ssh session via shell script
- copy a file
- untar at destination (remote host)
OS : Linux RHEL6 (3 Replies)
Discussion started by: sankasu
3 Replies
10. Solaris
Hi,
I got instructions from Security audit team for Solaris-10 server. They mentioned - "The sshd configuration on the host supported weak host keys and allowed password authentication on Solaris server. Enable stronger keys (2048 or 4096 bit)".
I am not clear enough, what they mean by weak... (7 Replies)
Discussion started by: solaris_1977
7 Replies
LEARN ABOUT DEBIAN
class::accessor::children::fast
Class::Accessor::Children::Fast(3pm) User Contributed Perl Documentation Class::Accessor::Children::Fast(3pm)
NAME
Class::Accessor::Children::Fast - Faster, child-class/accessor generation
SYNOPSIS
BEFORE (WITHOUT THIS)
package MyClass::Foo;
use base qw( Class:Accessor::Fast );
__PACKAGE__->mk_ro_accessors(qw( jacob michael joshua ethan ));
package MyClass::Bar;
use base qw( Class:Accessor::Fast );
__PACKAGE__->mk_ro_accessors(qw( emily emma madison isabella ));
package MyClass::Baz;
use base qw( Class:Accessor::Fast );
__PACKAGE__->mk_ro_accessors(qw( haruka haruto miyu yuto ));
AFTER (WITH THIS)
package MyClass;
use base qw( Class::Accessor::Children::Fast );
__PACKAGE__->mk_child_ro_accessors(
Foo => [qw( jacob michael joshua ethan )],
Bar => [qw( emily emma madison isabella )],
Baz => [qw( haruka haruto miyu yuto )],
);
DESCRIPTION
This module automagically generates child classes which have accessor/mutator methods.
This module inherits "Class::Accessor::Fast" to make accessors.
METHODS
This module provides the following methods in addition to all methods provided by "Class::Accessor::Fast".
mk_child_accessors
MyClass->mk_child_accessors( Foo => @fields, ... );
This generates a child class named "MyClass::Foo" which have accessor/mutator methods each named in "@fields".
mk_child_ro_accessors
MyClass->mk_child_ro_accessors( Bar => @fields, ... );
This generates a child class named "MyClass::Bar" which have read-only accessors (ie. true accessors).
mk_child_wo_accessors
MyClass->mk_child_wo_accessors( Baz => @fields, ... );
This generates a child class named "MyClass::Baz" which have write-only accessor (ie. mutators).
SEE ALSO
Class::Accessor::Children
Class::Accessor::Fast
AUTHOR
Yusuke Kawasaki <http://www.kawa.net/>
COPYRIGHT AND LICENSE
Copyright (c) 2007 Yusuke Kawasaki. All rights reserved. This program is free software; you can redistribute it and/or modify it under the
same terms as Perl itself.
perl v5.10.0 2007-08-16 Class::Accessor::Children::Fast(3pm)