Searched refs:pwd (Results 1 – 18 of 18) sorted by relevance
236 struct passwd *pwd = nullptr; in main() local244 pwd = pw_name ? getpwnam (pw_name) : getpwuid (euid); in main()246 if (pwd == nullptr) in main()254 pw_name = xstrdup (pwd->pw_name); in main()255 ruid = euid = pwd->pw_uid; in main()256 rgid = egid = pwd->pw_gid; in main()333 struct passwd *pwd = nullptr; in print_user() local337 pwd = getpwuid (uid); in print_user()338 if (pwd == nullptr) in print_user()346 char *s = pwd ? pwd->pw_name : uidtostr (uid); in print_user()[all …]
40 struct passwd *pwd = nullptr; in print_group_list() local44 pwd = getpwuid (ruid); in print_group_list()45 if (pwd == nullptr) in print_group_list()62 int n_groups = xgetgroups (username, (pwd ? pwd->pw_gid : egid), &groups); in print_group_list()
126 struct passwd *pwd = getpwnam (argv[optind]); in main() local127 if (pwd == nullptr) in main()133 ruid = pwd->pw_uid; in main()134 rgid = egid = pwd->pw_gid; in main()
307 const struct passwd *pwd; in main() local308 if ((pwd = getpwuid (uid))) in main()311 gid = pwd->pw_gid; in main()312 username = pwd->pw_name; in main()367 const struct passwd *pwd; in main() local368 if ((pwd = getpwuid (uid))) in main()371 gid = pwd->pw_gid; in main()372 username = pwd->pw_name; in main()
74 pwd
116 struct passwd *pwd = getpwuid (uid); in uid_to_name() local117 return pwd ? xstrdup (pwd->pw_name) : uid_to_str (uid); in uid_to_name()
37 cd "$pwd/$tmp/removed" || framework_failure_45 cd "$pwd/$tmp" || fail=147 for p in "" "$pwd/$tmp/"; do
38 cd "$pwd/$tmp/removed" || framework_failure_46 cd "$pwd/$tmp" || fail=148 for p in "" "$pwd/$tmp/"; do
16 AC_CHECK_HEADERS_ONCE([grp.h pwd.h])27 # include <pwd.h>
2 pwd \- print name of current/working directory
64 pwd.1
104 src/pwd.c
68 pwd: Jim Meyering
15 pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum
2405 pwd now works also on systems without openat. On such systems, pwd3381 pwd now accepts the options --logical (-L) and --physical (-P). For3990 pwd and "readlink -e ." no longer fail unnecessarily when a parent4236 pwd and other programs using lib/getcwd.c work even on file systems4955 pwd now works even when run from a working directory whose name5049 pwd, sync, and yes.5465 * work around Linux kernel bug in getcwd (fixed in 2.4.21-pre4), so that pwd
22 ptx pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum
103 * pwd: (coreutils)pwd invocation. Print working directory.206 * Working context:: pwd stty printenv tty401 * pwd invocation:: Print working directory1489 pwd} do not work as you might expect.11074 ln -s $(pwd)/a /some/dir/15028 * pwd invocation:: Print working directory.15035 @node pwd invocation15036 @section @command{pwd}: Print working directory15038 @pindex pwd15044 @command{pwd} prints the name of the current directory. Synopsis:[all …]