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 Thanks! –Kent Boogaart Jul 14 '12 at 21:23 add a comment| up vote 3 down vote Looks like ownership on your home directory is messed up. 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 Assigning only part of a string to a variable in bash Find the "unwrapped size" of a list How does Gandalf end up on the roof of Isengard? weblink
I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. my user account is supposed to be the administrator, and all the user privliges are checked. Using a GUI login prompt? Last edited by peter_robb; 02-05-2006 at 09:38 AM.
jimi-c closed this Apr 22, 2014 Sign up for free to join this conversation on GitHub. View 1 Replies View Related Ubuntu :: Create Shortcut To Media Folder In Home Directory? Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. Browse other questions tagged server security headless or ask your own question.
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. are. Jan 20, 2010 Is it possible to restrict users to their home directories and allow admins to have different home directories? Linux Useradd Home Directory Not Created Close Sign In Print Article Products Article Languages Subscribe to this Article Manage your Subscriptions Problem When a system is hardened to prevent user creation from the command line, the
must have been one of those id10t errors I hear so much about. 04-08-2011 #8 jayd512 View Profile View Forum Posts Private Message View Articles Administrator Join Date Feb 2008 Location Mkdir Cannot Create Directory Permission Denied Linux Find all posts by Corona688 #4 10-22-2013 spider_fingers Registered User Join Date: Sep 2013 Last Activity: 14 April 2014, 3:59 PM EDT Location: Saint-Petersburg, Russia Posts: 6 Thanks: Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. but just for completeness: Code: [[email protected] ~]# ls -lad /home drwxr-xr-x. 2 root root 6 Oct 21 16:20 /home [[email protected] ~]# ls -la /home/deleteme -rw-r--r--. 1 root root 0 Oct 21
Perhaps adding a note to the createhome option regarding the parent directory existing on certain platforms might be useful. there is a firewall on both the sides. Useradd: Cannot Create Directory In Linux View 4 Replies View Related Server :: [ERROR] Failed To Create Directory (/home/testuser/PDF) May 12, 2011 I'm trying to build a cups server (with cups-pdf) and it's not printing (creating) the Useradd: Cannot Create Directory /opt/splunk a) this is not what I'm trying to do, just the folder for my user and b) this would mean formatting the external drive to extX format, which just wouldn't work
Please keep it on the public boards. have a peek at these guys I could create user account from 389-console. Or you can do the same with just one command: chmod u+w ~ You don't even need sudo according to my tests. 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. Useradd Cannot Create Directory Home Oracle
useradd has been modified on Fedora: I seem to remember that on Solaris, for instance, that used to work... __________________ Asus K55VD, i5 3230M - Productivity/Programming (F24) Asus M32CD - i7-6700, Actually, am wondering whether the upgrade had something to do with this... –Kent Boogaart Jul 14 '12 at 21:23 add a comment| 3 Answers 3 active oldest votes up vote 7 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 check over here Marking this thread [SOLVED] for posterity.
What I was hoping to do is create a shortcut within the Home Directory which takes you straight to the Media folder where usb is mounted. Useradd With Home Directory View 1 Replies View Related Fedora :: Using SSH - Could Not Chdir To Home Directory /home/adahaj: Permission Denied Jul 21, 2009 I have a strange problem when I do SSH Email Address (Optional) Your feedback has been submitted successfully!
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? How do I get this error to stop so I can add new users? 04-06-2011 #2 meton_magis View Profile View Forum Posts Private Message View Articles Linux Enthusiast Join Date Oct 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 Could Not Chdir To Home Directory I then tried to touch a file in the backups folder but no such luck.
While creating samba account i tried to give netstat command & i saw it is trying to make a connection to the Unix Server at US, but the connection is not View 1 Replies View Related Ubuntu :: Create Ftp Users With Assigned Directory? I want to chroot my sftponly users into their home directory but I want to let them have write access to their upload/ folder. this content So I have navigate up a couple of times, then find the /media directory where the USB stick has been mounted and so on.
lrwxrwxrwx 1 administrator administrator 56 Sep 11 2011 Access-Your-Private-Data.desktop -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop lrwxrwxrwx 1 administrator administrator 39 Sep 11 2011 .ecryptfs -> /home/.ecryptfs/administrator/.ecryptfs lrwxrwxrwx 1 administrator administrator 38 Sep 11 2011 .Private We had a dedicated link from our office to US office. Join Date Mar 2009 Posts 13 Can you paste the output of the below command. Is adding the ‘tbl’ prefix to table names really a problem?
View 1 Replies View Related Fedora :: How To Change Users /home Jul 7, 2011 Right i did a clean install of Fc15 and used a custom layout with separate /home 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. Forum Operations by The UNIX and Linux Forums drwxr-xr-x 3 root root 4096 May 28 15:39 ..
KennyCason Security 0 11-30-2011 03:28 PM VMDB Failure" followed by "Unable to open snapshot file" s_linux SuSE 0 02-10-2009 12:01 PM Want to create new users without using "useradd" command and I'm logged in as administrator via SSH. If you have any further questions regarding this, please let us know. it is showing the error message as below Failed to initialise SAM_ACCOUNT for user
I have done a little research and all I can find is how to have the /home directory on another partition. If the setting are not correct, it can prevent you from creating a home directory for your user. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They are friendlier front ends to the low level tools like useradd, groupadd and usermod programs, by default choosing Debian policy conformant UID and GID values, creating a home directory with
Ubuntu :: Create Ftp Users With Assigned Directory?