LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-25-2002, 12:16 AM   #1
Zwitterion
LQ Newbie
 
Registered: Nov 2002
Location: Florida
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
Usernames


How do I display usernames & groups on my system?
 
Old 12-25-2002, 08:30 AM   #2
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
cat /etc/passwd | awk 'BEGIN { FS=":" } { print $1 }'

or replace /etc/passwd with /etc/group to see groups.

Alex
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usernames with dots yang11 Linux - Enterprise 2 03-18-2005 07:07 AM
MySQL Usernames cli_man Linux - Security 3 01-28-2005 03:31 PM
Usernames/Passwords tracker kemplej Linux - Software 1 09-17-2004 06:19 AM
Setting samba usernames TheRealDeal Linux - Networking 3 05-24-2004 05:37 PM
How can I forcefully add usernames? kleptophobiac Linux - General 5 11-11-2003 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration