/ Andrew Markebo <[EMAIL PROTECTED]> wrote:
| / Andrew Markebo <[EMAIL PROTECTED]> wrote:
| | [...]
| | What happens if you add the escape-character to /etc/passwd ?
|
| Tried it myself. worked a little, while like ssh threw in the "\" as
| part of the name.. so if someone should escape it.. it pro
/ Andrew Markebo <[EMAIL PROTECTED]> wrote:
| [...]
| What happens if you add the escape-character to /etc/passwd ?
Tried it myself. worked a little, while like ssh threw in the "\" as
part of the name.. so if someone should escape it.. it probably is the
guy setting the environment variable HOME.
Igor,
Will do. Thanks for your input.
Alan
-Original Message-
From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]
Sent: April 5, 2003 14:03
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: WinXP username with spaces --> wmaker ko
On Sat, 5 Apr 2003, Alan Miles wrote:
>
On Sat, 5 Apr 2003, Alan Miles wrote:
> Igor,
>
> I appreciate your input -
>
> >> you can actually *have* two users, e.g., "Alan Miles" and
> >> "Alan_Miles",
>
> That possibility had not occurred to me - thanks for pointing that flaw out.
>
> Since, this for me, is a problem at home, and not at
|
|> cp -a /etc/skel/. $HOME
|
Hi!
Just a quick thought, any special reason HOME doesn't contain a
"legal" path, escaped, as it probably (?) should be on a real unix
system?
(Escaped = /home/Alan\ Miles/ instead of /home/Alan Miles/)
What happens if you add the escape-character to /etc/passwd
Igor,
I appreciate your input -
>> you can actually *have* two users, e.g., "Alan Miles" and
>> "Alan_Miles",
That possibility had not occurred to me - thanks for pointing that flaw out.
Since, this for me, is a problem at home, and not at work -I would have to
investigate this in my own time.
serName="$(/usr/bin/echo "${USER}" | /usr/bin/sed -e 's/ /_/g')"
> >
> > ...
> >
> > ModHomeUserName="$(/usr/bin/basename "${HOME}" | /usr/bin/sed -e 's/
> /_/g')"
> > ModHomeUserDirName="$(/usr/bin/dirname "${HOME}")
plicated messages - no problem.
Alan
-----Original Message-
From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]
Sent: April 5, 2003 10:53
To: [EMAIL PROTECTED]
Cc: kaio; [EMAIL PROTECTED]
Subject: RE: WinXP username with spaces --> wmaker ko
Alan,
The "fix" below has a few problems
{USER}" -v
> newUser="${ModUserName}" -v newUserHomeDir="${ModHome}" ' BEGIN {OFS=":" ; } $1 ~
> oldUser {$1=newUser ; $6=newUserHomeDir; } {print $0 ; } ' > "${ThePasswordFile}"
> fi
>
> Hope this helps.
>
> A
;${ModUserName}" -v newUserHomeDir="${ModHome}" ' BEGIN {OFS=":" ; }
$1 ~ oldUser {$1=newUser ; $6=newUserHomeDir; } {print $0 ; } ' >
"${ThePasswordFile}"
fi
Hope this helps.
Alan
-Original Message-
From: kaio [mailto:[EMAIL PROTECTED]
Sen
i have my administrator user named with a space on WInXP.
cygwin installation is ok, but windowmaker don't install: seems that the
space generates a new parameter in installation commands!
in fact, wmaker installation creates a new dir in /home/ with the first half
of username!
--
Unsubscribe
11 matches
Mail list logo