Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. i've found many examples on forums where it was possible to have a homedirectory with more than one level. but i am writing a shell script using useradd command only –rajcoumar Feb 1 '15 at 11:36 @rajcoumar OK, then you have to either create everything manually, or just They were a fantastic help for a Linux-newbie like me! have a peek at these guys
Top TrevorH Forum Moderator Posts: 17096 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 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. useradd jdoe 2. 3. You may have to register before you can post: click the register link above to proceed. http://www.centos.org/forums/viewtopic.php?t=17882
The time now is 09:44 AM. - Contact Us - UNIX & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top Comment 5 Branislav Blaškovič 2013-11-21 05:29:02 EST I've forgot to add (to comment #4): # rpm -qf `which useradd` shadow-utils-184.108.40.206-9.el7.x86_64 # rpm -q selinux-policy selinux-policy-3.12.1-102.el7.noarch Comment 6 Tomas Mraz 2013-11-27 04:34:16 Is Area of a circle always irrational What is the significance of the robot in the sand? Join Date Jun 2012 Posts 8 Code: [[email protected] ~]# mount /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts
It stays the same default directory /home/lies. If you insist on using the wrong tool, you will have to manually create the home directory and the user groups and copy the default files from /etc/skel etc., etc. Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Account Maintenance My Profile Notifications Help Log Useradd: Cannot Create Directory /opt/splunk 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 :
The time now is 01:44 PM. Ansible Useradd Cannot Create Directory C# TBB updating metadata value Wrong way on a bike lane? Reply With Quote 06-08-2012 #7 vishal84 View Profile View Forum Posts Private Message View Articles Just Joined! http://www.linuxforums.org/forum/red-hat-fedora-linux/189467-useradd-cannot-create-directory-home.html Top xeugene123x Posts: 14 Joined: 2011/10/27 06:22:07 Contact: Contact xeugene123x Website Re: adduser: cannot create directory /home/user Quote Postby xeugene123x » 2011/10/27 17:33:44 got it to work!It was my directory /I
If the solution does not work for you, open a new bug report. Useradd With Home Directory i'm following a self-training Linux-course and this is part of an exercise i'm trying to make... Remove advertisements Sponsored Links oky View Public Profile Find all posts by oky #5 04-21-2011 ankurk Registered User Join Date: Feb 2009 Last Activity: 16 August 2014, 1:37 Are you new to LinuxQuestions.org?
setenforce 1 2. http://forums.fedoraforum.org/showthread.php?t=82444 If the setting are not correct, it can prevent you from creating a home directory for your user. Useradd: Cannot Create Directory In Linux IMHO it is due to its more tightened restrictions by SELinux policy. Useradd Home Directory Not Created Or over ssh?
Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. http://rss4medics.com/cannot-create/sabnzbd-error-cannot-create-directory.php Marking this thread [SOLVED] for posterity. Can I use that to take out what he owes me? Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. Useradd Cannot Create Directory Home Oracle
Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search Comment 2 Eryu Guan 2013-10-03 05:26:58 EDT # setenforce 1 # useradd testuser useradd: cannot create directory /home/testuser # echo $? 12 # tail /var/log/audit/audit.log type=ADD_GROUP msg=audit(1380792255.158:296): pid=24483 uid=0 auid=0 ses=1 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 check my blog At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'.
Current versions instead create the .../var/lib/stap-server directory within the RPM, so useradd's constraints are not applied. Mkdir Cannot Create Directory Permission Denied Linux It's working OK on RHEL-6. 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.
addr=? Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ 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? Remove User Linux Isn't it possible to create any homedirectory that you want?
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 Comment 1 Miroslav Grepl 2013-10-03 05:01:33 EDT What AVC msgs are you getting in permissive mode? Please visit this page to clear all LQ-related cookies. http://rss4medics.com/cannot-create/selenium-cannot-create-profile-directory.php Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post Reply Print view 11 posts 1 2 Next Return to “CentOS
Home | New | Search | [?] | Reports | Requests | Help | NewAccount | Log In [x] | Forgot Password Login: [x] | Report Bugzilla Bug Legal Red Hat Perhaps you can post the output of Code: Select allls -la /home
ls -laZ /home
Top xeugene123x Posts: 14 Joined: 2011/10/27 06:22:07 Contact: Contact xeugene123x Website Re: adduser: cannot create That doesn't work: if i change the homedirectory there, i can add an extra file 'level' and he doesn't give an error message, but the directory is not created in real. Finley.
Having a problem logging in? Reply With Quote 06-08-2012 #9 vishal84 View Profile View Forum Posts Private Message View Articles Just Joined! Home | New | Search | [?] | Reports | Requests | Help | NewAccount | Log In [x] | Forgot Password Login: [x] | Report Bugzilla Bug Legal Red Hat Can Trump undo the UN climate change agreement?
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 It means that the /home directories are Powered by vBulletin Version 4.2.2Copyright ©2000 - 2016, Jelsoft Enterprises Ltd. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Note You need to log in before you can comment on or make changes to this bug. Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results.
How do I deal with my current employer not respecting my decision to leave? CentOS The Community ENTerprise Operating System Skip to content Search Advanced search Quick links Unanswered posts Active topics Search The team FAQ Login Register Board index CentOS 5 CentOS 5 - If you'd like to contribute content, let us know. Current Customers and Partners Log in for full access Log In New to Red Hat?
Learn more about Red Hat subscriptions Product(s) Red Hat Enterprise Linux Quick Links Downloads Subscriptions Support Cases Customer Service Product Documentation Help Contact Us Log-in Assistance Accessibility Browser Support Policy Site Register All Albums FAQ Today's Posts Search Using Fedora General support for current versions. Join our community today! Thank you.
best regares Amir Mohammed Abdalla Network administrator 00249912616158 E.mail: [email protected] 2 members found this post helpful. Reply With Quote 06-08-2012 #5 vishal84 View Profile View Forum Posts Private Message View Articles Just Joined! I tried searching forum for this problem , but could not find any post regarding this . Bug1013968 - useradd: cannot set SELinux context for home directory Summary: useradd: cannot set SELinux context for home directory Status: CLOSED NOTABUG Aliases: None Product: Red Hat Enterprise Linux 7 Classification: