Home
last modified time | relevance | path

Searched refs:pwd (Results 1 – 18 of 18) sorted by relevance

/coreutils/src/
Did.c236 struct passwd *pwd = nullptr; in main() local
244 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() local
337 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 …]
Dgroup-list.c40 struct passwd *pwd = nullptr; in print_group_list() local
44 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()
Dgroups.c126 struct passwd *pwd = getpwnam (argv[optind]); in main() local
127 if (pwd == nullptr) in main()
133 ruid = pwd->pw_uid; in main()
134 rgid = egid = pwd->pw_gid; in main()
Dchroot.c307 const struct passwd *pwd; in main() local
308 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() local
368 if ((pwd = getpwuid (uid))) in main()
371 gid = pwd->pw_gid; in main()
372 username = pwd->pw_name; in main()
D.gitignore74 pwd
Dchown-core.c116 struct passwd *pwd = getpwuid (uid); in uid_to_name() local
117 return pwd ? xstrdup (pwd->pw_name) : uid_to_str (uid); in uid_to_name()
/coreutils/tests/readlink/
Dcan-e.sh37 cd "$pwd/$tmp/removed" || framework_failure_
45 cd "$pwd/$tmp" || fail=1
47 for p in "" "$pwd/$tmp/"; do
Dcan-m.sh37 cd "$pwd/$tmp/removed" || framework_failure_
45 cd "$pwd/$tmp" || fail=1
47 for p in "" "$pwd/$tmp/"; do
Dcan-f.sh38 cd "$pwd/$tmp/removed" || framework_failure_
46 cd "$pwd/$tmp" || fail=1
48 for p in "" "$pwd/$tmp/"; do
/coreutils/m4/
Dcheck-decl.m416 AC_CHECK_HEADERS_ONCE([grp.h pwd.h])
27 # include <pwd.h>
/coreutils/man/
Dpwd.x2 pwd \- print name of current/working directory
D.gitignore64 pwd.1
/coreutils/po/
DPOTFILES.in104 src/pwd.c
/coreutils/
DAUTHORS68 pwd: Jim Meyering
DREADME15 pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum
DNEWS2405 pwd now works also on systems without openat. On such systems, pwd
3381 pwd now accepts the options --logical (-L) and --physical (-P). For
3990 pwd and "readlink -e ." no longer fail unnecessarily when a parent
4236 pwd and other programs using lib/getcwd.c work even on file systems
4955 pwd now works even when run from a working directory whose name
5049 pwd, sync, and yes.
5465 * work around Linux kernel bug in getcwd (fixed in 2.4.21-pre4), so that pwd
/coreutils/scripts/git-hooks/
Dcommit-msg22 ptx pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum
/coreutils/doc/
Dcoreutils.texi103 * pwd: (coreutils)pwd invocation. Print working directory.
206 * Working context:: pwd stty printenv tty
401 * pwd invocation:: Print working directory
1489 pwd} do not work as you might expect.
11074 ln -s $(pwd)/a /some/dir/
15028 * pwd invocation:: Print working directory.
15035 @node pwd invocation
15036 @section @command{pwd}: Print working directory
15038 @pindex pwd
15044 @command{pwd} prints the name of the current directory. Synopsis:
[all …]