Table of Content

For new user need to reset password for first time login but always failed on passwd command:

root # passwd testuser
Enter testuser’s password:
New Password:
Re-enter new Password:
Permission denied

1) truss on passwd

truss -eaf -rall -wall -vall -o /var/tmp/passwd222.truss passwd testuser
17206:  putmsg(8, 0xFFBFA2B8, 0xFFBFA2AC, 0)            = 0
17206:          ctl:  maxlen=24   len=24   buf=0xFFBFABE8: “\0\0\0\0\0\0\010″..
17206:    \0\0\0\0\0\0\010\005C4 x\0027F (\0\0\0\0\0\0\00F
17206:          dat:  maxlen=1280 len=132  buf=0xFFBFA6E8: ” J a n   2 2   1″..
17206:     J a n   2 2   1 8 : 0 1 : 1 8   p a s s w d [ 1 7 2 0 6 ] :   [
17206:     I D   3 8 3 5 9 0   F A C I L I T Y _ A N D _ P R I O R I T Y ]
17206:       l i b s l d a p :   g o t   L D A P   e r r n u m   5 3   &
17206:     m e s s a g e :   s e r v e r   d i s k   s p a c e   i s   l o
17206:     w  \n\0

17206:  putmsg(8, 0xFFBFA318, 0xFFBFA30C, 0)            = 0
17206:          ctl:  maxlen=24   len=24   buf=0xFFBFAC48: ” M ; ZB5\0\0\010″..
17206:     M ; ZB5\0\0\010\0\0  \0\0\0\0\0 B A D V\0\0\00E
17206:          dat:  maxlen=1280 len=122  buf=0xFFBFA748: ” J a n   2 2   1″..
17206:     J a n   2 2   1 8 : 0 1 : 1 8   p a s s w d [ 1 7 2 0 6 ] :   [
17206:     I D   2 9 3 2 5 8   F A C I L I T Y _ A N D _ P R I O R I T Y ]
17206:       l i b s l d a p :   S t a t u s :   5 3     M e s g :   D S A
17206:       i s   u n w i l l i n g   t o   p e r f o r m\n\0

# df -lh
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t1d0s0      xxG   yyG    zzM   100%    /

2) find out large directory and files on LDAP server

DS logs is ON and too large

# du -ka | sort -nr | more
xxxxxx  ./var/ds/logs

3) can disable access log to free lots of space

root # /opt/SUNWdsee/ds6/bin/dsconf set-log-prop -h "host" -p 389 access enabled:off
root # /opt/SUNWdsee/ds6/bin/dsconf get-log-prop -h "host" -p 389 access