AIX - Core dump when using mkuser


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users AIX - Core dump when using mkuser
# 1  
Old 08-02-2002
Question AIX - Core dump when using mkuser

Hi all,

I've got a strange problem here that is not documented in AIX FAQs and tech docs, and I was wondering if somebody out there encountered the same issue or had an idea to help me out.

I'm using a script to create users with the "mkuser" command. I can set up any options I want (like "home", "maxage", maxexpired", etc.) and everything works fine... except when I add the option to set a password history limitation ("histsize"), in which case the system core dumps when trying to execute my script.

My exact line is the following :
mkuser groups=oper,$c_groupuser pgrp=oper home=/home/users/oper maxage=5 maxexpired=1 loginretries=3 minlen=6 maxrepeats=1 histsize=12 $v_userLogin 1>/tmp/$v_fichiertmp1 2>/tmp/$v_fichiertmp2

Can somebody help me ?

Thanks for your time,
Eric.
# 2  
Old 08-05-2002
Re: AIX - Core dump when using mkuser

Quote:
Originally posted by dfrangidis
Hi all,


My exact line is the following :
mkuser groups=oper,$c_groupuser pgrp=oper home=/home/users/oper maxage=5 maxexpired=1 loginretries=3 minlen=6 maxrepeats=1 histsize=12 $v_userLogin 1>/tmp/$v_fichiertmp1 2>/tmp/$v_fichiertmp2

mkuser groups=(secondary groups) pgrp=(primary group) maxage=5 maxexpired=1 loginretries=3 minlen=6 maxrepeats=1 histsize=12 testaccount

this works for me. sounds like what ever variables your trying to pass it are not good.

my specs:

OS: aix 4.3
platform: rs/6000 (F50)

Last edited by Optimus_P; 08-05-2002 at 07:22 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No core dump

my progrme complaints 'Segmentation fault'. How to let it print 'Segmentation fault(core dumped)' and generate core dump file? $ulimit unlimited (22 Replies)
Discussion started by: vistastar
22 Replies

2. AIX

AIX mkuser with password

Hi I want to create a user on AIX box. The only problem I have is I want to set it a password and the user doesn't have to change the password at his initial login. Is there any flag to do that. Any help would be appreciated. (6 Replies)
Discussion started by: bandaru
6 Replies

3. AIX

How to do core dump analysis in AIX?

Please tell me some methods to analyse core dump in AIX.:) (2 Replies)
Discussion started by: Mythili
2 Replies

4. Programming

core dump

how to view core dumped file using gdb and how to extract information from the coredumped file.can we get similar information from the other utilites like strace or ptrace. (2 Replies)
Discussion started by: Manabhanjan
2 Replies

5. AIX

core dump

My application gives core dump. When i am debugging with dbx getting instructions below: pthdb_session.c, 818: 695445 PTHDB_INTERNAL (internal error) pthreaded.c, 1941: PTHDB_INTERNAL (internal error) Illegal instruction (illegal opcode) in . at 0x0 warning: Unable to access address 0x0... (1 Reply)
Discussion started by: bapi
1 Replies

6. UNIX for Advanced & Expert Users

Core Dump

Hello all, Iam new to unix while executing java program which finely working in windows know iam testing with unix ,but in unix while executing iam getting core dump, my application is in client server environment and it is menu drivrn application on clicking options no problem but after some time... (1 Reply)
Discussion started by: vinp
1 Replies

7. UNIX for Dummies Questions & Answers

Core dump in HP-UX..

Hi All I am new for this forum. I have a core file by using gdb and bt cmd I got the function name but I want to the exact cause of the core dump because of I can not reproduse the binary so if any one know the cmd plz plz plz let me know. (0 Replies)
Discussion started by: gyanusoni
0 Replies

8. UNIX for Advanced & Expert Users

core dump

Hi All, i am new to this forum.i want detail of reading the core file and trace the problem because of what the program get crashed.please help me.if any body knows any website or tutoril plese let me know. sudhir (6 Replies)
Discussion started by: sudhir patnaik
6 Replies

9. UNIX for Dummies Questions & Answers

core dump

I've got a core dump in my weblogic home directory, which i have tried to debug by initiating savecore from /etc/init.d/savecore start but savecore failed to create the two files, that is vmcore.n and vmunix.n. savecore is enable on my server to save vmcore and vmunix in /var/crash/hostname 1)... (4 Replies)
Discussion started by: hassan2
4 Replies

10. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies
Login or Register to Ask a Question