Link to home
Start Free TrialLog in
Avatar of Len45
Len45Flag for United States of America

asked on

Not Able to add users

First, I have done some "tweaking"
I am on FC3 -- partly because I could not get 4 or Centos 3 or 4 to load on my hardware, basically Intell D915plwd motherboard

I have since loaded (and gotten working by the tweaks)
PHP 5x
MySQL 5
ColdFusion 5
BlueDragon 6.2.1 JX
It was mostly the older ColdFusion 5 that probably mucked up the works

When I try to add a user I get the following
[root@falcon etc]# /usr/sbin/adduser -d /www/horizon/falcon.horizonsite.com/ horizon
adduser: cannot rewrite shadow password file

Could use some help here

thanks in advance
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

You could try useradd - another similar command.
Do you have shadow passwords anyway? (Does /etc/shadow exist?)
If you don't have shadow passwords enabled, you can add users by editing /etc/passwd. Set their password up from root afterwards by "passwd <new_user_name>".
> adduser: cannot rewrite shadow password file
You run it as root?
Your disk is not full?
Avatar of Len45

ASKER

duncan roe:
Both adduser and useradd actually write the user to the passwd file and create the /home/userdirectory
 I then get... adduser: cannot rewrite shadow password file
Yes shadow and -shadow are there shadow did have a r-------- I chmod'd it to 600, with the result above
When I try to set the password with /usr/bin/passwd...
Changing password for user test_user.
passwd: Authentication token manipulation error

ravenpl:
Yes I am running as root
/dev/hda5             4.9G  1.6G  3.1G  34% /
Avatar of Len45

ASKER

I have been Googling... with no luck y'all are the hope of my future, uping the ante
Avatar of Len45

ASKER

Well, you futz long enough and it heals, eh?
there must have been some inconsistency between files -- I manually cleaned up passwd, shadow and group
did a pwunconv pwconf grpunconv grpconv
now she works...

Thanks for the tip, now I need to know how to close this question
Good work solving your own problem.  EE would much appreciate it I'm sure if you could post in the Community Support area to PAQ the question and refund your points.
ASKER CERTIFIED SOLUTION
Avatar of GranMod
GranMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial