If you created the directory manually as root then it's probably owned by root and the user has no access to it - you'd need to chown -R it to the Related Evolution of End User Computing--Evolving to Better Meet ... Mohammed Tanvir replied Aug 20, 2006 Hi You have problem with your root shell account some time I got same its generally with solaris 10 01/06, but i step you can The directory HOME_DIR does not have to exist but will not be created if it is missing. navigate here
Having a problem logging in? If you need to use adduser you probably need the -b option together with the -d option! drwxr-xr-x 30 root root 4096 Mar 31 00:09 . What is this line of counties voting for the Democratic party in the 2016 elections?
I would like to create a home directory for the user and also give them root provileges. 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] useradd command not creating home directory Rohit Thakral asked Jul 14, 2006 | Replies (11) Hi all, The useradd command is not creating home directory but creates a user account. We recommend upgrading to the latest Safari, Google Chrome, or Firefox.
addr=? Actual results: useradd new user failed useradd: cannot set SELinux context for home directory /mnt/testarea/ltp-p8bV7kK7Nq/tacl/mount-ext3/acltest1 Could not add test user acltest1. useradd -u 123 -g 12 -d /export/home -m rohit Suppose if using autofs, you need to create an directory Top This thread has been closed due to inactivity. Useradd Cannot Create Directory Home Oracle Using a GUI login prompt?
Is there a way to block an elected President from entering office? Register All Albums FAQ Today's Posts Search Using Fedora General support for current versions. share|improve this answer edited Jun 8 '15 at 8:21 David Foerster 11.1k93154 answered Jun 8 '15 at 6:43 kavin 311 It worked for me. Amir Mohammed Abdalla Network administrator 00249912616158 E.mail: [email protected] amirzkria View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by amirzkria 02-05-2006, 09:37 AM
Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Mkdir Cannot Create Directory Permission Denied Linux 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 Apurva Gaglani 09323545666 Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page...
Comment 7 Miroslav Grepl 2013-11-27 04:58:08 EST If you create # mkdir /tmp/new_home and then setup an equivalence for this directory using semanage instead of chcon, does it work then? You must always face the curtain with a bow. Ansible Useradd: Cannot Create Directory Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ Useradd Home Directory Not Created If you need to reset your password, click here.
and "-m" is very useful flag or option in useradd command.. http://bovbjerg.net/cannot-create/useradd-cannot-create-directory-u01-oracle.php What is the significance of the robot in the sand? Creating home directory `/home/testuser' ... share|improve this answer edited Jan 10 '15 at 18:43 Luís de Sousa 6,213153666 answered Jan 10 '15 at 16:32 beanhead 6111 add a comment| up vote 6 down vote According with Useradd: Cannot Create Directory /opt/splunk
I can create the subfolder before with command module. Remove User Linux How to handle a common misconception when writing a Master's thesis? Reply With Quote Quick Navigation Red Hat / Fedora Linux Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Linux Forums Linux Forums Site News /
share|improve this answer answered Jan 31 '15 at 16:21 terdon♦ 88.5k17154258 i dont want use adduser command. –rajcoumar Jan 31 '15 at 17:56 3 @rajcoumar umm, why? Find all posts by giulix #5 23rd October 2005, 09:53 PM Jantje Offline Registered User Join Date: Oct 2005 Location: Mechelen, Belgium Age: 36 Posts: 24 i saw thanks for your help, I appreciate it! Man Useradd Thanks!
Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... Are other users listed in /etc/passwd? users useradd share|improve this question edited Jan 31 '15 at 16:24 terdon♦ 88.5k17154258 asked Jan 31 '15 at 14:35 rajcoumar 2744725 I answered the main question about creating a http://bovbjerg.net/cannot-create/useradd-cannot-create-directory-var-www-path-to-your-dir.php addr=?
Home | New | Search | [?] | Reports | Requests | Help | NewAccount | Log In [x] | Forgot Password Login: [x] | Report Bugzilla Bug Legal addr=? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. to [USER module] cant create a home folder cant create a home folder if path doesnt end with / Apr 8, 2014 kiranos changed the title from [USER module] cant create
I have set the chmod to 777 on both files but it's not I have also tried chown -R user /homeI still seem to be getting the same errors? Start a new thread here 1090595 Related Discussions User creation in solaris 9 Adding Multiple User On Unix Server Adding new user Solaris 10 User creation Adding a user User Account How can I get Ubuntu to create the default folders Desktop, Downloads and so on? (I'm logged in via ssh) –mcExchange Aug 13 '15 at 11:35 add a comment| up vote Does Intel sell CPUs in ribbons?
On Debian, administrators should usually use adduser(8) instead. Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... learn linux and unix commands - unix shell scripting Unable You signed in with another tab or window. share|improve this answer answered Nov 10 '13 at 11:05 Rinzwind 143k18279387 add a comment| up vote 0 down vote If /home/linda is not present before you add linda as a user,
I am aware that Ubuntu is built on Debian but thought that a distinction was being made. –Keith Bennett May 15 '15 at 16:11 1 I used adduser but still Jan P.S.: congratulations with your FC4 installation notes, Mr.