AIX user ID and group ID change


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers AIX user ID and group ID change
# 1  
Old 11-11-2009
AIX user ID and group ID change

Hello AIX gurus,

I have a requirement where I have to change user ID of user "myuser" from 100 to 200 and also the group ID of "mygroup" from 2 to 3. Please note that "myuser" has "mygroup" as it's primary group.

What steps do I need to follow for this and in what order? Also can you please tell me what things I need to take care of?

Thank you very much for your time
# 2  
Old 11-12-2009
Code:
smitty chuser
smitty chgroup

# 3  
Old 11-12-2009
Thanks for your reply.

What would happen to all files having "myuser" as owner?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX change ulimit for a user

I have seen two different ways for changing the ulimit for a user in aix. Which one is better? Option 1 edit /etc/security/limits oracle: fsize = -1 data = -1 stack = -1 fsize_hard = -1 nofiles = -1 nofiles_hard = -1 Option 2 ... (6 Replies)
Discussion started by: cokedude
6 Replies

2. Red Hat

User is a Part of a Group But Group Details Do Not Show the User

Hi, In the following output you can see the the user "richard" is a member on the team/group "developers": # id richard uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers) but in the following details of the said group (developers), the said user... (3 Replies)
Discussion started by: indiansoil
3 Replies

3. AIX

User/group management in AIX

We have an environment of around 50 AIX LPARs. We use scripts for user and group account management but it is starting to get unwieldy to document and manage the accounts. It would be doable with scripts but before we dedicate resources to that, I was wondering if there is any product that you... (2 Replies)
Discussion started by: wilford
2 Replies

4. Shell Programming and Scripting

Change the default group of a user

Hi , for user test we have 3 groups. 1. test 2. dba 3. qa by default the group it test. How can I change the default group to dba? (5 Replies)
Discussion started by: Anupam_Halder
5 Replies

5. Ubuntu

Create New User with the same group nd privileges of the other user

Hi, Anyone can help me on how to duplicate privileges and group for useroradb01 to userrootdb01. I have currently using "useroradb01" and create a newly user "userrootdb01". I want both in the sames privileges and group. Please see the existing users list below; drwxr-xr-x 53 useroradb01... (0 Replies)
Discussion started by: fspalero
0 Replies

6. UNIX for Dummies Questions & Answers

AIX User Change Log

Hello All, If a user in AIX is locked due to multiple failed login attempts. How do I find out the IP address from where failed attempts were made? regards, Roshni (0 Replies)
Discussion started by: RoshniMehta
0 Replies

7. Shell Programming and Scripting

Change the group name

Hi, I need to change the group name which is listed under a file. The file has a list of users that need to be changed under the /home/ I tried with the below, I am sure that its wrong. ll -la | awk '{ print $4}' | xargs chgrp /root/user (2 Replies)
Discussion started by: gsiva
2 Replies

8. UNIX for Dummies Questions & Answers

Aix ftp user and group

Hi, I'm new in this AIX Version 4.3 system,can anywone help? 1 - I need to create a group (ftp) and give permissions 2 - I need to create a user (ftp) 3 - I need to stop the user from go out is home directory (cd ..) (0 Replies)
Discussion started by: marques_rmc
0 Replies

9. Shell Programming and Scripting

Find all files with group read OR group write OR user write permission

I need to find all the files that have group Read or Write permission or files that have user write permission. This is what I have so far: find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}' It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies

10. 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
Login or Register to Ask a Question