If you'd like to contribute content, let us know. amirzkria View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by amirzkria 05-17-2011, 03:52 PM #5 nek LQ Newbie Registered: Dec 2006 Posts: more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed daviddoria Using Fedora 6 20th June 2008 03:56 PM unable to create any directory that uses numbers as the directory name fed.linuxgossip Using Fedora 19 8th October 2007 03:51 PM Current navigate here
How to stop NPCs from picking up dropped items Is there a way to block an elected President from entering office? http://danwalsh.livejournal.com/27571.html rhatdan View Public Profile Find all posts by rhatdan #8 26th July 2013, 12:41 AM ScottyGolden Offline Registered User Join Date: Jul 2013 Location: US Posts: 1 You must always face the curtain with a bow. kiranos commented Apr 22, 2014 I created a test centos server and its the same there: [[email protected] ~]# cat /etc/issue CentOS Linux release 6.0 (Final) Kernel \r on an \m [[email protected]
This is used with fcontext. Top gerald_clark Posts: 10595 Joined: 2005/08/05 15:19:54 Location: Northern Illinois, USA [SOLVED] adduser: cannot create directory /home/user Quote Postby gerald_clark » 2011/10/27 14:35:00 drwx-------- 25 root admin 4096 October 27 03:40 Each user's subdirectory in /home should be owned by their userid:group. Find all posts by fpmurphy
From man useradd: useradd is a low level utility for adding users. I can create the subfolder before with command module. share|improve this answer answered Nov 13 '13 at 20:10 KevinC 1139 Good advice, thanks. –tchakravarty Nov 13 '13 at 22:17 add a comment| up vote 3 down vote Add Useradd Home Directory Not Created So, you have to create it manually.
Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Ansible Useradd: Cannot Create Directory Any help would be appreciated. The context labeling for the target subtree is made equivalent to that defined for the source. Posts: 1,300 Re: SElinux denies creating home dir You do not have denial messages in the log, probably because of a 'dontaudit' rule.
Generally keep away from useradd, use adduser instead. Mkdir Cannot Create Directory Permission Denied Linux Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Posts: 1,300 Re: SElinux denies creating home dir I think it is because the home directory is quite special, and you need to tell selinux that /somedir is equal (in the C# TBB updating metadata value Build me a brick wall!
whpsh Servers & Networking 10 23rd August 2012 08:40 PM SELinux denies Picasa Memory AllanPen Using Fedora 12 26th July 2010 10:38 PM selinux denies access to a directory mbanwi Linux Top TrevorH Forum Moderator Posts: 17097 Joined: 2009/09/24 10:40:56 Location: Brighton, UK Re: adduser: cannot create directory /home/user Quote Postby TrevorH » 2011/10/27 10:48:51 I have also tried chown -R user Useradd: Cannot Create Directory In Linux Register All Albums FAQ Today's Posts Search Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Useradd With Home Directory In Linux Thanks!
Search this Thread 02-04-2006, 07:38 AM #1 amirzkria LQ Newbie Registered: Aug 2004 Posts: 3 Rep: useradd: cannot create directory /home/ I am login as root and when I check over here All the subtree will be labelled correctly. I would like to create a home directory for the user and also give them root provileges. It will create the home directory. Useradd: Cannot Create Directory /opt/splunk
What am I missing? Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest Last edited by peter_robb; 02-05-2006 at 09:38 AM. his comment is here Perhaps adding a note to the createhome option regarding the parent directory existing on certain platforms might be useful.
To start viewing messages, select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now Remove User Linux Is it at a text console? Click Here to receive this Complete Guide absolutely free.
How can I save a file to a new location from inside Vim? They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. You signed in with another tab or window. Man Useradd Powered by vBulletin Version 4.2.2Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
However, when I login as the new user, it complains that there is no home directory. Using a GUI login prompt? strange problem though! QGIS Print composer scale problems What Could Cause Flash Over / Arcing to Reappear on New Plugs?
When I try to login to another account beside root I get this error.Could not chdir to home directory /home/user : permission denied/bin/bash: Permission deniedThanks Top TrevorH Forum Moderator Posts: 17097 cant find a definit answer on that though. Reload to refresh your session. Can you manually mkdir /usr/myapp at that point in your %pre script? –Etan Reisner Jan 27 '15 at 19:40 If I do a ls -l /usr I get a
Click here to see the post LQ members have rated as the most helpful post in this thread. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ Is there an actual army in 1984?