Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-03-2005, 01:31 AM   #1
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

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

Old 09-03-2005, 02:09 AM   #2
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
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
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 ><



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
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration