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 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. |
Quote:
Code:
groups username |
All times are GMT -5. The time now is 09:32 PM. |