LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-20-2004, 02:30 AM   #1
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
"Synchronizing" two accounts


Hi.

I am wondering if there's a way to "synchronize" two Linux accounts on two machines. This is the situation:

I have two Linux machines (A and B) connected via network. I use A as my daily machine, and B as a file server. I have /home/priv on B shared out using NFS (with no_root_squash). I mount it as /mnt/priv on A.

Now, using the root account on A, I can create a directory "daihard" on /mnt/priv and chown it to my "daihard" account on A. This way, I (daihard) can do whatever I want to on /mnt/priv/daihard even though the directory is physically on B. The problem is, I have an account "daihard" on B, too, and I have no access to the physical directory (which is /home/priv/daihard on B) as "daihard" on B because the two "daihard" accounts are not associated at all. (FYI, daihard on A has user ID 500, daihard on B has 501.)

I'd like to link the two daihard accounts so I won't have to deal with that headache. Any help would be appreciated.

Dai

Last edited by daihard; 12-20-2004 at 02:31 AM.
 
Old 12-20-2004, 03:50 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Edit the uid. AFAIK NFS (which from your description is what you are using) uses UID's rather than usernames (SMB uses Usernames, kind of, sometimes, IIRC) therefore, if the user has the same UID on the 2 boxes, they *should* in essence be the same user with the same perms. You can also check the NFS man, there are ways to be more loose with your shares, but be very, extremely, extra, super careful when laxing on your security.

Cool
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Can NIS accounts be "cached"? daihard Linux - Software 0 01-29-2005 10:36 PM
Other accounts can't access partition "hdb1" Starch Linux - Newbie 1 01-28-2005 09:39 PM
Creating heavily restricted "upload" accounts Paiway Linux - Security 1 01-23-2005 09:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration