LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-03-2005, 01:31 AM   #1
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
fc3 useradd help


Ok some background...

yes i know this problem has been posted very much (i have read through a lot of search results on this forum and plenty others + google) however, i find it hard to believe that the only way to allow useradd to work is to disable selinux? FC3 has been out for how long and useradd doesn't work?

Well the problem is that i try adding a user with the following

Code:
useradd fatboy -g users -d /home/fatass -p somepass
All seems to go through and work ok but it wont let me log in

well any help would be appreciated

thanks
 
Old 09-03-2005, 02:09 AM   #2
firedance
Member
 
Registered: Dec 2003
Location: Sweden
Distribution: Arch Linux
Posts: 65

Rep: Reputation: 15
I beleve that the -p option is for encrypted passwords.

I'm not sure howto crypt the password the correct way.
You may be able to create the user, login as root and do passwd username
 
Old 09-03-2005, 02:10 AM   #3
tuXfree
LQ Newbie
 
Registered: Aug 2005
Location: Manila, Philippines
Distribution: Mandrake 10.1 (Official )
Posts: 8

Rep: Reputation: 0
Try this one...

If "users" is primary group

groupadd users
mkdir /home/fatass
useradd -g users -d /home/fatass fatboy
passwd fatboy

If users as Secondary groups

useradd -G users -d /home/fatass fatboy
passwd fatboy


thats it ..

don't use -p bcoz it will not work unless find first the encryption of the word "somepass" using python.
 
Old 09-03-2005, 02:21 AM   #4
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
AAhhh i see the error of my ways

thanks i knew it had to be something i was overlooking... I guess to much time looking at that man page will do that to you ><

thanks
 
  


Reply



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
useradd jerryluis Fedora 9 03-27-2005 07:37 PM
Using Useradd spud Linux - Newbie 6 03-10-2005 03:50 PM
useradd script newuser455 Programming 4 01-27-2005 11:48 PM
useradd cyrush Linux - Distributions 3 01-21-2003 09:40 PM
useradd qdickens Linux - General 4 11-02-2001 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12: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