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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
ldapmodifyuser
ldapmodifyuser(1) General Commands Manual ldapmodifyuser(1)
NAME
ldapmodifyuser - modifies a POSIX user account in LDAP interactively
SYNOPSIS
ldapmodifyuser <username|uid>
DESCRIPTION
ldapmodifyuser first looks for the right entry to modify. Once found, the entry is presented and you are prompted to enter LDIF data to
modify it as you would do using a standard LDIF file and ldapmodify(1). The DN of the entry being modified is already specified : just
begin with a changeType attribute or any other one(s) of your choice (in this case, the defaut changeType is 'modify').
OPTIONS
<username | uid>
The name or uid of the user to modify.
SEE ALSO
ldapmodifygroup(1), ldapmodifymachine(1), ldapscripts(5).
AVAILABILITY
The ldapscripts are provided under the GNU General Public License v2 (see COPYING for more details). The latest version of the ldapscripts
is available on : http://contribs.martymac.org
BUGS
No bug known.
August 22, 2007 ldapmodifyuser(1)