LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-18-2004, 04:05 PM   #1
Rich@Termisoc
LQ Newbie
 
Registered: May 2004
Distribution: Fedora 1.92
Posts: 5

Rep: Reputation: 0
adduser and passwd in Fedora 2 is producing errors


Hey guys and gals,

I was trying to add a new user to the Termsioc (University Of Plymouth CS) servers and change my passwords, but I'm getting these weird messages on a couple of commands as a result:

When I adduser or useradd:
I type in

./adduser <username>

and it replies:

adduser: cannot rewrite password file

When I passwd my root, after going through typing a new password, it replies:

passwd: dlopen() failure

and finally, when I try to passwd my username, it replies:

passwd: Authentification token manipulation error

I don't think these commands have been used for several months, so I'm not sure when the problem could have developed. Something I do know is that the previous admin for the box installed Fedora on it by simply changing the mirrors in apt-get whilst running RH9.

Thanks!

Rich Jeffery
Termisoc President

Last edited by Rich@Termisoc; 05-25-2004 at 11:11 AM.
 
Old 05-19-2004, 09:13 AM   #2
Rich@Termisoc
LQ Newbie
 
Registered: May 2004
Distribution: Fedora 1.92
Posts: 5

Original Poster
Rep: Reputation: 0
No answer, then?
 
Old 05-25-2004, 11:07 AM   #3
Rich@Termisoc
LQ Newbie
 
Registered: May 2004
Distribution: Fedora 1.92
Posts: 5

Original Poster
Rep: Reputation: 0
Still having the same problem.

THIS IS AN EMERGENCY SITUATION, AS UNTIL IT IS FIXED WE CANNOT ADD, REMOVE USERS OR CHANGE ANY PASSWORDS!

HELP!!!!

We've tried moving the passwd and shadow files to .old, but the problem still remains. Ocassionally, the passwd files update anyway, but it only half bakes them, so they still aren't users.

Last edited by Rich@Termisoc; 05-25-2004 at 11:09 AM.
 
Old 09-04-2004, 04:17 PM   #4
baronlynx
Member
 
Registered: Jan 2004
Location: Lille [Fr]
Distribution: SUSE9.3, WinXP on a leech (vmware)
Posts: 62

Rep: Reputation: 15
Re: adduser and passwd in Fedora 2 is producing errors

Quote:
Originally posted by Rich@Termisoc

passwd: dlopen() failure
actually i have a similar issue ...
in my case i can add a user, a group, set the 1st password, but i cannot change it later ... i get the error we see above
and i would really like to know the answer since i have the policy to change my passwd once in a while ...

--baronlynx--

Last edited by baronlynx; 09-04-2004 at 04:18 PM.
 
Old 09-04-2004, 07:02 PM   #5
Rich@Termisoc
LQ Newbie
 
Registered: May 2004
Distribution: Fedora 1.92
Posts: 5

Original Poster
Rep: Reputation: 0
The problem is now sorted.

The reason why it occurred was that the linux-secure package (or something similar involving extra-secure linux) had gotten installed. This meant that the adduser and passwd commands behaved totally differently.

Removing this package will solve the problem as far as I'm aware.
 
Old 03-20-2005, 04:19 PM   #6
Serberus
LQ Newbie
 
Registered: Sep 2003
Location: Herts, UK
Distribution: Redhat 7.3
Posts: 1

Rep: Reputation: 0
Lightbulb

To add a new user under FC3 running SE Linux:

restorecon /etc/passwd /etc/shadow
useradd <user>
passwd <user>

If passwd fails try repeating lines 1 and 3.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webalizer not producing reports Braytac Linux - Networking 1 04-22-2005 05:04 PM
Audio apps for producing libranikki General 12 02-16-2005 03:13 PM
Fedora - adduser/useradd doesn't work chongluo Linux - Newbie 2 03-25-2004 04:59 AM
ETC/Passwrd error BobbyBlaz3 Solaris / OpenSolaris 2 03-01-2004 12:46 PM
Easy problem??? Can't find adduser or useradd in fresh install of Fedora jdruin Linux - Newbie 3 02-21-2004 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration