LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2014, 09:39 AM   #1
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Rep: Reputation: 1
no user dir no bash shell for new users ubuntu 12.04


hi all,

i installed 12.04 precise, everything fine, but when i tried to create user it is not creating home dir , even shell also shows like /bash/sh, in passwd file. even i create folder manuall i cant run ll command , i don't know how this is happending, i installed only ubuntu server. am i missing any packages, but the user i created during the installation has home dir and bash shell and .bash_profile etc .. but why the uses im creating now hav issue. please help me.

and also if i hit startx it is taking me to gnome as guest, i can see all my users but i can login in if click on user screen goes bland for a couple of seconds and again takes me back to guest.

thanks in advance.

Last edited by Gil@LQ; 03-06-2014 at 09:56 AM.
 
Old 03-07-2014, 01:47 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,080

Rep: Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435
Hi,

what method are you using to create the user? Eg useradd, adduser, a gui?

Evo2.
 
Old 03-07-2014, 03:13 AM   #3
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Original Poster
Rep: Reputation: 1
hi evo2,

im using, useradd. I manually created user and copied skel folder to it. why the hell its happening any pkg missing ?

thanks
 
Old 03-07-2014, 03:33 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,080

Rep: Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435
Hi,
Quote:
Originally Posted by Gil@LQ View Post
im using, useradd. I manually created user and copied skel folder to it. why the hell its happening any pkg missing ?
What you describe seems to be the expected behaviour for useradd. Check the man page and you'll see that you'd be better to use adduser.

Evo2.
 
  


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
Does the mysql user need bash shell? abefroman Linux - Server 2 10-02-2010 02:50 PM
LXer: Bash Shell Keyboard Shortcuts For Linux Users LXer Syndicated Linux News 0 04-01-2007 04:16 PM
How to use bash shell to create many users Linx2003 Linux - Software 1 09-05-2003 12:14 AM
How to use bash shell to create many users Linx2003 Programming 7 09-02-2003 02:00 PM
How to use bash shell to create many users Linx2003 Linux - General 1 09-02-2003 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:43 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
Open Source Consulting | Domain Registration