LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   User Accounts (https://www.linuxquestions.org/questions/linux-general-1/user-accounts-202640/)

kaplan71 07-08-2004 12:32 PM

User Accounts
 
I was approached by a user to create a second user account for this person. The reasoning behind the request was the need to run two versions of the same program simultaneously. According to the user, a different set of parameters and resource files was need for each version of the program. The program is launched via an xterm session.

It seems to me that the user can run the two program versions simultaneously by opening two xterm windows and having the two windows reference, in this case tcsh, different different shell resource files for each program. The only thing I am not sure on is what command syntax the user should use when the alternate .cshrc file needs to be used. Does anyone know what the correct syntax is? Thanks.

david_ross 07-08-2004 01:19 PM

What about writing a script that prompts the user to choose which configuration they want - the script then copies either "~/.cshrc-1" or "~/.cshrc-2" to "~/.cshrc" depending on the choice then starts a new shell?


All times are GMT -5. The time now is 08:44 PM.