All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
home directory problem?
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
home directory problem? - Oct. 3, '04, 1:30:56 AM
|
|
|
yanming
Posts: 4
Joined: Oct. 3, '04,
Status: offline
|
a really rookie question. I remember that I read sth about this. but couldn't find it now.
I am using xp pro & SFU 3.5. I set up the home directory for a user in computer management. But when I start csh, I am still in the directory
/dev/fs/C/Documents and Settings/***
while I set it to be
C:/home/***
If I type
%echo ~
the output is
/dev/fs/C/Documents and Settings/***
the wrong one.
But if I user
%echo ~user
then it gives the correct one
/dev/fs/C/***
But I am the current user.
Any idea?
|
|
|
RE: home directory problem? - Oct. 3, '04, 12:32:09 PM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
Well, when "~" doesn't equal "~user" then they are not the same.
Do the id command and see what the output says.
Then do id user and compare with the previous o/p.
Likely a difference in the domainname portion.
< Message edited by Rodney -- Oct. 3, '04, 9:03:26 PM >
|
|
|
RE: home directory problem? - Oct. 3, '04, 5:03:21 PM
|
|
|
yanming
Posts: 4
Joined: Oct. 3, '04,
Status: offline
|
Thank you, Rodney. That's exactly what happened. The domain names were different. It seems when I update the home directory from the computer management, only the account without the domainname get upated. After restarting windows, it is fixed. I mean "the other account" with the domainname get updated too.
I am still a little confused. Does it mean in the SFU we have more user accounts? I mean each user from my windows xp is mapped to two users in the SFU?
|
|
|
RE: home directory problem? - Oct. 3, '04, 9:03:13 PM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
You're welcome.
> I am still a little confused. Does it mean in the SFU we have more user accounts?
There are no more accounts available than with the Win32 side.
You just need to understand that each machine has a set of users for its
standalone state. Then if the machine is part of a domain that users from that
domain can logon/login to the same machine too. There is something called FQUN (which
is for Fully Qualified UserName): domain+username. This explicitly states which
domain the stated user is part of. When the domain is not specified there is a
default used which is the principal domain. Take a read of the pdomain
man page (both sections 1 and 2) for some more info.
(I'm not going to confuse the issue with builtins for those who know if wondering).
< Message edited by Rodney -- Oct. 3, '04, 9:04:28 PM >
|
|
|
RE: home directory problem? - Oct. 6, '04, 7:29:33 AM
|
|
|
cloud
Posts: 12
Joined: Aug. 9, '04,
Status: offline
|
quote:
/dev/fs/C/Documents and Settings/***
how do i change to this directory? if i give cd Documents and settings ,it says too many arguments.
|
|
|
RE: home directory problem? - Oct. 6, '04, 11:17:53 AM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
A space is a delimiter for a shell.
So you can either quote the path or you can escape each space with a backslash.
When you do auto-file-completion with, say, csh, it escapes the spaces for you.
cd "/dev/fs/C/something with with spaces"
cd /dev/fs/C/something\ with\ spaces
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|