+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

passwd -> permission denied

  1. passwd -> permission denied

    Hi:

    Can you help me with this issue ? I cannot change userīs password with
    root account...

    root@solaris001 # passwd john
    Password:
    passwd: Sorry, wrong passwd
    Permission denied

    root@solaris001 # id
    uid=0(root) gid=0(root)

  2. Re: passwd -> permission denied

    apogeusistemas@gmail.com wrote:
    > Hi:
    >
    > Can you help me with this issue ? I cannot change userīs password with
    > root account...
    >
    > root@solaris001 # passwd john
    > Password:
    > passwd: Sorry, wrong passwd
    > Permission denied
    >
    > root@solaris001 # id
    > uid=0(root) gid=0(root)


    I think passwd is intended for use by the user. If you want to change
    it as root, use one of the admin tools.

    --
    The e-mail address in our reply-to line is reversed in an attempt to
    minimize spam. Our true address is of the form che...@prodigy.net.

  3. Re: passwd -> permission denied

    apogeusistemas@gmail.com writes:
    >root@solaris001 # passwd john
    >Password:
    >passwd: Sorry, wrong passwd
    >Permission denied


    Changed /etc/pam.conf lately?

    -Mike

  4. Re: passwd -> permission denied

    On May 20, 11:22*am, apogeusiste...@gmail.com wrote:
    > Hi:
    >
    > Can you help me with this issue ? I cannot change userīs password with
    > root account...
    >
    > root@solaris001 # passwd john
    > Password:
    > passwd: Sorry, wrong passwd
    > Permission denied
    >
    > root@solaris001 # id
    > uid=0(root) gid=0(root)


    Show us the permissions/ownership of /etc/passwd and /etc/shadow

    They should be:

    -rw-r--r-- 1 root root 890 Jun 28 2007 /etc/passwd
    -r-------- 1 root sys 526 Jun 28 2007 /etc/shadow

    -r

  5. Re: passwd -> permission denied

    On May 20, 11:22*am, apogeusiste...@gmail.com wrote:
    > Hi:
    >
    > Can you help me with this issue ? I cannot change userīs password with
    > root account...
    >
    > root@solaris001 # passwd john
    > Password:
    > passwd: Sorry, wrong passwd
    > Permission denied
    >
    > root@solaris001 # id
    > uid=0(root) gid=0(root)


    Also, post the output of:

    uname -a

    cat /etc/release

  6. Re: passwd -> permission denied

    First, I know that it's lame that I didn't think of all this before
    posting the first two qustions... :)

    Also, post the output for:

    which passwd

    :)

    -r

  7. Re: passwd -> permission denied

    On May 20, 3:35*pm, Mike Marshall wrote:
    > apogeusiste...@gmail.com writes:
    > >root@solaris001 # passwd john
    > >Password:
    > >passwd: Sorry, wrong passwd
    > >Permission denied

    >
    > Changed /etc/pam.conf lately?
    >
    > -Mike

    root@solaris001 # ls -l /etc/passwd
    -rw-r--r-- 1 root sys 2128 Nov 21 2007 /etc/passwd

    root@solaris001 # ls -l /etc/shadow
    -r-------- 1 root sys 1082 May 5 17:20 /etc/shadow

    root@solaris001 # which passwd
    /usr/bin/passwd

    root@solaris001 # uname -a
    SunOS solaris001 5.8 Generic_117350-43 sun4u sparc SUNW,Sun-Fire

    root@solaris001 # cat /etc/release
    Solaris 8 2/02 s28s_u7wos_08a SPARC
    Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
    Assembled 18 December 2001

    root@solaris001 # ls -l /etc/pam.conf
    -rw-r--r-- 1 root sys 2465 Dec 9 07:18 /etc/pam.conf

    root@solaris001 #


  8. Re: passwd -> permission denied

    In your previous thread you posted lots of NIS errors.

    "NIS server not responding"
    "transport level create failure for domain"
    "RPC: Program not registered"
    "can't get master for passwd map"

    have you fixed those yet?

  9. Re: passwd -> permission denied

    On May 20, 5:18*pm, Oscar del Rio wrote:
    > In your previous thread you posted lots of NIS errors.
    >
    > "NIS server not responding"
    > "transport level create failure for domain"
    > "RPC: Program not registered"
    > "can't get master for passwd map"
    >
    > have you fixed those yet?


    This problem is in another sun machine...

  10. Re: passwd -> permission denied

    apogeusistemas@gmail.com wrote:
    > Hi:
    >
    > Can you help me with this issue ? I cannot change userīs password with
    > root account...
    >
    > root@solaris001 # passwd john
    > Password:
    > passwd: Sorry, wrong passwd
    > Permission denied
    >
    > root@solaris001 # id
    > uid=0(root) gid=0(root)


    I think it wants John's current password!! If you give it that, it
    should prompt you for a new password.

    If you are changing the password because John forgot it, you will need
    to clear the password in /etc/passwd and /etc/shadow.

+ Reply to Thread
Page 1 of 2 1 2 LastLast