Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-21-2005, 10:29 AM   #1
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
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.

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

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


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

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

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