Searched refs:pw (Results 176 – 182 of 182) sorted by last modified time
12345678
808 struct passwd *pw; in get_homedir() local815 else if ((pw = (struct passwd *) getpwuid (getuid ())) in get_homedir()816 && pw->pw_dir) in get_homedir()817 home = xstrdup (pw->pw_dir); in get_homedir()
361 struct passwd *pw; in commit() local363 if ((pw = getpwnam (getcaller ())) == NULL) in commit()367 if (pw->pw_uid == (uid_t) 0) in commit()
2617 uwin, pw, etc. For instance, cygwin DLLs typically use
1994 struct passwd *pw; in getusername() local2006 pw = getpwlogin(); in getusername()2007 if (pw == NULL || pw->pw_uid != euid) in getusername()2008 pw = getpwuid(euid); in getusername()2010 if (pw != NULL) { in getusername()2011 strlcpy(cached_name, pw->pw_name, in getusername()
369 struct passwd *pw; in exptilde() local398 pw = getpwnam(user); in exptilde()399 home = pw != NULL ? pw->pw_dir : NULL; in exptilde()
103 struct passwd *pw; in usr_add() local126 if ((pw = getpwnam(str)) == NULL) { in usr_add()130 uid = (uid_t)pw->pw_uid; in usr_add()
302 # pw groupmod video -m $USER