Home
last modified time | relevance | path

Searched refs:user (Results 1 – 25 of 37) sorted by relevance

12

/coreutils/tests/id/
Duid.sh22 user=$(id -nu) || 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
Dsetgid.sh36 chroot --skip-chdir --user=$NON_ROOT_USERNAME:+$gp1 --groups='' / \
42 chroot --skip-chdir --user=$NON_ROOT_USERNAME:+$gp1 --groups='' / \
/coreutils/tests/mv/
Dacl.sh38 setfacl -m user:bin:rw- file 2> /dev/null || skip_partition=.
40 setfacl -m user:bin:rw- $t1 || skip_partition=$other_partition_tmpdir
53 setfacl -m user:bin:rw- dir || framework_failure_
61 setfacl -d -m user:bin:rw- dir2 || framework_failure_
Dsticky-to-xpart.sh45 chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" \
54 chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" \
/coreutils/src/
Druncon.c108 char *user = nullptr; in main() local
147 if (user) in main()
149 user = optarg; in main()
177 if (!(user || role || type || range || compute_trans)) in main()
234 if (user && context_user_set (con, user)) in main()
236 quote (user)); in main()
Dchown-core.c123 user_group_str (char const *user, char const *group) in user_group_str() argument
127 if (user) in user_group_str()
131 spec = xmalloc (strlen (user) + 1 + strlen (group) + 1); in user_group_str()
132 stpcpy (stpcpy (stpcpy (spec, user), ":"), group); in user_group_str()
136 spec = xstrdup (user); in user_group_str()
154 char const *user, char const *group) in describe_change() argument
167 spec = user_group_str (user, group); in describe_change()
168 old_spec = user_group_str (user ? old_user : nullptr, in describe_change()
174 fmt = (user ? _("changed ownership of %s from %s to %s\n") in describe_change()
181 fmt = (user ? _("failed to change ownership of %s from %s to %s\n") in describe_change()
[all …]
/coreutils/man/
Dchown.x18 changed as well. If a colon but no group name follows the user name,
19 that user is made the owner of the files and the group of the files is
20 changed to that user's login group. If the colon and group are given,
Dchmod.x28 to the file will be changed: the user who owns it (\fBu\fP), other
55 The first digit selects the set user ID (4) and set group ID (2) and
57 selects permissions for the user who owns the file: read (4), write (2),
78 effective group ID or one of the user's supplementary group IDs,
Dwhoami.x2 whoami \- print effective user name
Did.x2 id \- print real and effective user and group IDs
Dlogname.x2 logname \- print user\'s login name
Dgroups.x2 groups \- print the groups a user is in
Dusers.x2 users \- print the user names of users currently logged in to the current host
/coreutils/tests/groups/
Dgroups-dash.sh23 user=:invalid
29 returns_ 1 groups $user -- > out 2>&1 || fail=1
/coreutils/tests/chown/
Dderef.sh26 set _ $(ls -ldo dangle); shift; user=$3
29 chown --dereference $user dangle 2> out1 && fail=1
/coreutils/tests/rm/
Dfail-2eperm.sh35 chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" \
43 chroot --skip-chdir --user=$NON_ROOT_USERNAME / \
Dno-give-up.sh33 returns_ 1 chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" \
/coreutils/tests/chcon/
Dchcon.sh49 for i in --user=$u2 --role=$r2 --type=$t2 --range=$range; do
63 f|--user=$u2|$u2:$r1:$t1:$range
/coreutils/tests/ls/
Dslink-acl.sh25 setfacl -m user::r-- k || framework_failure_
/coreutils/tests/touch/
Dnow-owned-by-other.sh31 chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" \
/coreutils/tests/truncate/
Dtruncate-owned-by-other.sh32 chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" \
/coreutils/doc/
Dperm.texi21 * Directory Setuid and Setgid:: Set-user-ID and set-group-ID on directories.
31 There are three kinds of permissions that a user can have for a file:
63 owner is the current user and the group is the group of the directory
74 @item The @dfn{set-user-ID bit} (@dfn{setuid bit}).
75 @cindex set-user-ID
77 On execution, set the process's effective user ID to that of the file.
80 the set-user-ID bit of newly-created subdirectories.
87 the same group as the directory, no matter what group the user who
193 the user who owns the file;
309 To change the file mode bits to set the user ID on execution, use
[all …]
/coreutils/
DREADME-install80 and/or run programs as a non-root user, 'nobody' by default.
84 using 'nobody' may fail, because that user won't have the required
87 user, and then to run the following command as that user in order
/coreutils/tests/cp/
Dspecial-bits.sh45 chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" cp -p c c2 \
Dacl.sh35 setfacl -m user:bin:rw- a/file 2> /dev/null || skip=yes

12