Error Creating User Home In Directory
Contents |
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 answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about error creating user home in directory sql developer hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question error creating directory /applications/daz3d _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's error creating directory permission denied how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Home directory not being created up vote 39 down vote favorite 12 I am trying to understand system error creating directory read-only file system administration on Ubuntu. So, as an example, I create a dummy user using sudo useradd -d /home/linda linda and passwd to create the password. I check that an entry has been made using cat /etc/passwd linda:x:1004:1004::/home/linda:/bin/sh However, when I su - linda, I get No directory, logging in with HOME=/ and indeed, no home directory has been created. What am I missing? Thanks. command-line bash users home-directory share|improve this question edited Apr 10 '15 at 16:06 asked Nov 10 '13
Error Creating Directory Permission Denied Raspberry
at 10:48 tchakravarty 3671411 add a comment| 8 Answers 8 active oldest votes up vote 47 down vote accepted man useradd states: useradd is a low level utility for adding users. On Debian, administrators should usually use adduser(8) instead. Note the low level utility To add a user, use adduser instead. It's a more high-level utility. 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. The default is to append the LOGIN name to BASE_DIR and use that as the login directory name. The directory HOME_DIR does not have to exist but will not be created if it is missing. The directory will not be created if it is missing. Generally keep away from useradd, use adduser instead. share|improve this answer edited Sep 17 at 6:38 David Foerster 10.6k93052 answered Nov 10 '13 at 11:03 gniourf_gniourf 2,5821122 In the OP's defense, when I read "On Debian,", I thought it meant on Debian as opposed to Ubuntu distros. 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 the created home directory only contains a file examples.desktop and nothing else. How can I get Ubuntu to create the default folders Desktop, Downloads and so on? (I'm logged in via ssh) –mcExcha
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the
Error Creating Directory Input/output Error
company Business Learn more about hiring developers or posting ads with us Unix & Linux error creating directory /opt/lampp/share/openssl/man Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of 450 internal error creating the directory Linux, FreeBSD and other Un*x-like operating systems. 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 http://askubuntu.com/questions/374870/home-directory-not-being-created top How can I create a new user but with a home directory that already exists? up vote 5 down vote favorite 1 Let's say I have a user called panos and he has his home directory located at /home/panos. Then, I create a another user called Tom: adduser Tom It creates a user Tom who has home dir: /home/Tom The question is: what if I would like to create a new user and give http://unix.stackexchange.com/questions/137147/how-can-i-create-a-new-user-but-with-a-home-directory-that-already-exists him as home dir the home dir of another user. For example, let's create the user Jerry and pass him as his home dir the home dir of user Panos: adduser -d /home/panos Jerry but there's an error saying: adduser: warning: the home directory already exists. Not copying any file from skel directory into it. However, if you take a look at the /etc/passwd file: tail -n 3 /etc/passwd anthony:x:501:501::/home/anthony:/bin/bash panos:x:502:502::/home/panos:/bin/bash Jerry:x:503:503::/home/panos:/bin/bash it seems it worked. But when I tried to log in as Jerry: [root@LinuxAcademy ~]# su Jerry bash-4.1$ bash: /home/panos/.bashrc: Permission denied bash-4.1$ it prevents me from loggin in as Jerry and it also changes my prompt (the PS1). So, how can I do this? Is it possible? users home share|improve this question edited Jun 14 '14 at 20:48 Braiam 16.9k955100 asked Jun 14 '14 at 19:40 drpaneas 460719 1 Do you intend for Jerry and panos to share a home directory? Or will you be disabling/deleting the panos account? –steeldriver Jun 14 '14 at 19:49 yes I indent for Jeery and panos to share the same home directory. I don't want to delete/disable any of them. –drpaneas Jun 14 '14 at 21:05 You should note that this means that any changes either of them applies to their environment (editor preferences, desktop wallpaper, startup applications, .bashrc
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris [SOLVED] useradd not creating home directory User Name Remember Me? Password Solaris / OpenSolaris This forum is for the discussion of Solaris and http://www.linuxquestions.org/questions/solaris-opensolaris-20/useradd-not-creating-home-directory-785146/ OpenSolaris. General Sun, SunOS and Sparc related questions also go here. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is error creating completely disabled once you log in. Are you new to LinuxQuestions.org? 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. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview error creating directory of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. 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. Click Here to receive this Complete Guide absolutely free. Search this Thread 01-27-2010, 02:01 PM #1 magnusprime LQ Newbie Registered: Aug 2003 Posts: 10 Rep: useradd not creating home directory I have searched google, these threads and read the useradd man page, but I am still having issues with creating a user and getting their home directory created at the same time. This is on Solaris 10 64 bit SPARC. Command I am running as root Code: useradd -m -d /home/user001 -s /bin/bash user001 I am getting this error Code: UX: useradd: ERROR: unable to create the home directory: Operation not applicable I tried making the /home directory write-able as its currently only readable, but that did not work either, and gave the following error Code: chmod: WARNING: can't change /home Id