Sponsored Content
Full Discussion: role based user
Operating Systems AIX role based user Post 302352849 by faruk on Sunday 13th of September 2009 10:54:42 PM
Old 09-13-2009
SUDO is the best option for this.

You need to install sudo filesets and configure /etc/sudoers according to your requirements.

HTH
 

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

Role of AI in any OS

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

2. Shell Programming and Scripting

Update LDIF User info based on Test User Certs ID's

Hi I need help.......... I have an Sun One Directory server LDIF file with 5000 user entries, I need to change the data to match Test ID's, so I can run a perf test. I'm way out of my league as I have not done any scripting for 10 years. There are four entries for each user in the file... (3 Replies)
Discussion started by: Macdaddy99
3 Replies

3. Shell Programming and Scripting

Script interacts with user , based on user input it operates

i have a script which takes input from user, if user gives either Y/y then it should continue, else it should quit by displaying user cancelled. #!/bin/sh echo " Enter your choice to continue y/Y OR n/N to quit " read A if then echo " user requested to continue " ##some commands... (7 Replies)
Discussion started by: only4satish
7 Replies

4. Red Hat

Unable to change user role using SELinux

Initial SELinux context for user hitendra $ id -Z unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 I changed the role # semanage login -a -s user_u hitendra # Then I logged in again # su - hitendra $ id -Z unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 $ But I don't... (1 Reply)
Discussion started by: hiten.r.chauhan
1 Replies

5. Solaris

Is there a difference between setting a user as nologin and setting it as a role?

Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users. In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies

6. Cybersecurity

Role based access and security

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

7. Shell Programming and Scripting

Add user based on file

The script it should add all the users from this file "users.txt" All users should have the login shell as /sbin/nologin. When this script is called with any other argument, it should print the message as “Input File Not Found”ť. When this script is run without any argument, it should display... (1 Reply)
Discussion started by: invinzin21
1 Replies
KNIFE-ROLE(1)							    Chef Manual 						     KNIFE-ROLE(1)

NAME
knife-role - Group common configuration settings SYNOPSIS
knife role sub-command (options) ROLE SUB-COMMANDS The following role subcommands are available: LIST
knife role list (options) -w, --with-uri Show corresponding URIs List roles. SHOW
knife role show ROLE (options) -a, --attribute ATTR Show only one attribute Show a specific role. CREATE
knife role create ROLE (options) -d, --description The role description Create a new role. EDIT
knife role edit ROLE (options) Edit a role. FROM FILE
knife role from file FILE (options) Create or update a role from a role Ruby DSL (.rb) or JSON file. DELETE
knife role delete ROLE (options) Delete a role. BULK DELETE
knife role bulk delete REGEX (options) Delete roles on the Chef Server based on a regular expression. The regular expression (REGEX) should be in quotes, not in //'s. DESCRIPTION
Roles provide a mechanism to group repeated configuration settings. Roles are data structures that contain default_attributes, and over- ride_attributes, which are nested hashes of configuration settings, and a run_list, which is an ordered list of recipes and roles that should be applied to a host by chef-client. default_attributes will be overridden if they conflict with a value on a node that includes the role. Conversely, override_attributes will override any values set on nodes that apply them. When chef-client(8) configures a host, it will "expand" the run_list included in that host's node data. The expansion process will recur- sively replace any roles in the run_list with that role's run_list. SEE ALSO
knife-node(1) knife-environment(1) http://wiki.opscode.com/display/chef/Roles http://wiki.opscode.com/display/chef/Attributes AUTHOR
Chef was written by Adam Jacob adam@opscode.com with many contributions from the community. DOCUMENTATION
This manual page was written by Joshua Timberman joshua@opscode.com. Permission is granted to copy, distribute and / or modify this docu- ment under the terms of the Apache 2.0 License. CHEF
Knife is distributed with Chef. http://wiki.opscode.com/display/chef/Home Chef 10.12.0 June 2012 KNIFE-ROLE(1)
All times are GMT -4. The time now is 04:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy