如何在Linux中的特定组中检查用户 [英] How can i check user in specific group in linux

查看:63
本文介绍了如何在Linux中的特定组中检查用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,所有访客.
我创建了一个组(g001)和一个用户(u001).我将用户(u001)添加到组(g001).之后,我又创建了一个用户(u002).我想将此用户(u002)添加到旧组(g001),但在我添加之前,我想先检查该组中的用户.
那么如何检查组(g001)中的用户?
谢谢

Hi all visitor.
i have created one group (g001) and one user(u001).i add the user (u001) to group (g001).after that i created one more user (u002).i want to add this user (u002) to the old group (g001) but before i add i want to check the user in this group first.
So how can i check the user in group (g001)?
Thanks

推荐答案

查看此页面;

http://www.yolinux.com/TUTORIALS/LinuxTutorialManagingGroups.html [
See this page;

http://www.yolinux.com/TUTORIALS/LinuxTutorialManagingGroups.html[^]

Scroll down to the group interrogation and verification section. (for the groups command)


这篇关于如何在Linux中的特定组中检查用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆