LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2007, 08:27 AM   #1
linderox
LQ Newbie
 
Registered: Apr 2007
Posts: 29

Rep: Reputation: 15
synchronization uid and gid in the local network


i want to synchronize my local networds uids and gids on the different computers
1) i forget advantages of this operation.can you remember me ? (i have ssh,samba,qmail servicies)
2) when i changed uid and gid in /etc/passwd and /etc/group by chown,then all of folders and files bacame no accessable.
3)will i be a BILL user if i connect to computer1 from computer2 by ssh as PETER (i have user PETER with gid=1050 uid=100 on one computer1 and BILL 1050:100 on another - computer2
 
Old 06-06-2007, 03:23 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
iirc, the only(?) tool that really needs identical uid/gid on multiple machines is NFS.
If you're not using this, don't worry.
Regardless of which user you are on machine A, you can login as any (other) user on machine B.
 
Old 06-07-2007, 04:22 AM   #3
linderox
LQ Newbie
 
Registered: Apr 2007
Posts: 29

Original Poster
Rep: Reputation: 15
yes i know, i have this... but i dont want to write
Code:
user1@machineA$ssh user2@machineB
cause if i write ssh machineB, then it asks password for none-exsist user1 on machineB

i want:
Code:
user1@machineA$ssh machineB
plz insert passwd for user2 on this machine
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
what is uid and gid rmanocha Linux - Software 9 08-19-2008 12:03 AM
cifs not using uid and gid mattd7591 Linux - General 10 07-19-2007 12:30 PM
Shell Script :- to get UID and GID furquan Programming 30 02-21-2006 08:44 AM
What is my uid/gid? Jeebizz Slackware 2 11-22-2005 12:39 PM
changing uid, gid zeke1955 Linux - General 4 01-10-2004 12:53 AM


All times are GMT -5. The time now is 06:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration