'passwd' break

For some reason, ‘passwd’ appears to not work properly anymore. Not
sure what might’ve caused it. Running Patch B. I try to ‘passwd newuser’,
it goes through the motions, tells me that group 1000 is not in /etc/group
(and it is, in the same format as other entries and the example from the
help viewer); and after I enter the new user’s password, it tells me ‘cannot
create password entry’… any ideas? I haven’t, knowingly, altered any
perms or ownerships on ‘passwd’ or the passwd or shadow files.

passwd newuser

User id # (100)
Group id # (100) 1000
Warning! group 1000 doesn’t exist
please remember to update /etc/group

… Yes it does. Here’s the line from my /etc/group
users:x:1000:newuser
And the perms:
-rw-r–r-- 1 root root 211 May 18 04:42 group
And yes I’m logged in as root :wink: I tried it without the ‘x’ (took the
example from what’s in /etc/group) and without any users…

Real name () New User
Home directory (/home/newuser)
Login shell (/bin/sh)
New password:
Retype new password:
cannot create password entry

Anyone? Should I make sure that files like /etc/passwd, /etc/shadow,
/etc/group and /usr/bin/passwd have certain owners and specific perms?
Should /etc/group be 664? Thanks.

Hello,

There is an entry in the knowledge base that might help.
The address is
http://qdn.qnx.com/support/bok/solution.qnx?9707
Hope this helps.

Regards,

Barry


Sir Charles <nospam@chalz-of-internetusa.net> wrote:

For some reason, ‘passwd’ appears to not work properly anymore. Not
sure what might’ve caused it. Running Patch B. I try to ‘passwd newuser’,
it goes through the motions, tells me that group 1000 is not in /etc/group
(and it is, in the same format as other entries and the example from the
help viewer); and after I enter the new user’s password, it tells me ‘cannot
create password entry’… any ideas? I haven’t, knowingly, altered any
perms or ownerships on ‘passwd’ or the passwd or shadow files.

passwd newuser

User id # (100)
Group id # (100) 1000
Warning! group 1000 doesn’t exist
please remember to update /etc/group

… Yes it does. Here’s the line from my /etc/group
users> :x:> 1000:newuser
And the perms:
-rw-r–r-- 1 root root 211 May 18 04:42 group
And yes I’m logged in as root > :wink: > I tried it without the ‘x’ (took the
example from what’s in /etc/group) and without any users…

Real name () New User
Home directory (/home/newuser)
Login shell (/bin/sh)
New password:
Retype new password:
cannot create password entry

Anyone? Should I make sure that files like /etc/passwd, /etc/shadow,
/etc/group and /usr/bin/passwd have certain owners and specific perms?
Should /etc/group be 664? Thanks.