Sponsored Content
Full Discussion: UID Change
Operating Systems AIX UID Change Post 41360 by mcateriny on Friday 3rd of October 2003 07:22:55 PM
Old 10-03-2003
Hello Preßy,

Thank you for your reply. I am aware of the files you mentioned and the uid has changed in these files. But, the issue I am facing is that the username on the files owned by the user where I changed the uid is replaced by the previous uid number.

I quess what I am hoping for is that someone has a scripts to go through the directories to locate all files that has the old uid and chown it with the user's new uid. If not, I may have to write my own script to do this.

Thanks again,
Mario
 

10 More Discussions You Might Find Interesting

1. AIX

UID not to be reused

Hello I want to find out how I can make sure in AIX that the UIDs cannot be reused Until after 6 Months after the user has left. Thanks, Noori (4 Replies)
Discussion started by: noori
4 Replies

2. Shell Programming and Scripting

NIS User UID Change

Hi All, I need to change the UID numbers of many NIS users, is there any command to modify the UID in NIS maps ? ( like usermod) so that their file permissions will be same even with their new UID. If not, how to check all the files owned by particular user in a computer and change the... (1 Reply)
Discussion started by: RAA
1 Replies

3. Shell Programming and Scripting

Shall I go for uid or ppid?

Hi Guys, I'd like to ask your advice on the following, I've written this script to terminate a given process by name: #!/bin/bash echo 'Please enter the process you wish to terminate' read process pid=$(pidof $process) kill -9 $pid echo $2 to make it safer I want it to reject the... (4 Replies)
Discussion started by: Lora Graham
4 Replies

4. 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

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. UNIX for Dummies Questions & Answers

uid ,gid value change

Present /home/dsadm# id dsadm uid=0(root) gid=0(root) ---------------------------------- needs to be /home/dsadm> id dsadm uid=23186(dsadm) gid=16284(gdstage) Please provide the command/steps for the above uid, gid value change Thanks in advance for all your support . ... (3 Replies)
Discussion started by: sridhardwh
3 Replies

9. Solaris

UID Admin

Hi All, I have to give permission to one of the groups called as "ABC" as like the permissions of the group "UNIXADM". Could you please some one help on this issue ? (3 Replies)
Discussion started by: ramareddi16
3 Replies

10. AIX

Unable to change uid to 0

Hi Friends, I have created a new user "admin". I would like to use it as root equivalent (can change root password). Now, I want to give uid=0 and gid=0 to act as root. can you help? usermod command is not updating uid. /etc/passwd: root:!:0:0::/:/usr/bin/ksh... (6 Replies)
Discussion started by: suresh3566
6 Replies
DPNS-LISTUSRMAP(1)					    DPNS Administrator Commands 					DPNS-LISTUSRMAP(1)

NAME
dpns-listusrmap - query about a given user or list all existing users in virtual uid table SYNOPSIS
dpns-listusrmap [ --uid uid ] [ --user username ] DESCRIPTION
dpns-listusrmap queries about a given user or lists all existing users in virtual uid table. This function requires ADMIN privilege. OPTIONS
--uid uid specifies the Virtual User Id. --user username specifies the user name. EXAMPLES
dpns-listusrmap --uid 5678 5678 /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=Jean Dupond dpns-listusrmap --user "/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=Jean Dupond" 5678 /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=Jean Dupond dpns-listusrmap 5678 /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=Jean Dupond 6789 /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=Luc Martin EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed. SEE ALSO
Castor_limits(4), dpns_getusrbynam(3), dpns_getusrbyuid(3) DPNS
$Date: 2007/12/13 06:15:14 $ DPNS-LISTUSRMAP(1)
All times are GMT -4. The time now is 08:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy