Re: WinXP username with spaces --> wmaker ko

2003-04-06 Thread Andrew Markebo
/ 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

Re: WinXP username with spaces --> wmaker ko

2003-04-06 Thread Andrew Markebo
/ 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.

RE: WinXP username with spaces --> wmaker ko

2003-04-05 Thread Alan Miles
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: >

RE: WinXP username with spaces --> wmaker ko

2003-04-05 Thread Igor Pechtchanski
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

Re: WinXP username with spaces --> wmaker ko

2003-04-05 Thread Andrew Markebo
| |> 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

RE: WinXP username with spaces --> wmaker ko

2003-04-05 Thread Alan Miles
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.

RE: WinXP username with spaces --> wmaker ko

2003-04-05 Thread Igor Pechtchanski
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}")

RE: WinXP username with spaces --> wmaker ko

2003-04-05 Thread Alan Miles
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

RE: WinXP username with spaces --> wmaker ko

2003-04-05 Thread Igor Pechtchanski
{USER}" -v > newUser="${ModUserName}" -v newUserHomeDir="${ModHome}" ' BEGIN {OFS=":" ; } $1 ~ > oldUser {$1=newUser ; $6=newUserHomeDir; } {print $0 ; } ' > "${ThePasswordFile}" > fi > > Hope this helps. > > A

RE: WinXP username with spaces --> wmaker ko

2003-04-05 Thread Alan Miles
;${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

WinXP username with spaces --> wmaker ko

2003-04-04 Thread kaio
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