09-08-2014
Hi.
Quote:
Originally Posted by
Installimat
Many thanks for your answer, unSpawn, I really appreciate your time and interest.
...
This appears to be posted in response to the question on another Linux forum, namely Linux Questions, post # 3 in thread
How to protect system from cloning?
Best wishes ... cheers, drl
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
we have an hp-ux and a user requested me if i can password protect the dtterm. i know that this is possible but can you give me some hints in making this happen?
thanks :cool: (2 Replies)
Discussion started by: inquirer
2 Replies
2. UNIX for Dummies Questions & Answers
I have created a PHP page that I use to clean files on my machine. I would like to leave the file there but I want to password protect it so that I am the only one that can run it from the shell. Does anyone know how to do this? Thanks.
-Cam (2 Replies)
Discussion started by: perryl7
2 Replies
3. UNIX for Advanced & Expert Users
We recently had an accidental delete from /. I hold the root password but others are allowed to sudo over to root to perform admin tasks. The only way I want to permit deletion from / is by physically being root (su -).
I'd like to add a line to the sudoers file which would permit all commands... (1 Reply)
Discussion started by: scottsl
1 Replies
4. AIX
Hi everyone,
I want to clone a AIX 5.2 system from a machine to another one.
So i modified bosinst.data and image.data files (according to future platform) before making mksysb on old platform.
After booting on CD and restoring system using mksysb tape, the installation is launched but ever... (2 Replies)
Discussion started by: fgaulois
2 Replies
5. UNIX for Dummies Questions & Answers
I am new to UNIX and need help in cloning a HPUX 10.2 Ace 5, can anybody please guide me in making a full system backup.
Real Chess (0 Replies)
Discussion started by: real-chess
0 Replies
6. UNIX for Advanced & Expert Users
I have several Solaris 8,9 and 10 servers.
I need to refresh them and avoid doing any OS upgrades. I may have to apply patches when I am done due to the new hardware.
My current servers have internal disk and my new target servers (same processor types) will have only SAN storage. Once the... (0 Replies)
Discussion started by: zzqv9p
0 Replies
7. UNIX for Advanced & Expert Users
how to protect my process from others to kill??
Double post, continued here, thread closed (0 Replies)
Discussion started by: samrintu
0 Replies
8. AIX
Hello All,
I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance.
Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies
9. Solaris
Hi all,
I am trying to use archiveadm to backup/clone an existing Solaris11.4 system.
However, i failed at media creation with the error -> "Media can only be created from archives containing root-only data"
root@xxx:/mnt/opt/software# zpool list
NAME SIZE ALLOC FREE CAP DEDUP ... (6 Replies)
Discussion started by: javanoob
6 Replies
LEARN ABOUT DEBIAN
moosex::clone::meta::attribute::trait::clone
MooseX::Clone::Meta::Attribute::Trait::Clone(3pm) User Contributed Perl Documentation MooseX::Clone::Meta::Attribute::Trait::Clone(3pm)
NAME
MooseX::Clone::Meta::Attribute::Trait::Clone - The Moose::Meta::Attribute trait for deeply cloning attributes.
SYNOPSIS
# see MooseX::Clone
has foo => (
traits => [qw(Clone)],
isa => "Something",
);
$object->clone; # will recursively call $object->foo->clone and set the value properly
DESCRIPTION
This meta attribute trait provides a "clone_value" method, in the spirit of "get_value" and "set_value". This allows clone methods such as
the one in MooseX::Clone to make use of this per-attribute cloning behavior.
DERIVATION
Deriving this role for your own cloning purposes is encouraged.
This will allow your fine grained cloning semantics to interact with MooseX::Clone in the RightX way.
ATTRIBUTES
clone_only_objects
Whether or not Data::Visitor should be used to clone arbitrary structures. Objects found in these structures will be cloned using
clone_object_value.
If true then non object values will be copied over in shallow cloning semantics (shared reference).
Defaults to false (all reference will be cloned).
clone_visitor_config
A hash ref used to construct "clone_visitor". Defaults to the empty ref.
This can be used to alter the cloning behavior for non object values.
clone_visitor
The Data::Visitor::Callback object that will be used to clone.
It has an "object" handler that delegates to "clone_object_value" and sets "tied_as_objects" to true in order to deeply clone tied
structures while retaining magic.
Only used if "clone_only_objects" is false and the value of the attribute is not an object.
METHODS
clone_value $target, $proto, %args
Clones the value the attribute encapsulates from $proto into $target.
clone_value_data $value, %args
Does the actual cloning of the value data by delegating to a "clone" method on the object if any.
If the object does not support a "clone" method an error is thrown.
If the value is not an object then it will not be cloned.
In the future support for deep cloning of simple refs will be added too.
clone_object_value $object, %args
This is the actual workhorse of "clone_value_data".
clone_any_value $value, %args
Uses "clone_visitor" to clone all non object values.
Called from "clone_value_data" if the value is not an object and "clone_only_objects" is false.
perl v5.10.1 2010-01-01 MooseX::Clone::Meta::Attribute::Trait::Clone(3pm)