newgrp 中文man页面

系统
Newgrp 改变调用者的用户组标识, 类似于 login(1). 调用者仍旧在线上, 当前目录也不变, 但是文件的访问权限将根据新的用户组 ID 计算.

名称 (NAME)

newgrp - 登录到新的用户组中  

总览 (SYNOPSIS)

newgrp [ group ]  

描述 (DESCRIPTION)

Newgrp 改变调用者的用户组标识, 类似于 login(1). 调用者仍旧在线上, 当前目录也不变, 但是文件的访问权限将根据新的用户组 ID 计算.

如果没有指定用户组别, GID 将变成登录时的GID.

文件 (FILES)

/etc/group
/etc/passwd

另见 (SEE ALSO)

login(1), group(5)

#p#

NAME

newgrp - log in to a new group  

SYNOPSIS

newgrp [ group ]  

DESCRIPTION

Newgrp changes the group identification of its caller, analogously to login(1). The same person remains logged in, and the current directory is unchanged, but calculations of access permissions to files are performed with respect to the new group ID.

If no group is specified, the GID is changed to the login GID.

FILES

/etc/group
/etc/passwd

SEE ALSO

login(1), group(5)

责任编辑:韩亚珊 来源: www.linuxforum.net/man-pages/
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-11-01 13:46:50

中文mantac

2011-08-25 16:55:26

gets中文man

2011-08-25 15:49:02

freopen中文man

2011-08-25 16:00:56

fflush中文man

2011-08-25 16:08:55

fsetpos中文man

2011-08-25 15:33:18

exit中文man

2011-08-24 17:19:00

raw中文man

2011-08-25 10:55:37

services中文man

2011-08-25 09:35:26

units中文man

2011-08-24 13:57:35

DECLARE中文man

2011-08-11 15:28:43

ali中文man

2011-08-23 17:24:11

userdel中文man

2011-08-23 17:33:22

rdev中文man

2011-08-23 18:05:21

ABORT中文man

2011-08-18 19:15:25

group中文man

2011-08-23 10:17:54

bdflush中文man
点赞
收藏

51CTO技术栈公众号