OT: Linux shell script question
Richard D. Williams
richard at appgrp.net
Mon Jan 17 10:12:01 PST 2005
I have a client who wants to control which menu a user has access to
upon login.
I have created a filepro file that contains the user name and menu.
When he updates any of these records I call a script to write out a text
file of all user names and their menu name to a text file in a
universally accessible directory.
What I want to do is place a script in each users .bashrc to look into
this file for that user's name and get the menu name one the sam line.
i.e.
johnw main1
richardw main2
suer main1
This seems very simple but I do not use awk or sed very much and I do
not know the syntax to accomplish this task.
Any suggestions?
Thanks,
Richard D. Williams
More information about the Filepro-list
mailing list