8 More Discussions You Might Find Interesting
1. Cybersecurity
Hello,
We are planning to setup a Role based access and security to our Linux servers. We can use mostly use sudo for providing the limited access to service and files.
My query is that how can we manage that members can edit/access only specific files (it would be 1 or multiple files or... (3 Replies)
Discussion started by: sunnysthakur
3 Replies
2. Solaris
Hi all
I need to run a command that only a role user and root can run, I need to run that command remotely by script but the roles ask for a password.
Ex. from serverA with userA to serverB with userB:
userA can ssh serverB using userB without askink for a password.
ssh userB@serverB... (3 Replies)
Discussion started by: juanramos100
3 Replies
3. Solaris
Hello Guys,
I am studying RBAC. So I create a role called sysadm and gave it the "shutdown" profile.
Now when I switch to that role, and execute the shutdown command
$ shutdown -y -g0 -i5
The system responds with :
shutdown: not found
Can anyone help me with this please?... (1 Reply)
Discussion started by: cjashu
1 Replies
4. Shell Programming and Scripting
Hi ,
I am planning for the interview . I am having one question here , I worked on unix and shellscripting for 2 years
Done-
Ø Coding and testing of Server Monitoring ShellScripts
Ø Deployment on UNIX production environment
I have written so many shellscripts for monitoring... (5 Replies)
Discussion started by: aish11
5 Replies
5. Linux
Hello, I want to know why initrd need swap for work. In the shell of mkinitrd, it look for the swap partation for "swsuspdev", then write a sentence "resume /dev/sdXX" in the file init from initrd.gz, and the /dev/sdXX is the swap partation.
Why initrd need swap when it boot a system? what is... (4 Replies)
Discussion started by: ZR_Lang
4 Replies
6. AIX
Hi ..
I need to assign role based permission to users... How to assign role based permission in aix...
Thanks.. (4 Replies)
Discussion started by: sumathi.k
4 Replies
7. What is on Your Mind?
This may not be the right forum to put up a question like the one I'm about to ask. I am hoping that I would get very fruitful responses.
i) I have been learning UNIX for sometime now, but my question is realistically what do I need to be able to be able to apply for UNIX jobs.
What sort of... (6 Replies)
Discussion started by: B_Jay
6 Replies
8. What is on Your Mind?
In any given operating system, generally how much of AI software is involved? Is it related to user-friendliness of OS?
What is the future of strong AI? (3 Replies)
Discussion started by: MULTIVERSE
3 Replies
MooseX::Role::Parameterized::Meta::Role::ParameterizableUser Contributed Perl DocumentaMooseX::Role::Parameterized::Meta::Role::Parameterizable(3)
NAME
MooseX::Role::Parameterized::Meta::Role::Parameterizable - metaclass for parameterizable roles
DESCRIPTION
This is the metaclass for parameterizable roles, roles that have their parameters currently unbound. These are the roles that you use
"with" in Moose, but instead of composing the parameterizable role, we construct a new parameterized role
(MooseX::Role::Parameterized::Meta::Role::Parameterized) and use that new parameterized instead.
ATTRIBUTES
parameterized_role_metaclass
The name of the class that will be used to construct the parameterized role.
parameters_class
The name of the class that will be used to construct the parameters object.
parameters_metaclass
A metaclass representing this roles's parameters. It will be an anonymous subclass of "parameters_class". Each call to "parameter" in
MooseX::Role::Parameters adds an attribute to this metaclass.
When this role is consumed, the parameters object will be instantiated using this metaclass.
role_generator
A code reference that is used to generate a role based on the parameters provided by the consumer. The user usually specifies it using the
"role" in MooseX::Role::Parameterized keyword.
METHODS
add_parameter $name, %options
Delegates to "add_attribute" in Moose::Meta::Class on the "parameters_metaclass" object.
construct_parameters %arguments
Creates a new MooseX::Role::Parameterized::Parameters object using metaclass "parameters_metaclass".
The arguments are those specified by the consumer as parameter values.
generate_role %arguments
This method generates and returns a new instance of "parameterized_role_metaclass". It can take any combination of three named parameters:
arguments
A hashref of parameters for the role, same as would be passed in at a "with" statement.
package
A package name that, if present, we will use for the generated role; if not, we generate an anonymous role.
consumer
A consumer metaobject, if available.
apply
Overrides "apply" in Moose::Meta::Role to automatically generate the parameterized role.
perl v5.18.2 2013-09-11 MooseX::Role::Parameterized::Meta::Role::Parameterizable(3)