def CreateShadowAccount(username, shadow_name):
  shadow_account = {'PrimaryGID': '80', 'UniqueID': '497',
                    'RealName': '%s Admin' % username,
                    'AuthenticationAuthority': ';ShadowHash;',
                    'NFSHomeDirectory': '/var/empty', 'UserShell': '/bin/bash'}

  DSSet('user', shadow_name)

  for key in shadow_account:
    DSSet('user', shadow_name, key, shadow_account[key])

  AddUserToLocalGroup(shadow_name, 'admin')
  AddUserToLocalGroup(shadow_name, '_appserveradm')
  AddUserToLocalGroup(shadow_name, '_lpadmin')
Copy the node specified by where and name to newparent/newname.
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/ds.py/CreateShadowAccount--crossover with--dataset/ETHPy150Open PyTables/PyTables/tables/file.py/File.copy_node