LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2008, 09:18 AM   #1
homer_3
Member
 
Registered: May 2008
Posts: 87

Rep: Reputation: 15
How can I check another user's environment?


I know I can do "env" to check the current user's environment settings, but I want to check a different user's environment settings. If I don't have access to log in as that user, is this possible?
 
Old 05-23-2008, 09:26 AM   #2
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Quote:
Originally Posted by homer_3 View Post
I know I can do "env" to check the current user's environment settings, but I want to check a different user's environment settings. If I don't have access to log in as that user, is this possible?
I think you'll need to answer why before you'll get any good answers. If you don't have access to that account, then you probably are not an admin, and probably don't have any valid need for the information.
 
Old 05-23-2008, 09:36 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
It appears that "env" simply gives you the current environment. I assume that this gets set by config files in the users $HOME folder. If I understand it correctly, then this means you would need read access to /home/username.
 
Old 05-23-2008, 09:50 AM   #4
homer_3
Member
 
Registered: May 2008
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by SlowCoder View Post
I think you'll need to answer why before you'll get any good answers. If you don't have access to that account, then you probably are not an admin, and probably don't have any valid need for the information.
I'm not the admin but I have tomcat starting up under it's own name. But I think it's environment is wrong because certain apps aren't starting up correctly. I wanted to check the environment to see if it was correct and if it wasn't, then I'd tell the admin what changes I need.
 
Old 05-23-2008, 03:44 PM   #5
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
This might sound round-about, but would it be possible for you to add 'env > envfile' to the end of the processes startup script, where envfile is in a location writable to tomcat? Of course you'd have to get your admin to modify the script for you.

Just a thought. Maybe someone can come up with something better.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
CYRUS - How to export a user's mailbox to another user's mailbox ? CSA74 Linux - Server 2 01-10-2008 05:39 PM
Neutralize user's environment bengoavs Linux - Software 6 12-25-2007 04:17 PM
How to check English spell within a Chinese environment wuqso Linux - Software 0 01-06-2005 02:07 AM
Partition check, check double check Vincentius Linux - General 0 12-25-2004 05:47 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM


All times are GMT -5. The time now is 07:04 PM.

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