?
Solved

Not Able to add users

Posted on 2006-03-21
8
Medium Priority
?
416 Views
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
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
0
Comment
Question by:Len45
7 Comments
 
LVL 35

Expert Comment

by:Duncan Roe
ID: 16255210
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>".
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 16257143
> adduser: cannot rewrite shadow password file
You run it as root?
Your disk is not full?
0
 

Author Comment

by:Len45
ID: 16257505
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% /
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Len45
ID: 16257897
I have been Googling... with no luck y'all are the hope of my future, uping the ante
0
 

Author Comment

by:Len45
ID: 16257963
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
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 16268774
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.
0
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16304619
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 23 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question