Lines Matching full:uid
15 usage: useradd [-SDH] [-h DIR] [-s SHELL] [-G GRP] [-g NAME] [-u UID] USER [GROUP]
26 -u UID User id
37 long uid;
59 // Add a new group to the system, if UID is given then that is validated
60 // to be free, else a free UID is choosen by self.
82 if (TT.uid > INT_MAX) error_exit("bad uid");
83 if (getpwuid(TT.uid)) error_exit("uid '%ld' in use", TT.uid);
85 if (toys.optflags & FLAG_S) TT.uid = CFG_TOYBOX_UID_SYS;
86 else TT.uid = CFG_TOYBOX_UID_USR;
87 //find unused uid
88 while (getpwuid(TT.uid)) TT.uid++;
90 pwd.pw_uid = TT.uid;
144 xmprintf("%lu:%lu", TT.uid, TT.gid), p, 0});