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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-18-2004, 04:05 PM
|
#1
|
LQ Newbie
Registered: May 2004
Distribution: Fedora 1.92
Posts: 5
Rep:
|
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.
|
|
|
05-19-2004, 09:13 AM
|
#2
|
LQ Newbie
Registered: May 2004
Distribution: Fedora 1.92
Posts: 5
Original Poster
Rep:
|
No answer, then?
|
|
|
05-25-2004, 11:07 AM
|
#3
|
LQ Newbie
Registered: May 2004
Distribution: Fedora 1.92
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
09-04-2004, 04:17 PM
|
#4
|
Member
Registered: Jan 2004
Location: Lille [Fr]
Distribution: SUSE9.3, WinXP on a leech (vmware)
Posts: 62
Rep:
|
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.
|
|
|
09-04-2004, 07:02 PM
|
#5
|
LQ Newbie
Registered: May 2004
Distribution: Fedora 1.92
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
03-20-2005, 04:19 PM
|
#6
|
LQ Newbie
Registered: Sep 2003
Location: Herts, UK
Distribution: Redhat 7.3
Posts: 1
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|