Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 34) sorted by relevance

12

/coreutils/tests/id/ !
Duid.sh19 print_ver_ id
21 uid=$(id -u) || fail=1
22 user=$(id -nu) || fail=1
25 returns_ 1 id '' || fail=1
28 id $user > user_out || fail=1
29 returns_ 1 id '' $user >multi_user_out || fail=1
33 id $mode $user > user_out || fail=1 # lookup name for comparison
35 id $mode $uid > uid_out || fail=1 # lookup name "$uid" before id "$uid"
38 id $mode +$uid > uid_out || fail=1 # lookup only id "$uid"
Dsmack.sh20 print_ver_ id
25 id > out || fail=1
29 POSIXLY_CORRECT=1 id > out || fail=1
34 id -nu > /dev/null && id $(id -nu) > out
Dzero.sh20 print_ver_ id
23 id || fail=1
24 id "$u" || fail=1
29 id --zero > out 2>err && fail=1
38 id $u >/dev/null 2>&1 && users="$users $u"
54 id -${o}${n} $u >> exp ||
56 id -${o}${n}z $u > tmp ||
72 id -${o}${n} $users >> tmp1 ||
74 id -${o}${n}z $users > tmp2 ||
90 id -${o}${n} $users >> gtmp1 ||
[all …]
Dcontext.sh19 print_ver_ id
25 id | grep context= >/dev/null || fail=1
29 name=$(id -nu) || { test $? -ne 1 && fail=1; }
31 id "$name" > id_name || fail=1
Dno-context.sh20 print_ver_ id
28 id > out || fail=1
32 POSIXLY_CORRECT=1 id > out || fail=1
Dsetgid.sh20 print_ver_ id
37 env PATH="$PATH" id -G > out || fail=1
43 env PATH="$PATH" id > out || fail=1
Dgnu-zero-uids.sh20 print_ver_ id
27 returns_ 1 sush - id > out || fail=1
/coreutils/tests/chroot/ !
Dchroot-credentials.sh30 root=$(id -nu 0) || skip_ "Couldn't look up root username"
33 NON_ROOT_UID=$(id -u $NON_ROOT_USERNAME)
41 returns_ $EXIT_CANCELED chroot --groups="$g" / id -G >invalid || fail=1
71 --groups=$NON_ROOT_GROUP / id -G
115 if ! id -u +12342; then
/coreutils/src/ !
Dhostid.c55 unsigned int id; in main() local
75 id = gethostid (); in main()
80 id &= 0xffffffff; in main()
82 printf ("%08x\n", id); in main()
D.gitignore46 id
Dwho.c445 char const *id = UT_ID (utmp_ent); in make_id_equals_comment() local
446 idx_t idlen = strlen (id); in make_id_equals_comment()
451 p = mempcpy (p, id, idlen); in make_id_equals_comment()
/coreutils/tests/chown/ !
Dseparator.sh22 id_u=$(id -u) || framework_failure_
25 id_un=$(id -un) || framework_failure_
28 id_g=$(id -g) || framework_failure_
31 id_gn=$(id -gn) || framework_failure_
Dpreserve-root.sh41 chown -RHh --preserve-root $(id -u) d >> out 2>&1 || fail=1
42 chgrp -RHh --preserve-root $(id -g) d >> out 2>&1 || fail=1
46 chown -RLh --preserve-root $(id -u) d >> out 2>&1 && fail=1
47 chgrp -RLh --preserve-root $(id -g) d >> out 2>&1 && fail=1
/coreutils/tests/chmod/ !
Dsetgid.sh35 for id_g in $(id -g) $(id -G) ''; do
/coreutils/man/ !
Did.x2 id \- print real and effective user and group IDs
D.gitignore37 id.1
Dlocal.mk107 man/id.1: src/id$(EXEEXT)
/coreutils/tests/groups/ !
Dgroups-version.sh23 id --version | sed '/^$/q' > exp || fail=1
/coreutils/tests/runcon/ !
Druncon-no-reorder.sh30 runcon $(id -Z) true -j 2> out && > exp
/coreutils/scripts/build-older-versions/ !
DREADME.older-versions130 [-5.97 id-5.0 sha224sum-7.6
131 [-6.12 id-5.97 sha256sum-6.12
132 [-7.6 id-6.12 sha256sum-7.6
133 base64-6.12 id-7.6 sha384sum-6.12
/coreutils/ !
Dinit.cfg78 id -u bin > /dev/null 2>&1 \
330 # Make sure id -u succeeds.
331 my_uid=$(id -u) \
332 || { echo "$0: cannot run 'id -u'" 1>&2; return 1; }
338 echo "$0: invalid output ('$my_uid') from 'id -u'" 1>&2
474 NON_ROOT_GID=${NON_ROOT_GID=$(id -g $NON_ROOT_USERNAME)}
493 ${COREUTILS_GROUPS-$( (id -G || /usr/xpg4/bin/id -G) 2>/dev/null)}
508 but running '\''id -G'\'' either failed or found just one. If you really
703 test "$gen_ug" = "$(id -ru):$(id -rg)" ||
/coreutils/tests/cp/ !
Dpreserve-gid.sh30 primary_group_num=$(id -g)
/coreutils/scripts/ !
Dautotools-install134 my_uid=`id -u` && test -n "$my_uid" || die "'id -u' failed"
/coreutils/scripts/git-hooks/ !
Dcommit-msg19 env expand expr factor false fmt fold groups head hostid hostname id
130 $buf =~ m!https?://bugzilla\.redhat\.com/show_bug\.cgi\?id=(\d+)!s
/coreutils/tests/ !
Dlocal.mk123 tests/id/setgid.sh \
588 tests/id/gnu-zero-uids.sh \
589 tests/id/no-context.sh \
590 tests/id/context.sh \
591 tests/id/uid.sh \
592 tests/id/zero.sh \
593 tests/id/smack.sh \

12