source: fedkit/rc.accounts.patch @ 0ea5050

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

checkpoint includes some ucb and some FC6 code

  • Property mode set to 100644
File size: 596 bytes
RevLine 
[f3691ff]1--- ./rc.accounts.bak   2008-05-16 09:47:14.000000000 -0700
2+++ ./rc.accounts       2008-05-16 09:45:54.000000000 -0700
3@@ -375,6 +375,11 @@
4                # Windows uses its own UID and GID numbers.
5                if ($curuid != $uid  && ! WINDOWS()) {
6                    warning("$login/$uid uid mismatch with existing login!");
7+                    os_userdel($login);
8+                    if (os_useradd($login, $uid, $gid, $pswd,
9+                                   "$glist", $hdir, $name, $root, $shell)) {
10+                       warning("Error adding new user $login");
11+                    }
12                    next;
13                }
14                if ($doupdate) {
Note: See TracBrowser for help on using the repository browser.