LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-14-2003, 01:02 PM   #1
gallet
Member
 
Registered: Aug 2003
Posts: 34

Rep: Reputation: 15
Question Problem with .profile file


I am using a legacy application in my unix SCO box, so i have defined in the .profile file for each user to go into the application. which is the problem? each user have a terminal emulator in their windows OS, every time when the user go into the application you have to put a username, but without a password, once the application is opened you have to put a username and password but for the application, so to point out the problem when i telnet the unix box for example:

c:\>telnet 10.x.x.x

login:john
if i press enter and at the same time a press the delete key rather than open the application it goes to the unix shell, so do not you think this is a security threats.

Pls: If someone can help me i would be appreciate
 
Old 10-14-2003, 03:49 PM   #2
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
gallet,

If you want the user only to run the application, change their shell to the application, not /bin/sh (or whatever). When the application exits, the user should be logged out. Of course, if the app lets you run the shell, this won't close any security threats.

Good Luck,
chris
 
  


Reply



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
user's profile file alaios Fedora 0 07-12-2004 06:57 PM
Why does /etc/profile take precedence over my .bashrc file? MDesigner Linux - Newbie 8 06-29-2004 08:55 PM
Xfree86 update and profile-file Warlon Linux - Software 1 03-26-2004 06:11 AM
Profile file for redhat? KaktusKnight Linux - General 3 06-19-2003 12:17 AM
how to create the .profile file.what command?thanks:) kenisalen Linux - Newbie 1 11-06-2002 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:39 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
Open Source Consulting | Domain Registration