$HOME name
Alma J Wetzker
almaw
Wed Jun 29 11:16:02 PDT 2005
Man-wai Chang wrote:
> in /etc/passwd, can I have a home directory name that contains the space
> character? How could I specify in /etc/passwd? Prefixing the space with
> "\" didn't work. I think I needed to use something like \032 to do it...
Can you double quote a parameter in passwd? For most of the windows
compatible stuff I do, double quoting does the trick for directories
with spaces.
FWIW, most *nix systems despise file/directory names with spaces.
Things may only work sporadically, or not at all. If there is any way
to avoid spaces, do it. Being creative on the avoidance end will save
much inventing of cuss words for the life of that system (or user).
-- Alma
More information about the Linux-users
mailing list