Unix Technical Forum

Re: failed with password

This is a discussion on Re: failed with password within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Sam <s.wun@thales-is.com.hk> wrote: > Dear all, Hi! Excitement! > I don't know why I got the following error: > ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 01:27 PM
Cypherpunk@nyc.rr.com
 
Posts: n/a
Default Re: failed with password

Sam <s.wun@thales-is.com.hk> wrote:
> Dear all,


Hi! Excitement!

> I don't know why I got the following error:
>
> root@unixser [12:14pm] [/usr/bin]# useradd -u 513 -g thales -m -d
> /export/home/samwun samw
> 64 blocks
> root@unixser [12:14pm] [/usr/bin]# passwd samw
> New Password:
> Permission denied
>
> Any idea?


Look at the end of this output:

truss -aef passwd samw

Report back as to what it was, please.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 01:27 PM
Sam
 
Posts: n/a
Default Re: failed with password



Cypherpunk@nyc.rr.com wrote:
> Sam <s.wun@thales-is.com.hk> wrote:
>
>> Dear all,

>
>
> Hi! Excitement!
>
>
>> I don't know why I got the following error:
>>
>> root@unixser [12:14pm] [/usr/bin]# useradd -u 513 -g thales -m -d
>> /export/home/samwun samw
>> 64 blocks
>> root@unixser [12:14pm] [/usr/bin]# passwd samw
>> New Password:
>> Permission denied
>>
>> Any idea?

>
>
> Look at the end of this output:
>
> truss -aef passwd samw
>
> Report back as to what it was, please.


beginning of the output is:

root@unixser ^[[1m[1:47pm]^[[m^O [~]# truss -aef passwd samwun^M^M
6256: *** SGID: rgid/egid/sgid = 1 / 3 / 3 ***^M
6256: execve("/usr/bin/passwd", 0x08047DC4, 0x08047DD0) argc = 2^M
6256: argv: passwd samwun^M
6256: envp: HOME=/^M
6256:
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/bin/X11^M
6256: LOGNAME=root HZ= TZ=Hongkong TERM=vt100 SHELL=/usr/bin/tcsh^M
6256: HOSTTYPE=i86pc VENDOR=sun OSTYPE=solaris MACHTYPE=i386^M
6256: SHLVL=2 PWD=/ USER=root GROUP=other HOST=unixser^M
6256: REMOTEHOST=192.168.1.1 EDITOR=vi BLOCKSIZE=1k^M
6256: resolvepath("/usr/bin/passwd", "/usr/bin/passwd", 1023) = 15^M
6256: sysconfig(_CONFIG_PAGESIZE) = 4096^M
6256: resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16^M
6256: xstat(2, "/usr/bin/passwd", 0x08047C1C) = 0^M
6256: open("/var/ld/ld.config", O_RDONLY) = 3^M
6256: fxstat(2, 3, 0x08047B3C) = 0^M
6256: mmap(0x00000000, 96, PROT_READ, MAP_SHARED, 3, 0) = 0xDDB80000^M
6256: close(3) = 0^M
6256: open("/usr/lib/passwdutil.so.1", O_RDONLY) = 3^M
6256: fxstat(2, 3, 0x08047684) = 0^M
6256: mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xDDB70000^M
6256: mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0)
= 0xDDB50000^M
6256: mmap(0xDDB6B000, 2380, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 45056) = 0xDDB6B000^M
6256: munmap(0xDDB5B000, 65536) = 0^M
6256: resolvepath("/usr/lib/passwdutil.so.1",
"/usr/lib/passwdutil.so.1", 1023) = 24^M
6256: memcntl(0xDDB50000, 7304, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0^M
6256: close(3) = 0^M
6256: open("/usr/lib/libbsm.so.1", O_RDONLY) = 3^M
6256: fxstat(2, 3, 0x08047684) = 0^M
6256: mmap(0xDDB70000, 4096, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xDDB70000^M
6256: mmap(0x00000000, 172032, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0)
= 0xDDB20000^M
6256: mmap(0xDDB46000, 11596, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 90112) = 0xDDB46000^M
6256: mmap(0xDDB49000, 3540, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xDDB49000^M
6256: munmap(0xDDB36000, 65536) = 0^M
6256: resolvepath("/usr/lib/libbsm.so.1", "/usr/lib/libbsm.so.1",
1023) = 20^M
6256: memcntl(0xDDB20000, 19996, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0^M
6256: close(3) = 0^M
6256: open("/usr/lib/libpam.so.1", O_RDONLY) = 3^M
6256: fxstat(2, 3, 0x08047684) = 0^M
6256: mmap(0xDDB70000, 4096, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xDDB70000^M
6256: mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0)
= 0xDDB00000^M
6256: mmap(0xDDB16000, 5316, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xDDB16000^M
6256: munmap(0xDDB06000, 65536) = 0^M
6256: mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANON, -1, 0) = 0xDDAF0000^M
6256: resolvepath("/usr/lib/libpam.so.1", "/usr/lib/libpam.so.1",
1023) = 20^M
6256: memcntl(0xDDB00000, 4896, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0^M
6256: close(3) = 0^M
6256: open("/usr/lib/libnsl.so.1", O_RDONLY) = 3^M
6256: fxstat(2, 3, 0x08047684) = 0^M
6256: mmap(0xDDB70000, 4096, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xDDB70000^M
6256: mmap(0x00000000, 679936, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0)
= 0xDDA40000^M

Thanks
sam

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 01:28 PM
Cypherpunk@nyc.rr.com
 
Posts: n/a
Default Re: failed with password

Sam <s.wun@thales-is.com.hk> wrote:
> Cypherpunk@nyc.rr.com wrote:
> > Sam <s.wun@thales-is.com.hk> wrote:
> >
> >> Dear all,

> >
> > Hi! Excitement!
> >
> >> I don't know why I got the following error:
> >>
> >> root@unixser [12:14pm] [/usr/bin]# useradd -u 513 -g thales -m -d
> >> /export/home/samwun samw
> >> 64 blocks
> >> root@unixser [12:14pm] [/usr/bin]# passwd samw
> >> New Password:
> >> Permission denied
> >>
> >> Any idea?

> >
> > Look at the end of this output:
> >
> > truss -aef passwd samw
> >
> > Report back as to what it was, please.

>
> beginning of the output is:


I asked for the end, not the beginning.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:30 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com