Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 1999 08:26:12 +0000 (GMT)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        "Arthur H. Johnson II" <arthur@tucows.com>
Cc:        Jason Taylor <Jason@aiis.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Users
Message-ID:  <Pine.BSF.4.05.9909020822340.6392-100000@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.10.9909021024070.708-100000@Arthur.Linuxberg>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 2 Sep 1999, Arthur H. Johnson II wrote:

> pico /etc/group

argh! no no no

first of all the default invocation of pico will wrap long lines,
this can kill your /etc/groups file.

use "more" or "less" if possible, or better yet:

# cut -f 1 -d : < /etc/passwd | xargs -n1 id

:)

-Alfred


> 
> Arthur H. Johnson II
> http://www.linuxberg.com
> Linuxberg Manager
> arthur@tucows.com
> 
> On Thu, 2 Sep 1999, Jason Taylor wrote:
> 
> > Is there a command to show a list of users and the groups that they are in? Thanks in advance
> > 
> > Jason
> > 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9909020822340.6392-100000>