LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-03-2009, 09:37 AM   #1
alpha_lt
Member
 
Registered: Jul 2009
Location: Denmark
Distribution: Fedora
Posts: 95

Rep: Reputation: 15
Configuring as user and as group


Hello,

I've mentioned in some howto's that they use such syntax for configuring software sources:

install_user:nobody install_group=nogroup ./configure


What's the point of using these directives ? Is it about security ? And what really does these directives ? Sets chown on installation files or what ?
Thanks in advance.

Regards,
alpha
 
Old 11-03-2009, 10:36 PM   #2
chiragrk
Member
 
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
Some configure script needs parameters install_user and install_group - these are getting set in the line you pasted above, before ./configure is executed.
nobody and nogroup are user and group in some linux distros like debian. These are used to run processes with minimum privileges - so I guess its got something to do with security.
If you need to find out what exactly nobody user is doing you will have to analyse the configure script.
 
Old 11-04-2009, 06:28 AM   #3
alpha_lt
Member
 
Registered: Jul 2009
Location: Denmark
Distribution: Fedora
Posts: 95

Original Poster
Rep: Reputation: 15
Thank you for answer.
Can you tell me in general if I do not use any install_user and install_group scripts what owner of configured package will be ? User which was loggen in when made configure ? Ok will it be security risk if I configure as root ?

Regards,
alpha
 
Old 11-05-2009, 04:51 AM   #4
chiragrk
Member
 
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
It all depends on whats inside the configure file. Good configure scripts would error out if a *needed* variable isn't set, some would default those variables to some value. The bad ones will just error out in between .

Whether or not using root for install will pose a security risk totally depends on what kind of resources the process/script will access/create. Just as an example, if there's a vulnerability in the process and its been running as root, you could compromise/de-stabilize the system.
 
Old 11-05-2009, 05:05 AM   #5
alpha_lt
Member
 
Registered: Jul 2009
Location: Denmark
Distribution: Fedora
Posts: 95

Original Poster
Rep: Reputation: 15
Thank you. Now I understand whole thing. Thank you !
 
  


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
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 01:14 PM
user ID group ID cad Linux - General 7 02-01-2007 09:36 AM
User and Group Admin: How to tell Who is in What group? Akhran Linux - Newbie 1 11-12-2005 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:43 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