05-12-2008
From time to time, I have cause to create users with no homedirs, but in those cases, I set the homedir to /.
In your case it sounds like they do have a home dir set (like /export/home/username etc) but the directory is missing? If so, and if these home dirs are not some kind of broken attempt to create users with no home directory, then it should be fine to create them.
If you do though, I'd suggest skipping any users that have home dir paths on your root filesystem. This protects you from teh user creating a large file and interfering eith the system's functions by filling up / or some other important filesystem used by the OS.
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to capture the homedir using the ssh command and then saving it to a variable.
The results from the following command is what I need to capture to a variable:
NOTE: the value I'm getting back is also incorrect. as it seems to be getting the home dir from the local server and not the... (2 Replies)
Discussion started by: reneuend
2 Replies
2. Shell Programming and Scripting
hi..
i have one c++ pgm which run shell script.shell script reads username and password from file.This pgm check username password is correct or not.After checking this i want to send config file of respective user to other application.I made config file also.My problem is how to send this config... (1 Reply)
Discussion started by: shubhig15
1 Replies
3. UNIX and Linux Applications
hi..
i have one c++ pgm which run shell script.shell script reads username and password from file.This pgm check username password is correct or not.After checking this i want to send config file of respective user to other application.I made config file also.My problem is how to send this... (1 Reply)
Discussion started by: shubhig15
1 Replies
4. SuSE
Eclipse looks completely different when run under root compared to my user.
It's like kde wasn't setup for root upon installation.
I'm running Suse 9.3 Pro.
How do I configure root kde so that eclipse looks the same when run as user? (3 Replies)
Discussion started by: shwick2
3 Replies
5. UNIX and Linux Applications
Hello there,
First of all I tell you that this is my first postfix installation so please be patient...
I have following scenario:
fetchmail --> postfix --> amavis-new --> postfix --> exchange 2010.
Everything -except exchange ;-)- runs on an opensuse 12.1 box.
Now, I have a list of... (0 Replies)
Discussion started by: lpacor
0 Replies
6. Red Hat
Hi
Is there a direct way to apply a particular security advisory on the system.
Presently we have certain security advisories to be applied which require installation of multiple rpms and their dependencies.
These rpms as listed in the security advisory also mention that they have been... (0 Replies)
Discussion started by: Sapanvas
0 Replies
LEARN ABOUT OSX
createhomedir
createhomedir(1) BSD General Commands Manual createhomedir(1)
NAME
createhomedir -- create and populate home directories on the local computer.
SYNOPSIS
createhomedir [-scbalh] [-n directoryDomainName] [-u username]
DESCRIPTION
createhomedir provides several options for creating and populating home directories.
OPTIONS
-s creates home directories for server home paths only (default).
-c creates home directories for local home paths only.
-b creates home directories for both server and local home paths.
-a creates home directories for users defined in all directory domains of the server's search path.
-l creates home directories for users defined in the local directory domain.
-n directoryDomainName
creates home directories for users defined in a specific directory domain in the server's search path.
-u username
creates a home directory for a specific user defined in the domain(s) identified in the -a, -l, or -n parameter. If you omit the -a,
-l, and -n parameters when you use the -u parameter, -a is assumed.
-i reads username list from standard input and creates specified home directories. Each username should be on its own line.
-h usage help.
FILES
/usr/sbin/createhomedir location of tool
CAVEATS
When using the -a option, search limits of various directory servers (such as Open Directory or Active Directory) can prevent all possible
home directories from being created. In this case, you may need to specify the usernames explicitly.
Mac OS X June 1, 2019 Mac OS X