Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   adding users with different home directory ( /1home instead of /home) (http://www.linux-archive.org/fedora-user/554134-adding-users-different-home-directory-1home-instead-home.html)

Jatin K 07-19-2011 11:57 AM

adding users with different home directory ( /1home instead of /home)
 
Dear all

I'm RHEL 6 , trying to add a user with following command

useradd -d /1home user1
passwd user1


if I try ssh user1@localhost , following error displayed on the screen

Could not chdir to home directory /1home/user1: Permission denied , but
user still able to login and prompts displayed [user1@testsrv /]$
instead of [user1@testsrv ~]$ ( user not getting its home directory.)
-------------following is the reference related to home directory
permission and security---------------
directory permission

ls -ld /1home

drwxr-xr-x. 4 root root 4096 Jul 19 10:43 /1home

-------------------------------------
SELinux Context

ls -ldZ /1home

drwxr-xr-x. root root system_u:object_r:home_root_t:s0 /1home/

---------------------------------------------

what could be the problem ???

--
v
/(_)
^ ^ Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


All times are GMT. The time now is 09:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.