|
|
1.1 ! root 1: .TH NEWGRP 1 ! 2: .CT 1 proc_man secur ! 3: .SH NAME ! 4: newgrp \(mi change to a new group ! 5: .SH SYNOPSIS ! 6: .B newgrp ! 7: .I group ! 8: [ ! 9: .I command ! 10: [ ! 11: .I arg ... ! 12: ] ] ! 13: .SH DESCRIPTION ! 14: .I Newgrp ! 15: runs a ! 16: .I command ! 17: with the (real and effective) groupid temporarily set to ! 18: .I group. ! 19: If no command is given, the user's shell (see ! 20: .IR passwd (5)) ! 21: is executed. ! 22: .PP ! 23: A password is demanded if the group has ! 24: a password and the user does not. ! 25: .SH EXAMPLES ! 26: .TP ! 27: .L ! 28: exec newgrp bin ! 29: Restart the shell with a different groupid. ! 30: .SH FILES ! 31: .F /etc/group ! 32: .br ! 33: .F /etc/passwd ! 34: .SH "SEE ALSO" ! 35: .IR login (8), ! 36: .IR getuid (2) ! 37: .SH BUGS ! 38: On other systems, ! 39: .I newgrp ! 40: is built into the shell. ! 41: Here it will spawn a new shell unless invoked with ! 42: .BR exec .
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.