05-09-2006
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 how exactly to handle this situation of associating the data, so that there is no data loss. Please let me know if somebody has ever come across this case.
Thanks in advance,
Tintin
9 More Discussions You Might Find Interesting
1. AIX
Hello,
My first post to the Unix forums, thanks for having me!
The division of the company I work for uses a xseries/redhat/VMWareServer
solution to make sure that we keep hardware overhead low and use our machines to as near capacity as we can. These boxes are Intel with usually
dual or... (1 Reply)
Discussion started by: greenteabagger
1 Replies
2. Shell Programming and Scripting
Hi all,
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies
3. UNIX for Dummies Questions & Answers
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... (2 Replies)
Discussion started by: sacguy08
2 Replies
4. UNIX for Dummies Questions & Answers
Hi, I was wondering how to change the prompt for my ssh login. At the moment it is like
user>
while I'd like it to be as
user@host>
It is in the .bash_profile or .ssh ??? Thanks (2 Replies)
Discussion started by: pmasterkim
2 Replies
5. UNIX for Dummies Questions & Answers
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
6. AIX
If I create a new user id test:
mkuser id=400 test
then I want it to LDAP user:
chuser -R LDAP SYSTEM=LDAP registry=LDAP test
It shows:
3004-687 User "test" does not exist.
How to do? (4 Replies)
Discussion started by: rainbow_bean
4 Replies
7. Shell Programming and Scripting
Hi All,
I have problem with a csh script. This script simply search for a certail process id and kill that using simple kill -5 <pid>. Everything is okay untill there is valid process id trapped. But if the process id is already cleaned before the execution of the kill command, but script ends... (2 Replies)
Discussion started by: sraj142
2 Replies
8. Red Hat
Team ,
I would like to handle multiple profiles(.profile/.kshrc, .profile1/.kshrc1..etc) with single user account as 'useradm' in same server.
for example :
firstly login into server with useradm account it has to load .profile/.kshrc or profile1/.kshrc1, set the environment... (7 Replies)
Discussion started by: hemanth12345
7 Replies
9. UNIX for Advanced & Expert Users
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
LEARN ABOUT HPUX
tt_pattern_user
tt_pattern_user(library call) tt_pattern_user(library call)
NAME
tt_pattern_user -- return the value in a user data cell for a pattern object
SYNOPSIS
#include <Tt/tt_c.h>
void *tt_pattern_user(
Tt_pattern p,
int key);
DESCRIPTION
The tt_pattern_user function returns the value in the indicated user data cell for the specified pattern object.
Every pattern object allows an arbitrary number of user data cells that are each one word in size. The user data cells are identified by
integer keys. The tool can use these keys in any manner to associate arbitrary data with a pattern object.
The user data is part of the pattern object (that is, the storage buffer in the application); it is not part of the actual pattern. The
content of user cells has no effect on pattern matching.
The p argument is a unique handle for a message pattern. This handle is returned after tt_pattern_create is called. The key argument is
the specified user data cell. The application can use tt_pattern_user_set(3) to assign the keys to the user data cells that are part of
the pattern object. The value of each data cell must be unique for this pattern.
RETURN VALUE
Upon successful completion, the tt_pattern_user function returns the data cell, a piece of arbitrary user data that can hold a void *. The
application can use tt_ptr_error(3) to extract one of the following Tt_status values from the returned data:
TT_OK The operation completed successfully.
TT_ERR_NOMP
The ttsession(1) process is not running and the ToolTalk service cannot restart it.
TT_ERR_POINTER
The pointer passed does not point to an object of the correct type for this operation.
APPLICATION USAGE
The user data cell is intended to hold an address. If the address selected is equal to one of the Tt_status enumerated values, the result
of the tt_ptr_error(3) function will not be reliable.
SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_pattern_user_set(3), tt_pattern_create(3), tt_ptr_error(3).
tt_pattern_user(library call)