Latest LQ Deal: Latest LQ Deals
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 04-04-2007, 11:12 AM   #1
LQ Newbie
Registered: Apr 2007
Posts: 10

Rep: Reputation: 0
Storing user information.

I have a webmin module in which I would like to store some information for the user that can be access instantly with some sort of echo command. Each user has the following information that I need to access at times:

User Group:
User Owner:
User Palace:

Is there a command I can use that will echo what group the particular user is in?

I was thinking of maybe storing this information in like the first name, last name, etc fields. I am not sure if this information is can be echo'ed back to the system easily.

Right now I have this information in a space delimited file. In every page of the webmin module it will use PERL to extract the information. This works but I believe its inefficient and probably insecure.
Old 04-04-2007, 12:21 PM   #2
Registered: Jun 2006
Location: Sydney
Distribution: Gentoo + Debian
Posts: 132

Rep: Reputation: 15
Is there a command I can use that will echo what group the particular user is in?
groups username


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
list users and user information MrSako Linux - Newbie 7 11-03-2006 09:24 PM
clamd ERROR:Can't get information about user <USER> sailu_mvn Linux - Software 0 12-21-2005 12:49 AM
script for getting user information from LDAP paul_mat Linux - Networking 1 11-03-2005 08:30 PM
user information and data backup wenberg Linux - General 1 01-26-2004 03:21 AM
more user information Goatdemon LQ Suggestions & Feedback 4 07-05-2002 02:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:54 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
Open Source Consulting | Domain Registration