Join Us! 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 My goal is to use vsftpd's virtual user configuration. Not the answer you're looking for? Check This Out
Password Red Hat This forum is for the discussion of Red Hat Linux. Is it at a text console? In my case, I had old crap in these files pointing to nfs mounts: /etc/auto.master /etc/auto.home stop and start autofs service /etc/init.d service autofs stop | start mount -a nek Nothing out of the ordinary.
Useradd: Cannot Create Directory In Linux
kiranos commented Apr 22, 2014 you are correct I tried again with "useradd -d /home/testing/test4/test32 johntest -m" and it didnt let me create it, I tried ubuntu aswell and no go.
I have check the permissions of useradd: it is not allowed to do anything with a directory labelled 'public_content_t', which is the label of '/var/ftp'.
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
Join Us! Jantje View Public Profile Find all posts by Jantje #8 24th October 2005, 08:26 PM giulix Offline Registered Join Date: Oct 2005 Location: CE(S)T Posts: 3,240 NOTES The FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc. thanks for your help, I appreciate it!
All the subtree will be labelled correctly. Mkdir Cannot Create Directory Permission Denied Linux i'm following a self-training Linux-course and this is part of an exercise i'm trying to make... Departing from airport before visa is valid, but arriving when it is My boss asks me to stop writing small functions and do everything in the same loop Can an object Not a member yet?
Ansible Useradd: Cannot Create Directory
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 By the way, if you do not need to have NIS and autofs running, you can just stop those services and configure the system to use local authentication (files) and home Useradd: Cannot Create Directory In Linux root root system_u:object_r:home_root_t:s0 home/ ls -Zd /somedir drwxr-xr-x. Useradd With Home Directory In Linux peter_robb View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by peter_robb 02-06-2006, 02:32 AM #4 amirzkria LQ Newbie
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 / his comment is here Register All Albums FAQ Today's Posts Search Using Fedora General support for current versions. In your case: Code: # semanage fcontext -a -e /home /somedir # restorecon -R -v /somedir __________________ :confused: Skull One View Public Profile Find all posts by Skull One #3 Join Date: Dec 2003 Last Activity: 12 June 2016, 11:03 PM EDT Location: /dev/ph Posts: 4,996 Thanks: 73 Thanked 475 Times in 437 Posts From the directory listing you supplied, it Useradd: Cannot Create Directory /opt/splunk
Already have an account? That's the right tool for the job. Reason: exra info mkudro View Public Profile Find all posts by mkudro #2 25th January 2012, 07:13 PM Skull One Offline Registered User Join Date: Jun 2010 Location: this contact form Ansible member jimi-c commented Apr 22, 2014 Yes, that does appear to be the case.
adduser is a friendlier frontend to useradd and will do things like create user directories by default. Remove User Linux Thread Tools Search this Thread Display Modes #1 23rd October 2005, 09:06 PM Jantje Offline Registered User Join Date: Oct 2005 Location: Mechelen, Belgium Age: 36 Posts: 24 share|improve this answer edited Jun 15 at 16:38 Community♦ 1 answered Nov 10 '13 at 12:44 Radu Rădeanu 79.4k24177261 +1 for mentioning /etc/skel –Joe Nov 14 '13 at 2:11
Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started
terminal=pts/0 res=success' type=ADD_USER msg=audit(1374795412.319:352): pid=881 uid=0 auid=0 ses=1 subj=unconfined_u:unconfined_r:useradd_t:s0-s0:c0.c1023 msg='op=adding user id=1000 exe="/usr/sbin/useradd" hostname=? Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for testuser Enter the new value, or press ENTER for the default Full Name : thanx for your quick reply anyway! Man Useradd Join Date Jun 2012 Posts 8 dmesg smartctl -i /dev/sda smartctl -x /dev/sda give very very weird output .
Creating user not under /home/ will cause to troubles if you want to use SELinux (and you probably want). Isn't it possible to create any homedirectory that you want? Find all posts by giulix #9 24th October 2005, 08:45 PM Jantje Offline Registered User Join Date: Oct 2005 Location: Mechelen, Belgium Age: 36 Posts: 24 good english http://softwaredevelopercertification.com/cannot-create/useradd-cannot-create-directory.php Polyglot Anagrams Robbers' Thread What Could Cause Flash Over / Arcing to Reappear on New Plugs?
mkudro View Public Profile Find all posts by mkudro #4 25th January 2012, 07:39 PM Skull One Offline Registered User Join Date: Jun 2010 Location: Lost... Jan P.S.: congratulations with your FC4 installation notes, Mr. Should I report it? You signed in with another tab or window.
Check if there is a system on your network called yp. Search for signs in dmesg and smartctl Code: dmesg smartctl -i /dev/sda smartctl -x /dev/sda You must always face the curtain with a bow. I think that this label is correct. The time now is 07:46 PM.
The plan is to have the user's home be in a separate location than the location of a normal users home directory. How good should one be to participate in PS? terminal=pts/0 res=failed ' When i turn selinux off (setenforce 0) i am able to successfully complete user creation in designated dir. Moreover, looking at the -d option: -d, --home HOME_DIR The new user will be created using HOME_DIR as the value for the user's login directory.
But when i execute: Code: useradd -b /somedir someuser I get error message: Code: useradd: cannot create directory /somedir/someuser Audit log gives me this: Quote: type=ADD_GROUP msg=audit(1327508269.955:464): user pid=0 uid=0 auid=0 Jantje View Public Profile Find all posts by Jantje #4 23rd October 2005, 09:44 PM giulix Offline Registered Join Date: Oct 2005 Location: CE(S)T Posts: 3,240 Hopefully someone