Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-30-2004, 09:57 AM   #1
Registered: Dec 2003
Posts: 235

Rep: Reputation: 30
Showing Users from passwd

Can anyone help me with writing a shell script to echo the users from passwd. I am moving a network from redhat to slackware and the box owner was used to using checkuser to see users so he could send them a bill. Slackware does not have this feature.


Old 12-30-2004, 10:10 AM   #2
Senior Member
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 58
cut -d : -f 1 /etc/passwd


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to sort regular users and system users from /etc/passwd joeyBig Red Hat 9 05-29-2008 12:59 AM
Delete group users from /etc/passwd SCRIPT wesleywest Linux - General 5 03-08-2005 09:59 AM
Removing default users in passwd file? ridertech Linux - Newbie 1 05-08-2004 04:33 PM
Change/import passwd for many users kelper Linux - General 1 08-26-2003 01:37 AM
Top command showing 2 users ShadowMan Linux - Newbie 2 08-15-2003 01:04 AM

All times are GMT -5. The time now is 08:18 AM.

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