LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-17-2004, 04:48 AM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 704

Rep: Reputation: 30
cannot create new user account


I use the command : useradd username -p password
I go to /etc/passwd and the line of the new user has been added.
I then try to login as user "username" , but the only thing i see is "Login failed".
What am i doing wrong?
 
Old 08-17-2004, 04:58 AM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
Try setting the user with "useradd" and password with "passwd".
 
Old 08-17-2004, 05:23 AM   #3
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 704

Original Poster
Rep: Reputation: 30
How do i use the "passwd" command?
 
Old 08-17-2004, 06:18 AM   #4
rkdugar
LQ Newbie
 
Registered: Jul 2004
Posts: 13

Rep: Reputation: 0
Use the following commands:

#useradd <username>
#passwd <username>

Cheers,

rkdugar
 
Old 08-17-2004, 07:38 AM   #5
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 704

Original Poster
Rep: Reputation: 30
Unfortunately it didn't work. I can not log in with that username either from the command line or from the graphical login menu of Suse 9.1. I don't think the problem is the the method i used to register the user account, but perhaps an extra setting. During Suse 9.1 installation you are asked to register account and that works fine for me later. But why can't i register an account after installation. What's the difference?
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
system account or user account??? yenonn Linux - Newbie 6 05-10-2006 07:49 PM
why cannot create user account with uppercase characters on redhat EL3 ? hector48 Red Hat 3 07-15-2005 04:04 PM
linux create user account deus1 Linux - General 2 06-04-2005 06:32 PM
Create a New Super user account blazted Linux - Newbie 6 02-13-2005 03:56 PM
how to create root-like user/account? rsumbeling Linux - General 6 11-23-2004 12:38 PM


All times are GMT -5. The time now is 02:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration