You are not logged in.
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
Offline
2) Use find:
find STARTDIR -uid OLDUID -print0 | xargs -0 chown YOURNAME
find STARTDIR -gid OLDGID -print0 | xargs -0 chgrp YOURGROUP
3) No. If you connect as PETER (ssh PETER@computer1) when you will be PETER . It doesn`t matter whoareyou at computer2.
Offline