LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 03-30-2013, 01:47 PM   #1
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
How to add a new user?


I'm using Fedora 18_i686 and I need to add a new user. I have tried
Code:
useradd -p password username
but when I try to do
Code:
su angie
it does not prompt for a password and when I do
Code:
users
the new user in not there. I have read the manual for useradd to no avail, unless I'm missing something. The directory /home/user is created and all seems well but it isn't prompting for a password. I really need to get this done because I want to lend the laptop to a friend for a while. I tried using the GUI "Administration > Users and Groups" but I get the same results. Thanks ahead of time.

Last edited by SharpyWarpy; 03-30-2013 at 01:48 PM.
 
Old 03-30-2013, 03:25 PM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,318

Rep: Reputation: 124Reputation: 124
As root you can "su" to any account without password.
And I believe the command "users" lists accounts logged in on tty - that is, when you su to some account "users" will still only list the original username.
 
1 members found this post helpful.
Old 03-30-2013, 03:35 PM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Original Poster
Rep: Reputation: 90
Quote:
Originally Posted by pingu View Post
As root you can "su" to any account without password.
And I believe the command "users" lists accounts logged in on tty - that is, when you su to some account "users" will still only list the original username.
Ah, thanks. I'll play around some more, see if I can log in from boot with the new user.
 
Old 03-30-2013, 05:13 PM   #4
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Original Poster
Rep: Reputation: 90
@ pingu: Thanks, I rebooted and the new user and password worked fine. Reputation added!
 
Old 03-30-2013, 05:17 PM   #5
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,318

Rep: Reputation: 124Reputation: 124
Glad to help, and 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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't add local system user - useradd keeps saying user already exists ADeluiz Linux - Security 5 07-26-2013 04:17 PM
How to edit PAM DB of VSFTPD (..add user, delete user, change user password ) arun5002 Linux - Server 1 10-02-2012 09:49 AM
Create user add file with default password and force user to change it? Morgandy Linux - Newbie 3 02-02-2010 06:06 PM
samba - add user script - User account does not exist itzamecwp Linux - Server 2 01-18-2007 11:52 PM
How to automatically add smb user when unix user added Winanjaya Linux - Newbie 3 01-07-2007 12:17 PM


All times are GMT -5. The time now is 01:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration