[vox-tech] question on auto-running a program

David Hummel ddhummel at pacbell.net
Wed Jun 9 16:31:57 PDT 2004


On Wed, Jun 09, 2004 at 04:47:55PM -0700, Richard Ely wrote:
> 
> I have a recent Debian Distro.
> 
> When I log onto my machine as user, I am not connected because I have
> to "ifup eth0" as su.  So I can change to su.  type "ifup", then exit
> back to user.  Not efficient.
> 
> I want my son to use this machine and I do not want him to be su.  How
> can I have the system always issue that command as su on boot-up no
> matter who logs on?

The following line should be present in /etc/network/interfaces:

auto eth0

This will bring up eth0 automatically on boot.
(see ifup(8) and interfaces(5)).



More information about the vox-tech mailing list