We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


Not Able to add users

Len45 asked
Medium Priority
Last Modified: 2013-12-16
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
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
Watch Question

Duncan RoeSoftware Developer

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>".
Top Expert 2005

> adduser: cannot rewrite shadow password file
You run it as root?
Your disk is not full?


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

Yes I am running as root
/dev/hda5             4.9G  1.6G  3.1G  34% /


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


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
Cyclops3590Sr Software Engineer

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.
Closed, 500 points refunded.
The Experts Exchange
Community Support Moderator of all Ages

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.