|
|
In article <d5t9oh$d8$1@xxxxxxxxxxxxxxxxxxxx>, Douglas O'Neal wrote:
> Paul wrote:
>> harryguy082589@xxxxxxxxx wrote:
>>
>>> HI,
>>>
>>> I'm setting up a samba sever (I'm not sure which version, but I think
>>> it's the newest, I just ran up2date- if you tell me how to find the
>>> version # I will) on Fedora Core 3 to work on a small home network. I
>>> have a computer with XP pro and I've trying to log in, but I kept
>>> getting errors- until I finally decided to try changing the username
>>> from "remote access" to remote, I've been able to use usernames with a
>>> space before (I just reinstalled fedora to start over), does any one
>>> have any idea why it wouldn't work?
>>>
>> I think you will find ( somewhere in the documentation ) that spaces (
>> and some other characters &, %, ., etc ) are specifically NOT ALLOWED.
>>
>>
>> Apart from all sorts of spurious hard to debug problems, doing things
>> that are specifically not allowed is asking for problems.
>
> I think that if you'll add the following line to /etc/passwd than you
> can run su 'o neal':
Umm, I think he was talking about in Samba, not Linux...
> caffeine root # tail -n1 /etc/passwd
> o neal:x:500:500:Douglas O'Neal:/home/oneal:/bin/bash
> caffeine root # su - 'o neal'
> oneal@caffeine oneal $ id
> uid=500(o neal) gid=500(oneal) groups=500(oneal)
>
> Not that I'm advising doing this, but login is amazingly forgiving. Also,
> expect that any scripts that rely on $USER, $MAIL, `id -un`, etc. are not
> going to be so forgiving.
>
Kevin
--
Unix Guy Consulting, LLC
Unix and Linux Automation, Shell, Perl and CGI scripting
http://www.unix-guy.com
|
|