1NEWGRP(1) General Commands Manual NEWGRP(1)
2
3
4
6 newgrp - log in to a new group
7
9 newgrp group
10
12 Newgrp changes the group identification of its caller, analogously to
13 login(1). The same person remains logged in, and the current directory
14 is unchanged, but calculations of access permissions to files are per‐
15 formed with respect to the new group ID.
16
17 A password is demanded if the group has a password and the user himself
18 does not.
19
20 When most users log in, they are members of the group named `other.'
21 Newgrp is known to the shell, which executes it directly without a
22 fork.
23
25 /etc/group, /etc/passwd
26
28 login(1), group(5)
29
30
31
32 NEWGRP(1)