If you're in ChCh I'll take you up on that beer anytime. =) Its not
updated yet but any contact info will be available at http://john.safitech.com/
and once things with current projects settle so will multitudes of
other various linux and windows admin tips/tricks etc.

Glad to have helped ya out Aaron.

p.s. I only signed up on this board to reply, hah. ;)

On Mar 3, 11:32 am, "Aaron Cooper" <[email protected]> wrote:
> Mohamed,
>
> I owe your SYSAD a beer - that is perfect.
>
> Cheers
> Aaron
>
> ----- Original Message -----
> From: "satrun77" <[email protected]>
> To: "NZ PHP Users Group" <[email protected]>
> Sent: Tuesday, March 03, 2009 11:11 AM
> Subject: [phpug] Re: Showing all users/groups in Debian
>
> Hi
>
> i asked our SNR. SYS. ADMINISTRATOR. this is his reply
>
> You can use the following command to list the uid/username, gid/
> groupname, and the groups each user belongs to…
>
> for user in `cat /etc/passwd | cut -d: -f1`; do id $user; done
>
> You will get an output in the following format…
>
> uid=1(user) gid=2(group) groups=2(group), 3(users), 4(system)
>
> His blog is john.safitech.com
>
> Thanks
> Mohamed Alsharaf
>
> On Mar 2, 1:35 pm, "Aaron Cooper" <[email protected]> wrote:
> > Hi all - just a quick OT
>
> > I have 3 Debian servers here with root access.
>
> > Is there a CLI command for showing all the users that have access to the
> > system and what group / permissions they have?
>
> > Google doesn't really give anything for "debian display all users" and
> > varients.
>
> > Cheers
> > Aaron

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to