Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 07-08-2004, 01:32 PM   #1
Registered: Nov 2003
Posts: 791

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, 02:19 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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


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 09:35 PM
user accounts metallica1973 Linux - Security 2 06-19-2005 06:35 PM
User Accounts MrJoshua Linux - General 3 01-10-2003 09:30 AM
User Accounts petey *BSD 4 09-26-2002 10:28 AM
User Accounts afair Linux - Newbie 3 09-19-2002 01:57 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration