LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-08-2004, 12:32 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 718

Rep: Reputation: 39
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.
 
Old 07-08-2004, 01:19 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Accounts Cool_Hand_Luke Linux - Newbie 6 08-24-2005 08:35 PM
user accounts metallica1973 Linux - Security 2 06-19-2005 05:35 PM
User Accounts MrJoshua Linux - General 3 01-10-2003 08:30 AM
User Accounts petey *BSD 4 09-26-2002 09:28 AM
User Accounts afair Linux - Newbie 3 09-19-2002 12:57 PM


All times are GMT -5. The time now is 02:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration