Handling multple profiles with single user account

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Handling multple profiles with single user account
# 8  
Old 05-02-2016
Quote:
Originally Posted by hemanth12345
Hi Don ,

Yes, we have two ibm & IBM directories.

Currently , below script has been set in .kshrc file
. /opt/IBM/iib-10.0.0.0/server/bin/mqsiprofile

it will set environment variables with prefix as mentioned below.
MQSI_* (nearly 20 entries)

my question is how to invoke and set in environment variables MQSI_* (nearly 20 entries) for below version ?
Thank you for the information. I asked four questions. You answered the 1st one only. What about the other three?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Issue handling single quoted argument in shell script.

Below is my script that works fine and prints the desired output: #!/bin/ksh echo "$1" | while IFS= read -r dirpath do echo "DIRR_PATH:$dirpath" install_dir=$install_dir" "$dirpath done echo "Desired Output:$install_dir" Output: ./loopissue.sh... (10 Replies)
Discussion started by: mohtashims
10 Replies

2. Cybersecurity

Single ldap account, different passwords?

Is it possible, either by software solution or configuration, to provision a single user account that has different passwords depending on what group of servers it is attempting to connect to? We have a dev, sit, uat, and production environment. They want to be able to set passwords in dev for... (2 Replies)
Discussion started by: Blackacid
2 Replies

3. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

4. UNIX for Dummies Questions & Answers

single user mode - user accounts passwords

hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies

5. SCO

Multple crons at boot

I am running SCO on a Netfinity system and two crons are started on bootup, but only after the system is brought down hard. i.e. running haltsys, reboot, or by a power outage. Has anyone seen this before and know a resolution to stop it? (0 Replies)
Discussion started by: ertzman
0 Replies

6. UNIX for Dummies Questions & Answers

Installing Ubuntu To Single User Account?

I understand that Unix and it's counterparts are OSs, but would it be possible to just install them to a single user account? I'm using a family computer, whose other users want nothing more complicated on the computer than Internet Explorer, but I want to install Ubuntu so I can easily host my... (6 Replies)
Discussion started by: migigicoko
6 Replies

7. AIX

Handling User Id Change in AIX

Hi, I have a query that suppose the first or last name of the user changes and we need to change its userid for aix too. Then in that case how do we handle this scenario??I guess we can't change the user id so we should re-create the new id and associate all the data of the old id. But I donno... (1 Reply)
Discussion started by: tintin@10
1 Replies

8. Shell Programming and Scripting

AWK handling of single quote

Hi, Can someone let me know how I can acheive the following. I have ~ delimited file and I need to convert into something like SQL insert statements. SrcFile : 1~sjdsdj~asasas~ 2~aaaaa~qwqwqwq~qwq ..... I tried AWK -F"~" '{print "INSERT INTO XX VALUES("$1 " ,\' "$2" \' , \' "$3 }'... (3 Replies)
Discussion started by: braindrain
3 Replies

9. UNIX for Dummies Questions & Answers

"ap" command not dumping user profiles

System = SCO UnixWare 7.1.1 Using the following command... ap -dgv > users.ap ... I should be able to dump all 250 user profiles to the file "users.ap" and display the results for each account as it is added to the file. The problem is that I only get the following output: UX:ap: INFO:... (0 Replies)
Discussion started by: rm -r *
0 Replies
Login or Register to Ask a Question
profiles(1)															       profiles(1)

NAME
profiles - print execution profiles for a user SYNOPSIS
profiles [-l] [ user ...] The profiles command prints on standard output the names of the execution profiles that have been assigned to you or to the optionally- specified user or role name. Profiles are a bundling mechanism used to enumerate the commands and authorizations needed to perform a spe- cific function. Along with each listed executable are the process attributes, such as the effective user and group IDs, with which the process runs when started by a privileged command interpreter. The profile shells are pfcsh, pfksh, and pfexec. See the pfexec(1) man page. Profiles can contain other profiles defined in prof_attr(4). Multiple profiles can be combined to construct the appropriate access control. When profiles are assigned, the authorizations are added to the existing set. If the same command appears in multiple profiles, the first occurrence, as determined by the ordering of the profiles, is used for process-attribute settings. For convenience, a wild card can be specified to match all commands. When profiles are interpreted, the profile list is loaded from user_attr(4). If any default profile is defined in /etc/security/policy.conf (see policy.conf(4)), the list of default profiles are added to the list loaded from user_attr(4). Matching entries in prof_attr(4) provide the authorizations list, and matching entries in exec_attr(4) provide the commands list. The following options are supported: -l Lists the commands in each profile followed by the special process attributes such as user and group IDs. Example 1: Sample Output The output of the profiles command has the following form: example% profiles tester01 tester02 tester01 : Audit Management, All Commands tester02 : Device Management, All Commands example% Example 2: Using the list Option example% profiles -l tester01 tester02 tester01 : Audit Management: /usr/sbin/audit euid=root /usr/sbin/auditconfig euid=root egid=sys All Commands: * tester02 : Device Management: /usr/bin/allocate: euid=root /usr/bin/deallocate: euid=root All Commands * example% The following exit values are returned: 0 Successful completion. 1 An error occurred. /etc/security/exec_attr /etc/security/prof_attr /etc/user_attr /etc/security/policy.conf See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ auths(1), pfexec(1), roles(1), getprofattr(3SECDB), exec_attr(4), policy.conf(4), prof_attr(4), user_attr(4), attributes(5) 11 Feb 2000 profiles(1)