Sponsored Content
Full Discussion: UID Admin
Operating Systems Solaris UID Admin Post 302639867 by jim mcnamara on Sunday 13th of May 2012 11:53:52 AM
Old 05-13-2012
What OS are you running? What is the exact group name and the exact username or uid that needs to be part of the group?

It sounds more like the user needs sudo or pfexec or su or whatever -- to get to root.
 

8 More Discussions You Might Find Interesting

1. AIX

UID Change

Currently, I have about 7 servers and the uid for a given person is different on each server. I want to make the uid's the same for a given username on each server. I know how to change the uid via smit, but when I do the previous uid number shows up as the owner for the files of that username.... (4 Replies)
Discussion started by: mcateriny
4 Replies

2. UNIX for Dummies Questions & Answers

Reversing UID's

Is it possible given a uid to determine information about the person with the uid? An example would be simple information regarding what group and the name of the person associated with that uid. It seems there is probably an easy staring me in the face but i cant seem to find it... (3 Replies)
Discussion started by: dreaming1
3 Replies

3. Shell Programming and Scripting

uid script help

i need a script to process a password file and based on the UIDs in the password file, generate the new UID that is 1 greater than the highest uid. i have some script logic but i dont really understand it. any help? #!/usr/bin/perl ########################################## #... (3 Replies)
Discussion started by: livewire06
3 Replies

4. What is on Your Mind?

Windows Admin switching to *nix Admin

I'm currently a Windows admin and have wanted to jump ship to the *nix side for a while now. I've been studying both through an lpic level 1 manual as I have time (focusing on debian), and a solaris 10 cert book. The problem is I only have a handful of hours a week to study, and my current job... (3 Replies)
Discussion started by: bobwilson
3 Replies

5. Shell Programming and Scripting

UId

is tty command opens a process in the system if yes then why process got the userid????? (5 Replies)
Discussion started by: Mac91
5 Replies

6. UNIX for Dummies Questions & Answers

Duplicated UID

Hi folks! I need you help to discover what's the impact of a duplicated UID in an operating system. What's the meaning when someone put in different users the same UID? (3 Replies)
Discussion started by: phcostabh
3 Replies

7. AIX

More than 1 UID 0

Hi, Can any one please tell what are the risks of having more than one users having UID 0 (root)? Thanks Naveed (9 Replies)
Discussion started by: naveedaix
9 Replies

8. 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
LFC_GETIDMAP(3) 					       LFC Library Functions						   LFC_GETIDMAP(3)

NAME
lfc_getidmap - get virtual uid/gid(s) associated with a given dn/role(s) SYNOPSIS
#include <sys/types.h> #include "lfc_api.h" int lfc_getidmap (const char *username, int nbgroups, const char **groupnames, uid_t *userid, gid_t *gids) int lfc_getidmapc (const char *username, const char *user_ca, int nbgroups, const char **groupnames, uid_t *userid, gid_t *gids) DESCRIPTION
lfc_getidmap gets the virtual uid/gid(s) associated with a given dn/role(s). If the dn or any of the roles does not exist yet in the Data- base an entry is added to the mapping table. username specifies the user name (dn). It must be at most 255 characters long. user_ca specifies the CA from the user proxy. It must be at most 255 characters long. nbgroups is the number of group names. groupnames is the address of an array of group names (vo/role). Each group name must be at most 255 characters long. This pointer can be NULL. In this case the vo is obtained from a static mapping file. userid specifies the address of a buffer to receive the Virtual User Id. gids specifies the address of a buffer to receive the Virtual Group Ids. It must be big enough to receive nbgroups group ids, but at least one group id in case nbgroups is zero. RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately. ERRORS
ENOMEM Memory could not be allocated in the server to receive the group names or to send back the gids. EACCES One of username, user_ca or the primary (first) group is banned. EFAULT username, userid or gids is a NULL pointer. EINVAL nbgroups is negative or the length of username, user_ca or of one of the group names exceeds 255. SENOSHOST Host unknown. SENOSSERV Service unknown. SECOMERR Communication error. SENOMAPFND DISABLEAUTOVIDS is set and username or one of the groups does not exist. ENSNACT Name server is not running or is being shutdown. LFC
$Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ LFC_GETIDMAP(3)
All times are GMT -4. The time now is 07:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy