LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-07-2012, 06:13 AM   #1
sunrised24
LQ Newbie
 
Registered: Jan 2012
Location: Chennai,INDIA
Distribution: Centos5.4,SuseLinux,Rhel5,Ubuntu 10.04
Posts: 27

Rep: Reputation: Disabled
User does int getting home directory in root home in ubuntu 10.04 lucid lynx


Hi
Im creating a user but i could int find the user home directory in root.i had created user rsales1 rsales2 but i could int find the user home directory in /home of root ,Can anyone help me how can i solve it .I tring to configure pub key attentication for user test but i could int find the user home directory.

Quote:

root@docs:~# su - rsales1
No directory, logging in with HOME=/
rsales1@docs:/$
root@docs:~# cd /home/
root@docs:/home# ls
ecare
root@docs:/home#

wint:x:1000:1000:ecare,,,:/home/wint:/bin/bash
sshd:x:115:65534::/var/run/sshd:/usr/sbin/nologin
mysql:x:116:124:MySQL Server,,,:/var/lib/mysql:/bin/false
postgres:x:1001:1001::/home/postgres:/bin/sh
smmta:x:117:125:Mail Transfer Agent,,,:/var/lib/sendmail:/bin/false
smmsp:x:118:126:Mail Submission Program,,,:/var/lib/sendmail:/bin/false
mailer:x:1002:1002::/home/mailer:/bin/sh
bind:x:119:127::/var/cache/bind:/bin/false
test:x:1003:1003:test,,,:/home/test:/bin/bash
rsales1:x:1004:1004::/home/rsales1:/bin/bash
rsales2:x:1005:1005::/home/rsales2:/bin/bash
root@docs:~# passwd test
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Last edited by sunrised24; 03-07-2012 at 06:32 AM.
 
Old 03-07-2012, 07:51 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
Do you have files under /etc/skel? those should be copied on creating a new user. That's also presuming that the request was made for the home dir to be created, which *should* be default behaviour, but can be explicitly done using the -m option
 
Old 03-07-2012, 10:21 AM   #3
sunrised24
LQ Newbie
 
Registered: Jan 2012
Location: Chennai,INDIA
Distribution: Centos5.4,SuseLinux,Rhel5,Ubuntu 10.04
Posts: 27

Original Poster
Rep: Reputation: Disabled
Hi,
i just find skel file .I manually created a home folder in /rot/home/rsales1.Whether it wright one .

root@x-desktop:~# cd /etc/skel/
root@x-desktop:/etc/skel# ls
examples.desktop
root@ecare-desktop:/etc/skel#
 
  


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
How to set root user under home directory ? mohgam Linux - Newbie 7 01-12-2012 09:10 AM
[SOLVED] 'Could not chdir to home directory /home/[user]: Permission denied' arashi256 Linux - Newbie 25 11-11-2011 10:29 AM
User Home Directory now owned bt Root AndeAnderson Linux - Newbie 4 10-09-2009 04:52 PM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM


All times are GMT -5. The time now is 02:12 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration