DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can anyone tell me How to create an autorunning CD in Linux or Debian Linux.
That is : Once we insert the CD it should start running CD just like what happens in Windows OS installable CD. Once we insert the CD the installable packages will be listed out of which we select the pacakges to be installed. How this can be done in Linux.
we are working for a distro and we created installable CD also. Now we are tring to create a second CD which will have extra pacakges to be installed later. so when we insert the CD it shd list out the pacakges list out of Which the user will select the pacakges to be installed. So this CD should start running once we insert the CD.
So can any one tell me how we can create an autorunning CD..
As for Debian or GNU/Linux in general, you can't (...and even if you could, you really shouldn't).
Whetter a system will auto-mount your CD relies entirely on the way the OS is configured (and the software it uses).
Quote:
we are working for a distro and we created installable CD also. Now we are tring to create a second CD which will have extra pacakges to be installed later. so when we insert the CD it shd list out the pacakges list out of Which the user will select the pacakges to be installed. So this CD should start running once we insert the CD.
If the default setup for this disro allows auto-mounting, your CD will pop up anyway.
So it all depends on the distro and way it's configured.
As for Debian or GNU/Linux in general, you can't (...and even if you could, you really shouldn't).
Whetter a system will auto-mount your CD relies entirely on the way the OS is configured (and the software it uses).
Our OS detects the CD automatically. If we insert a CD while our distro is running then the CD is opened in a window automatocally
Quote:
Originally Posted by jens
If the default setup for this disro allows auto-mounting, your CD will pop up anyway.
What is the default setup that our distro should support. Can you give me any steps regading this that that how we can make a file to run immediately.
What is the default setup that our distro should support. Can you give me any steps regading this that that how we can make a file to run immediately.
If it can do automatic mounting (as you said it does) that should be enough.
Making "a file to run immediately" without the users permission is by all means a horrible idea and would require you to nuke your system's security.
As for your addon cd, take a look at the Ubuntu addon cd.
It basically pops up an installer using it's Automatics script(also used by other projects like "DebCentral Config").
I have seen the links that u specified. But no where it is given how to create the Add On CD. I have seen the link where Ubuntu explained about their AddOn CD .. http://ubuntuforums.org/showpost.php?p=150088
But I dint understand how to create such CD. They mentioned about some script called ug-install.sh which is resposnsible for creating an auto installing CD .
What does that script contain. Where can I get some more information about this.??
That's a very nice feature for getting root access if you have physical access.
Insert a cd that autoruns an exploit, give you root access and shut down the screensaver.
That's a very nice feature for getting root access if you have physical access.
Insert a cd that autoruns an exploit, give you root access and shut down the screensaver.
Means that depending on how you will configure your autorun, you are considerably lowering the security FOR PHYSICAL ACCESS ONLY.
Imagine: the screensaver for user ploum is running. The machine is phisically secure. I insert a CD which has one nasty binary, say a virus.
Your autorun executes it.
Game over.
I am not going to make all the CD's autorun. I want to make only my CD which will have packages list and that list to be popped out as soon as we insert the CD.
idraveni, the point they are trying to drive across is how are you going to decided which cd's are auto run or not. You would have to modify how secure the system is for physicall access and once you lower that security a person inserting the wrong cd could cause major issues for the OS. I don't think auto run cd's have a place, if the user is placing the cd in the tray they know what they want to do and if your distro is all ready auto mounting it I don't think you need to do anything else/
idraveni, the point they are trying to drive across is how are you going to decided which cd's are auto run or not. You would have to modify how secure the system is for physicall access and once you lower that security a person inserting the wrong cd could cause major issues for the OS. I don't think auto run cd's have a place, if the user is placing the cd in the tray they know what they want to do and if your distro is all ready auto mounting it I don't think you need to do anything else/
Well, it all depends on what you mean by "auto run" cds. If his OS is setup as he said, every CD with a valid file system will auto run. Configuring your OS to allow auto running any app from the CD without asking for a password is indeed insane (I also don't see any benefit in this).
However, I don't see what it has to do with fhysical access and security. An addon CD is(or make that "should be") no different from any other CD. In Ubuntu's case, it just pops up an installer instead of an other file. It will still ask you for a password. As for fhysical access and security, it doesn't exist (A live CD/floppy will be enough to get full access on any system with "fhysical acces").
Quote:
I have seen the links that u specified. But no where it is given how to create the Add On CD. I have seen the link where Ubuntu explained about their AddOn CD .. http://ubuntuforums.org/showpost.php?p=150088
But I dint understand how to create such CD. They mentioned about some script called ug-install.sh which is resposnsible for creating an auto installing CD .
What does that script contain. Where can I get some more information about this.??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.