LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-15-2009, 08:24 AM   #1
kalleanka
Member
 
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, 11:00 AM   #2
Linuxchuck
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:

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

Code:
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:

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

Rep: Reputation: 441Reputation: 441Reputation: 441Reputation: 441Reputation: 441
kalleanka:

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

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

hope it helps.
 
  


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 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 03:01 AM
Customized userlist icon for greeter kbob Ubuntu 0 09-14-2006 10:52 AM
XChat Channel userlist problem. rvijay Linux - Software 2 01-16-2006 10:07 PM
Busybox and vi krizzz Linux - Software 3 03-24-2005 06:33 PM
'userlist' utility? liguorir Linux - Software 1 04-14-2004 10:10 PM


All times are GMT -5. The time now is 01:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration