LinuxQuestions.org
Help answer threads with 0 replies.
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 07-21-2003, 05:48 PM   #1
acc_minion
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSe 8.2 Professional
Posts: 21

Rep: Reputation: 15
New User?


How do i make a new user in linux?
 
Old 07-21-2003, 05:55 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
As root:
useradd username

Then set the password:
passwd username
 
Old 07-21-2003, 06:11 PM   #3
acc_minion
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSe 8.2 Professional
Posts: 21

Original Poster
Rep: Reputation: 15
i get the error:

No Write access to $HOME Directory (/).

Last edited by acc_minion; 07-21-2003 at 06:15 PM.
 
Old 07-21-2003, 06:26 PM   #4
acc_minion
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSe 8.2 Professional
Posts: 21

Original Poster
Rep: Reputation: 15
/\ I edited the last message, cuz i said thx before i finished it, so can u please tell me what to do:

This is what i did:

1. Logged in as root (in KDE)
2. Opened the Konsole
3. Entered useradd (the user name here)
4. Entered passwd (the user name here)
5. And typed the password twice, first, then varaification.

Please help
 
Old 07-22-2003, 01:21 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Thats odd - try:
chown -R USERNAME /home/USERNAME
 
Old 07-23-2003, 10:44 AM   #6
acc_minion
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSe 8.2 Professional
Posts: 21

Original Poster
Rep: Reputation: 15
I recieved the error:

"chown: failed to get attributes of 'home/USERNAME' : No such file or directory"

If i made a file in /home/ of my username would that fix the problem?
 
Old 07-23-2003, 01:30 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
It would need be a folder and yes it might. Are you sure the user had been added? Take a look at /etc/passwd and make sure that an entry has been created for the user and that there is a home directory specified for that account.
 
Old 07-23-2003, 04:00 PM   #8
acc_minion
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSe 8.2 Professional
Posts: 21

Original Poster
Rep: Reputation: 15
Yes, i made a Admin directory in /home/ and changed the permissions, and it worked, thanks for the help
 
Old 07-23-2003, 04:17 PM   #9
dav1x
Member
 
Registered: Sep 2002
Posts: 50

Rep: Reputation: 15
I believe the -m switch on useradd makes the home directory as well. In redhat for instance, there is a preset alias adding that switch. In other distros its not present sometimes.

d
 
Old 10-20-2003, 10:31 AM   #10
Dogface1SG
Member
 
Registered: Oct 2003
Posts: 30

Rep: Reputation: 15
Thumbs up Man, I love this place

do a specific search for your problem, find an answer immediately!

Same problem, same solution

Thanks again
 
Old 10-20-2003, 10:47 AM   #11
AskMe
Member
 
Registered: Jul 2003
Posts: 123

Rep: Reputation: 15
In Red Hat Linux 9 there is command called redhat-config-users, it will give you graphical user interface GUI to create users and groups
 
  


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
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 04:00 PM
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 11:55 AM
grant user access to /fat-c & copying users' preferences to another user n0x Linux - Newbie 1 07-04-2004 01:04 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-08-2004 12:11 AM
Pleasehelp with proftpd.conf - trying to config user to write files as other user. philg Linux - Software 1 06-21-2003 01:13 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration