---
title: "查看linux系统中存在的用户和组"
author: "st780206"
date: "2010-04-06T11:39:29Z"
tags: []
categories: ["操作系统"]
slug: "linux"
draft: false
lastmod: "2010-04-06T11:39:29Z"
id: 634443
url: "https://st780206.iteye.com/blog/634443"
---

less /etc/passwd  
less /etc/group\[/quote]

用上面那個得到的不完全  
如pam 用ldap,mysql等方式建立的就看不到了  
改用  
getent passwd  
getent group