Hi:
Can you help me with this issue ? I cannot change user=B4s password with
root account...
root@solaris001 # passwd john
Password:
passwd: Sorry, wrong passwd
Permission denied
root@solaris001 # id
uid=3D0(root) gid=3D0(root)
|
|
0
|
|
|
|
Reply
|
apogeusistemas
|
5/20/2008 6:22:35 PM |
|
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.
|
|
0
|
|
|
|
Reply
|
CJT
|
5/20/2008 6:35:14 PM
|
|
apogeusistemas@gmail.com writes:
>root@solaris001 # passwd john
>Password:
>passwd: Sorry, wrong passwd
>Permission denied
Changed /etc/pam.conf lately?
-Mike
|
|
0
|
|
|
|
Reply
|
Mike
|
5/20/2008 6:35:22 PM
|
|
On May 20, 11:22=A0am, apogeusiste...@gmail.com wrote:
> Hi:
>
> Can you help me with this issue ? I cannot change user=B4s password with
> root account...
>
> root@solaris001 # passwd john
> Password:
> passwd: Sorry, wrong passwd
> Permission denied
>
> root@solaris001 # id
> uid=3D0(root) gid=3D0(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
|
|
0
|
|
|
|
Reply
|
Robb
|
5/20/2008 6:57:39 PM
|
|
On May 20, 11:22=A0am, apogeusiste...@gmail.com wrote:
> Hi:
>
> Can you help me with this issue ? I cannot change user=B4s password with
> root account...
>
> root@solaris001 # passwd john
> Password:
> passwd: Sorry, wrong passwd
> Permission denied
>
> root@solaris001 # id
> uid=3D0(root) gid=3D0(root)
Also, post the output of:
uname -a
cat /etc/release
|
|
0
|
|
|
|
Reply
|
Robb
|
5/20/2008 6:59:07 PM
|
|
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
|
|
0
|
|
|
|
Reply
|
Robb
|
5/20/2008 7:00:47 PM
|
|
On May 20, 3:35=A0pm, Mike Marshall <hub...@clemson.edu> 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 #
|
|
0
|
|
|
|
Reply
|
apogeusistemas
|
5/20/2008 7:57:21 PM
|
|
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?
|
|
0
|
|
|
|
Reply
|
Oscar
|
5/20/2008 8:18:09 PM
|
|
On May 20, 5:18=A0pm, Oscar del Rio <del...@mie.utoronto.ca> 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...
|
|
0
|
|
|
|
Reply
|
apogeusistemas
|
5/20/2008 8:24:55 PM
|
|
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.
|
|
0
|
|
|
|
Reply
|
Richard
|
5/20/2008 10:37:44 PM
|
|
On 20 maio, 19:37, "Richard B. Gilbert" <rgilber...@comcast.net>
wrote:
> apogeusiste...@gmail.com wrote:
> > Hi:
>
> > Can you help me with this issue ? I cannot change user=B4s password with=
> > root account...
>
> > root@solaris001 # passwd john
> > Password:
> > passwd: Sorry, wrong passwd
> > Permission denied
>
> > root@solaris001 # id
> > uid=3D0(root) gid=3D0(root)
>
> I think it wants John's current password!! =A0If 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.
Could you tell me how clear a password in this 2 files ?
|
|
0
|
|
|
|
Reply
|
apogeusistemas
|
5/20/2008 10:56:42 PM
|
|
apogeusistemas@gmail.com wrote:
> On 20 maio, 19:37, "Richard B. Gilbert" <rgilber...@comcast.net>
> wrote:
>> 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)
>> 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.
>
> Could you tell me how clear a password in this 2 files ?
have you checked passwd & shadow have same nr. of lines ?
# wc -l /etc/passwd /etc/shadow
30 /etc/passwd
30 /etc/shadow
60 total
/Jorgen
|
|
0
|
|
|
|
Reply
|
Jorgen
|
5/20/2008 11:11:45 PM
|
|
apogeusistemas@gmail.com wrote:
> On 20 maio, 19:37, "Richard B. Gilbert" <rgilber...@comcast.net>
> wrote:
>> 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)
>> 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.
>
> Could you tell me how clear a password in this 2 files ?
See man vipw.
You will also need to use the program that updates /etc/shadow; my
failing memory will not turn up the name of this program.
|
|
0
|
|
|
|
Reply
|
Richard
|
5/20/2008 11:16:25 PM
|
|
Richard B. Gilbert wrote:
>> Could you tell me how clear a password in this 2 files ?
>
> See man vipw.
>
> You will also need to use the program that updates /etc/shadow; my
> failing memory will not turn up the name of this program.
Your memory is fine. 'vipw' edits passwd first, then asks you if
you want to also edit the shadow file. There is no separate
command. (There is however a 'vigr' command to edit /etc/group
and /etc/gshadow files.)
-Wayne
|
|
0
|
|
|
|
Reply
|
Wayne
|
5/20/2008 11:33:27 PM
|
|
On Tue, 20 May 2008, CJT wrote:
> I think passwd is intended for use by the user. If you want to change
> it as root, use one of the admin tools.
"passwd" is one of the admin tools!
--
Rich Teer, SCSA, SCNA, SCSECA
CEO,
My Online Home Inventory
URLs: http://www.rite-group.com/rich
http://www.linkedin.com/in/richteer
http://www.myonlinehomeinventory.com
|
|
0
|
|
|
|
Reply
|
Rich
|
5/21/2008 2:22:20 PM
|
|
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---559023410-1804928587-1211379740=:28863
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
On Tue, 20 May 2008, apogeusistemas@gmail.com wrote:
> Can you help me with this issue ? I cannot change user�s password with
> root account...
Is john a local user? Root can't change a remote user's password
(at least, not without some additional authentication).
--
Rich Teer, SCSA, SCNA, SCSECA
CEO,
My Online Home Inventory
URLs: http://www.rite-group.com/rich
http://www.linkedin.com/in/richteer
http://www.myonlinehomeinventory.com
---559023410-1804928587-1211379740=:28863--
|
|
0
|
|
|
|
Reply
|
Rich
|
5/21/2008 2:23:48 PM
|
|
On May 20, 3:22 pm, apogeusiste...@gmail.com wrote:
> Hi:
>
> Can you help me with this issue ? I cannot change user=B4s password with
> root account...
>
> root@solaris001 # passwd john
> Password:
> passwd: Sorry, wrong passwd
> Permission denied
>
> root@solaris001 # id
> uid=3D0(root) gid=3D0(root)
I think it is asking for root's password. Are you using CA's eTrust
Access Control or something similar?
|
|
0
|
|
|
|
Reply
|
Emerson
|
5/22/2008 3:03:31 PM
|
|
|
16 Replies
1184 Views
(page loaded in 0.189 seconds)
Similiar Articles: passwd -> permission denied - comp.unix.solarisHi: Can you help me with this issue ? I cannot change user=B4s password with root account... root@solaris001 # passwd john Password: passwd: Sorry, ... change passwd - permission denied (NIS) - comp.unix.solaris ...This may help someone someday. I setup a new NIS server and put the NIS source files in /etc/nis/ Everything seemed to work with /var/yp/ and make a... NFS permission denied - comp.unix.solarispasswd -> permission denied - comp.unix.solaris NFS permission denied - comp.unix.solaris So now I suspect the NIS db typping ypcat -k passwd works fine returning a list ... Solaris 9, NIS, can't change password - passwdutil.so - comp.sys ...I just noticed that we can no > longer change passwords. > > The users sees this: > # passwd XXXXXXX > New Password: > Re-enter new Password: > Permission denied ... Account problem Solaris 8 - comp.sys.sun.adminSolaris NIS and shadow file - comp.unix.solaris passwd -> permission denied - comp.unix.solaris Solaris NIS and shadow file - comp.unix.solaris Account problem Solaris 8 ... unable to rsh: permission denied - comp.unix.solarispasswd -> permission denied - comp.unix.solaris unable to rsh: permission denied - comp.unix.solaris Webmin, but the command line "passwd" gave me a permission denied when ... Unable to telnet to my machine - comp.unix.solarisBy the way I logged in as root and I am unable to change the passwd : root@ice1# passwd Permission denied root@ice1# the permission for this file is root@adcom1# pwd ... Permission denied when executing the program - comp.parallel.mpi ...change passwd - permission denied (NIS) - comp.unix.solaris ..... make and evening within Webmin, but the command line "passwd" gave me a permission denied ... cross domain permission denied problem - comp.lang.javascript ...passwd -> permission denied - comp.unix.solaris cross domain permission denied problem - comp.lang.javascript ... I guess what i'm basically looking for is some way of ... root can't ls(1) a directory: Permission denied - comp.unix.shell ...passwd -> permission denied - comp.unix.solaris Samba folder and subfolder permissions - comp.os.linux.misc ... passwd -> permission denied - comp.unix.solaris root can't ... 'Access denied for user 'root' - comp.databases.mysqlCan't rcp etc as root, but can as other users - comp.unix.solaris ... Root can't change a remote user's password ... passwd Permission denied We don't use NIS at all ... Samba folder and subfolder permissions - comp.os.linux.misc ...passwd -> permission denied - comp.unix.solaris Samba folder and subfolder permissions - comp.os.linux.misc ... passwd -> permission ... passwd permission denied: solaris ... Solaris NIS and shadow file - comp.unix.solarisSolaris NIS and shadow file - comp.unix.solaris passwd -> permission denied - comp.unix.solaris Solaris NIS and shadow file - comp.unix.solaris Account problem Solaris 8 ... NIS password aging in Solaris 10 - comp.unix.solarisNIS password aging in Solaris 10 - comp.unix.solaris change passwd - permission denied (NIS) - comp.unix.solaris ... Solaris 9, NIS, can't change password - passwdutil.so ... CHS Password - comp.sys.sun.adminchange passwd - permission denied (NIS) - comp.unix.solaris ... CHS Password - comp.sys.sun.admin change passwd - permission denied (NIS) - comp.unix.solaris ... changing ... Re: passwd -> permission denied - Der Keiler UNIX: The source for ...Relevant Pages. custom name service switch..... I wrote a test name service switch to handle passwd and group. ... On Solaris 9 sparc it works like I think it should ... passwd: permission denied - Welcome to Linux From Scratch!On Mon, 01 Nov 2004 14:41:06 +0100 "Matthias B." <msbREMOVE-THIS at winterdrache.de> wrote: > On Sun, 31 Oct 2004 17:53:59 -0700 "Randolph D. Dach" <rdach at shaw.ca ... 7/20/2012 10:11:39 PM
|