* NIS
@ 1997-09-18 4:00 Vasu Vallurupalli
1997-09-19 4:00 ` NIS Figaro Tea
0 siblings, 1 reply; 2+ messages in thread
From: Vasu Vallurupalli @ 1997-09-18 4:00 UTC (permalink / raw)
Have a pre-existing account on a w/s with a home dir(on the w/s) :
/usr/users/vasu (owner : vasu) with uid 218
Now am installing NIS on a server and created an account for me on the
server with a different uid : /usr/users/vasu (owner : vasu) with uid
200.
Have deleted the account entry in the /etc/passwd file on the w/s. So
now it goes to the NIS server for account info.
Also created NIS maps and pushed it to the clients.
Here's the problem: The /usr/users/vasu dir on the w/s (client) is under
the ownership of jim (as jim has the uid 218 on the server). Why doesn't
the ownership belong to 200 (vasu) as the w/s has no account info. for
jim and vasu, and the server shows that vasu has the uid 200?
Is the passwd info still in w/s memory, even though I deleted it?
I would appreciate any help.
-vasu.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: NIS
1997-09-18 4:00 NIS Vasu Vallurupalli
@ 1997-09-19 4:00 ` Figaro Tea
0 siblings, 0 replies; 2+ messages in thread
From: Figaro Tea @ 1997-09-19 4:00 UTC (permalink / raw)
To: Vasu Vallurupalli
On Thu, 18 Sep 1997, Vasu Vallurupalli wrote:
> Here's the problem: The /usr/users/vasu dir on the w/s (client) is under
> the ownership of jim (as jim has the uid 218 on the server). Why doesn't
> the ownership belong to 200 (vasu) as the w/s has no account info. for
> jim and vasu, and the server shows that vasu has the uid 200?
Unix stores ownership based on uids not usernames, if there is an entry in
the passwd file, whether local or NIS, then it will show that instead of
the number when you list files. So the solution for your problem is to
change the ownership to uid 200, you could change it to vasu but using 200
is better. You can just substitute the number instead of the name, so the
command would look like this:
chown -R 200 /usr/users/vasu
..._Tim_...
--=[Famous Last Words: "No need to unplug that, it'll just take a second."]=--
http://www.shack.org/zzhumphreyt
zzhumphreyt@winthrop.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-09-19 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-18 4:00 NIS Vasu Vallurupalli
1997-09-19 4:00 ` NIS Figaro Tea
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox