LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-21-2005, 10:29 AM   #1
garba
Member
 
Registered: May 2005
Location: Italy
Distribution: Crux
Posts: 62

Rep: Reputation: 15
login run from root-owned xterm


good day, i set up my box to start an X server on system boot and then have init spawn an xterm on it, which in turn runs /bin/login on startup... problem is, the xterm the login process is called from is owned by root, and i was wondering if this could poise a security treat... im playing around with this solution on my home machine for now, and find it way more convenient than relying on the framebuffer to have a nice, high res console to work with, I am wondering if this could be suitable for a production environment though... thanks in advance for your feedback, regards
 
Old 07-23-2005, 11:18 AM   #2
mattLSO
Member
 
Registered: Jun 2005
Posts: 43

Rep: Reputation: 15
As long as you run xterm with the -e /bin/login and not some script it should be ok, as when login exits the xterm should too.

Regards
 
Old 07-23-2005, 11:19 AM   #3
mattLSO
Member
 
Registered: Jun 2005
Posts: 43

Rep: Reputation: 15
Also a window manager should not be running
 
  


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
How to run a script as root upon login zugvogel Linux - Newbie 7 09-09-2005 11:10 AM
all users have access to root owned files sakatola Linux - Security 2 07-22-2005 12:45 AM
Why not run always login as root? KaptinKABOOM Linux - General 8 07-18-2004 07:23 AM
Make a file owned by root owned by a user sharpie Linux - Newbie 2 02-26-2004 01:26 AM
vfat mount - all files are 'root' owned, but even root can't -WX d33pdream Linux - General 5 02-28-2003 02:38 AM

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

All times are GMT -5. The time now is 04:11 AM.

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