Changes between Version 1 and Version 2 of RemovingUsers


Ignore:
Timestamp:
06/06/06 13:05:56 (12 years ago)
Author:
joshuadf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RemovingUsers

    v1 v2  
    88is machine name, which contains the users /home/ files from that machine. To 
    99find the default home directory in LDAP, use `ldapsearch -xLLL '(uid=darren)'` 
    10 If they have more than one home directory (NeXT, SGI, etc.) 
     10If they have more than one home directory (NeXT, SGI, MacOS, etc.) 
    1111there will be more than one machine name.  
    1212 
    13 For example, darren's former home directory on quad would be  
    14 `/usr/local/data/archive/people/darren/sulcus`. 
    15  
    16 You can transfer the files with rsync over ssh, for example: 
     13For example, `darren`'s former home directory on sulcus would be  
     14`/usr/local/data/archive/people/darren/sulcus`. You can transfer the files  
     15with rsync over ssh, for example: 
    1716 
    1817{{{ 
    1918ssh vagal 
    2019cd /usr/local/data/archive/people/ 
     20eval `ssh-agent`; ssh-add 
    2121mkdir -p darren/sulcus 
    2222rsync -Sa --numeric-ids -e ssh -c blowfish sulcus:/home/darren /usr/local/data/archive/people/darren/sulcus 
     23}}} 
     24 
     25On `vastus`, you probably want to copy the whole tree of their home directory as  
     26links, which is the same way each day's backups works. This way a large home  
     27directory is not recreated in `/usr/local/data/archive/people/`: 
     28 
     29{{{ 
     30ssh vastus 
     31cd /data/rsync-data/current/vagal/usr/local/data/archive/people/ 
     32mkdir -p darren/sulcus 
     33cp -al /data/rsync-home/current/sulcus/home/darren/ sulcus/darren 
    2334}}} 
    2435