I'm having trouble setting up a new user, especially the password
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
I'm having trouble setting up a new user, especially the password
I have a new Slackware 10.2 install and to make it a little different than the last one, I mounted /usr/local and /home on separate partitions.
After loggin in as root, I ran:
#useradd -ppassword donjulio
The problem was two-fold:
/home/donjulio was never created & I couldn't login with the password. I even used su to become donjulio as root and tried using passwd to change the password to know avail.
I read the man adduser and after deleting donjulio, did this:
#useradd -m donjulio
and
#useradd -m -ppassword donjulio
Both seem to create the home directory now, solving problem one, but the passwords still don't seem to work, so I'm still stuck logging in as root in order to become a regular user, which is weird.
Am I messing up the command? Is there some file somewhere that I can edit as root to change the password?
The password entered with the -p switch needs to be encrypted. Have you tried not assigning the password with useradd and instead using the passwd command (as root)?
The password entered with the -p switch needs to be encrypted. Have you tried not assigning the password with useradd and instead using the passwd command (as root)?
I'll try that, as well as the adduser script. thanks!
hi all ,
i have problem changing a passwd to user
it say :
passwd: Authentication token manipulation error
and goes back to prompt .
i'm the root user and running the passwd username command .
is there anyone who has any similar situation ?
does anyone know how to solve this ?
thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.