LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 09-02-2009, 01:12 AM   #1
sskraju
LQ Newbie
 
Registered: Jul 2008
Posts: 3
Thanked: 0
Arrow Login problem


[Log in to get rid of this advertisement]
Hi

I have problem when new user logs in.There is one user Raj1 who is the superuser (1st user a/c created after installation). Another user Raj2 is created from this account.But when Raj2 logs in "No directory, logging in with HOME=/" error comes in terminal

When he tries to login through GUI..similar error message comes & when I click OK screen goes blank.

Can any one let me know why is this happening??

I used this command

sudo useradd Raj2 --> user created

let me know how to set password for this user??

How to set the root password in Ubuntu??

Thanks
linuxubuntu sskraju is offline  
Tag This Post , ,
Reply With Quote
Old 09-02-2009, 01:37 AM   #2
EricTRA
Member
 
Registered: May 2009
Location: Barcelona, Spain
Distribution: Slackware 13, Ubuntu 9.04,Debian 32 + 64, AIX 5.3, RHEL5, LFS, BackTrack4
Posts: 949
Thanked: 99
Hello,

You issued the useradd command without the -d option to create the home directory. Read the man page for useradd, it tells you all you need to know in order to create a user the 'correct' way.

Since there is no home directory the system has no place to save/keep xconfig files, hence no GUI.

You set the password for a user with
Code:
passwd <username>
Setting root password is not advised by the Ubuntu community but if you know what you're doing.... (tip: www.google.com)

Kind regards,

Eric
windows_xp_2003 EricTRA is online now     Reply With Quote

Reply

Bookmarks


Thread Tools

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
SSH Problem - Can't login using Hostname, can login using ip address jqweezy Linux - Networking 7 01-26-2009 03:21 PM
X Login problem shan_nathan Linux - Desktop 3 06-30-2007 11:52 PM
Login problem Artik Debian 2 06-19-2005 06:27 AM
Login problem cykoburn Linux - Newbie 5 11-29-2004 10:02 PM
Login Problem can anybody help me? mnatu Linux - General 2 03-06-2004 04:59 PM


All times are GMT -5. The time now is 01:11 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration