Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-15-2009, 07:24 AM   #1
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Rep: Reputation: 38
Userlist in busybox?

whats the command called to list users and groups for busybox?
Old 03-15-2009, 10:00 AM   #2
LQ Newbie
Registered: Aug 2007
Distribution: Slackware from 94-09, Debian Since March 09
Posts: 28

Rep: Reputation: 19
typically, you can do this to list all available users:

cat /etc/passwd
and this to list all available groups.

cat /etc/group
If your installation of busybox has the "cut" utility installed, then this will make the output of "cat /etc/passwd" a bit simpler:

cat /etc/passwd | cut -d ":" -f 1
Old 03-15-2009, 10:04 AM   #3
Senior Member
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,667

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494

Try this commands, at least it will show who uses the system:

$ users /var/run/utmp
$ users /var/log/wtmp

hope it helps.


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
BusyBox doesn't go away Grife DamnSmallLinux 0 08-23-2007 02:01 AM
Customized userlist icon for greeter kbob Ubuntu 0 09-14-2006 09:52 AM
XChat Channel userlist problem. rvijay Linux - Software 2 01-16-2006 09:07 PM
Busybox and vi krizzz Linux - Software 3 03-24-2005 05:33 PM
'userlist' utility? liguorir Linux - Software 1 04-14-2004 09:10 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:09 PM.

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
Open Source Consulting | Domain Registration