Sponsored Content
Full Discussion: Linux admin
Operating Systems Linux Linux admin Post 302545345 by Mani_apr08 on Monday 8th of August 2011 06:07:37 AM
Old 08-08-2011
Oh ok. Actually what i have expect, anyone having important document related to linux admin role.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

New Suse Linux Admin ?

I have just been handed two new Suse 7.2 Linux systems to Administer. We are wanting to setup monitoring of applications, file system space, etc. Are there standard log directories that an experienced Admin would put scripts, log files, documentation, etc. or just put it under the /root Home... (1 Reply)
Discussion started by: darthur
1 Replies

2. UNIX for Dummies Questions & Answers

root/admin commands in LINUX

Hi I am working on LINUX shell scripting. I have root privileges and I know some basic root/admin commands like user creation, modification and so on. Till last week i was able to create users but now i am not able to create users or groups. When I give the command i got an error as ... (6 Replies)
Discussion started by: naina
6 Replies

3. Linux

interviewing linux admin

Im a solaris admin, not too familair with linux, can anyone give me 5-10 questions I should ask a Linux admin Im going to interview for a job. The job requires an experiencend Linux admin, who can do backups, system builds, create file systems, monitor, etc... in a production environment. Any help... (3 Replies)
Discussion started by: csaunders
3 Replies

4. UNIX for Dummies Questions & Answers

Name 10 commands every Linux and Unix admin should know

I'm working on further developing my Unix skills and I'm just curious what some of the experienced admins out there would consider to be 10 essential commands every admin should know. (12 Replies)
Discussion started by: Arkitech
12 Replies

5. UNIX for Dummies Questions & Answers

Help with a few misc. admin things. LINUX

Hey guys, I've been doing some study guides and practice exams for some certs, had some friends give me some things to do in preperation as well. I have compiled a few of the questions I was unable to figure out:wall:, I was hoping to get some help here. I am running Fedora16. If you need any... (2 Replies)
Discussion started by: jahburmski
2 Replies

6. Red Hat

I want to become a Linux admin..

Hi , I have skill set in unix/shell scripting. But I would like to become a linux admin..So could you please help on this.. 1) what are the things need to be learn, 2) any reference should be appreciable. 3) or any website.. THanks, Mani (2 Replies)
Discussion started by: Mani_apr08
2 Replies

7. What is on Your Mind?

Regarding Admin life either as DBA or UNIX Linux admin

I am planning to choose my career as Unix/Linux Admin or a DBA. But I have come to know from forums and few admins like the job will be 24/7. I have few questions on that. Can we get "DAY" shifts in any one of the admin Job ? Can't we have shift timings in any company ? Eventhough the... (7 Replies)
Discussion started by: Jacktts
7 Replies

8. Linux

Linux admin salary in the USA

Hello guys, First I apologize for asking non technical question but I am goging to move to the USA and I have 8 year experience as a senior linux admin, I am administering storage subsystems as well. Can you please tell me how much is an average salary for Linux admins? Thanks in advance. (4 Replies)
Discussion started by: Vit0_Corleone
4 Replies
Catalyst::ActionRole::ACL(3pm)				User Contributed Perl Documentation			    Catalyst::ActionRole::ACL(3pm)

NAME
Catalyst::ActionRole::ACL - User role-based authorization action class SYNOPSIS
package MyApp::Controller::Foo; use Moose; use namespace::autoclean; BEGIN { extends 'Catalyst::Controller' } sub foo :Local :Does(ACL) :RequiresRole(admin) :ACLDetachTo(denied) { my ($self, $c) = @_; ... } sub denied :Private { my ($self, $c) = @_; $c->res->status('403'); $c->res->body('Denied!'); } DESCRIPTION
Provides a reusable action role for user role-based authorization. ACLs are applied via the assignment of attributes to application action subroutines. REQUIRED ATTRIBUTES
Failure to include the following required attributes will result in an exception when the ACL::Role action's constructor is called. ACLDetachTo The name of an action to which the request should be detached if it is determined that ACLs are not satisfied for this user and the resource he is attempting to access. RequiresRole and AllowedRole The action must include at least one of these attributes, otherwise the Role::ACL constructor will throw an exception. Processing of ACLs One or more roles may be associated with an action. User roles are fetched via the invocation of the context "user" object's "roles" method. Roles specified with the RequiresRole attribute are checked before roles specified with the AllowedRole attribute. The mandatory ACLDetachTo attribute specifies the name of the action to which execution will detach on access violation. ACLs may be applied to chained actions so that different roles are required or allowed for each link in the chain (or no roles at all). ACLDetachTo allows us to short-circuit traversal of an action chain as soon as access is denied to one of the actions in the chain by its ACL. Examples # this is an invalid action sub broken :Local :Does(ACL) { my ($self, $c) = @_; ... } This action will cause an exception because it's missing the ACLDetachTo attribute and has neither a RequiresRole nor an AllowedRole attribute. A Role::ACL action must include at least one RequiresRole or AllowedRole attribute. sub foo :Local :Does(ACL) :RequiresRole(admin) :ACLDetachTo(denied) { my ($self, $c) = @_; ... } This action may only be executed by users with the 'admin' role. sub bar :Local :Does(ACL) :RequiresRole(admin) :AllowedRole(editor) :AllowedRole(writer) :ACLDetachTo(denied) { my ($self, $c) = @_; ... } This action requires that the user has the 'admin' role and either the 'editor' or 'writer' role (or both). sub easy :Local :Does(ACL) :AllowedRole(admin) :AllowedRole(user) :ACLDetachTo(denied) { my ($self, $c) = @_; ... } Any user with either the 'admin' or 'user' role may execute this action. WRAPPED METHODS
"BUILD( $args )" Throws an exception if parameters are missing or invalid. "execute( $controller, $c )" Overrides &Catalyst::Action::execute. In order for delegation to occur, the context 'user' object must exist (authenticated user) and the "can_visit" method must return a true value. See Catalyst::Action "can_visit( $c )" Return true if the authenticated user can visit this action. This method is useful for determining in advance if a user can execute a given action. AUTHOR
David P.C. Wollmann <converter42@gmail.com> CONTRIBUTORS
Converted from an action class to an action role by Tomas Doran (t0m) BUGS
This is new code. Find the bugs and report them, please. COPYRIGHT &; LICENSE Copyright 2009 by David P.C. Wollmann This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-07-13 Catalyst::ActionRole::ACL(3pm)
All times are GMT -4. The time now is 08:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy