source: fedkit/rc.accounts.patch @ 6679c122

axis_examplecompt_changesinfo-opsversion-1.30version-2.00version-3.01version-3.02
Last change on this file since 6679c122 was f3691ff, checked in by Ted Faber <faber@…>, 17 years ago

checkpoint includes some ucb and some FC6 code

  • Property mode set to 100644
File size: 596 bytes
  • ./rc.accounts

    old new  
    375375                # Windows uses its own UID and GID numbers.
    376376                if ($curuid != $uid  && ! WINDOWS()) {
    377377                    warning("$login/$uid uid mismatch with existing login!");
     378                    os_userdel($login);
     379                    if (os_useradd($login, $uid, $gid, $pswd,
     380                                   "$glist", $hdir, $name, $root, $shell)) {
     381                       warning("Error adding new user $login");
     382                    }
    378383                    next;
    379384                }
    380385                if ($doupdate) {
Note: See TracBrowser for help on using the repository browser.