LinuxQuestions.org
Help answer threads with 0 replies.
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 09-20-2005, 08:24 AM   #1
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 30
Unable to set password for user


I created a new user by manually editing /etc/passwd with the following:

newp:x:501:501:New User Test:/home/newp:/bin/bash

I saved the file and then ran:

passwd newp

and got the following:

Changing password for user newp.
passwd: Authentication token manipulation error

According to a book I was reading, it said this was all that needed to be done to get this to work. Is there anything else needed?

thanks,

Harlin Seritt
 
Old 09-20-2005, 08:50 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Did you try as root "adduser <username>"?
 
Old 09-20-2005, 02:25 PM   #3
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Original Poster
Rep: Reputation: 30
I didn't. I could but I'm trying to do the things that are mentioned in this RHCE book. I'm finding overall it's pretty good but there are a couple of lab exercises that one can't do. I know this book is for RHEL3 (I'm using 4), so it's possible these things take other measures or are no longer possible.

thanks
 
  


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
HOW-TO? Create User, Set Password with script longtex SUSE / openSUSE 13 10-02-2005 03:35 PM
unable to install LILO nor set root password aquilolumen Slackware - Installation 10 07-07-2005 02:15 PM
Unable to set focus to the user name field in login screen using keyboard alone Lindaramachandr Linux - General 3 12-29-2004 10:43 AM
Unable to logon on as non-root user after update as unable to set executable context pls198 Fedora 2 04-09-2004 12:41 PM
vsftpd how to set password and user? djkoe Linux - Newbie 3 12-30-2003 09:35 AM

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

All times are GMT -5. The time now is 10:13 AM.

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