<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: running dtach on tty1 automatically after reboot... in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/running-dtach-on-tty1-automatically-after-reboot/m-p/3095779#M74482</link>
    <description>Yes, go to /etc/rc.d/init.d, create a batch that says :&lt;BR /&gt;dtach -arguments you want &amp;gt;tty1&lt;BR /&gt;And at rc3.d or rc5.d, according on if you use text or graphical boot, add a line looking like &lt;BR /&gt;S93batchname, replacing batchname with the name you choose for your batch, and 93 by the highest number you see (if last number is 87, use 88, and so on).&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
    <pubDate>Fri, 17 Oct 2003 06:17:30 GMT</pubDate>
    <dc:creator>Jerome Henry</dc:creator>
    <dc:date>2003-10-17T06:17:30Z</dc:date>
    <item>
      <title>running dtach on tty1 automatically after reboot...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-dtach-on-tty1-automatically-after-reboot/m-p/3095777#M74480</link>
      <description>hi all... &lt;BR /&gt;just want to know whether i can run dtach on tty1 automatically? meaning after i reboot the machine, dtach is already running and immediately i can run the application into its main console.&lt;BR /&gt;&lt;BR /&gt;also, after i exit. this dtach process always run...</description>
      <pubDate>Fri, 17 Oct 2003 04:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-dtach-on-tty1-automatically-after-reboot/m-p/3095777#M74480</guid>
      <dc:creator>bong_3</dc:creator>
      <dc:date>2003-10-17T04:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: running dtach on tty1 automatically after reboot...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-dtach-on-tty1-automatically-after-reboot/m-p/3095778#M74481</link>
      <description>generally to execute command upon boot edit the file /etc/rc.local and add the commands there.</description>
      <pubDate>Fri, 17 Oct 2003 04:57:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-dtach-on-tty1-automatically-after-reboot/m-p/3095778#M74481</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2003-10-17T04:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: running dtach on tty1 automatically after reboot...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-dtach-on-tty1-automatically-after-reboot/m-p/3095779#M74482</link>
      <description>Yes, go to /etc/rc.d/init.d, create a batch that says :&lt;BR /&gt;dtach -arguments you want &amp;gt;tty1&lt;BR /&gt;And at rc3.d or rc5.d, according on if you use text or graphical boot, add a line looking like &lt;BR /&gt;S93batchname, replacing batchname with the name you choose for your batch, and 93 by the highest number you see (if last number is 87, use 88, and so on).&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Fri, 17 Oct 2003 06:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-dtach-on-tty1-automatically-after-reboot/m-p/3095779#M74482</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-10-17T06:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: running dtach on tty1 automatically after reboot...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-dtach-on-tty1-automatically-after-reboot/m-p/3095780#M74483</link>
      <description>You may also be able to put dtach in the inittab as the program to run on the tty's?  I don't know much about dtach as I have never used it before, but I have some experience changing program that logs users in.  Check out your inittab for a line such as this:&lt;BR /&gt;&lt;BR /&gt;1:2345:respawn:/sbin/getty 38400 tty1&lt;BR /&gt;&lt;BR /&gt;you may want to change the program from /sbin/getty to something else, for example a shell script that prints "You can't login here".  I did that to my brother when he left his root passwd sticky noted to the bottom of his keyboard :) &lt;BR /&gt;&lt;BR /&gt;If dtach is able to replace getty you could call it directly as long as it behaves in a way that init expects.  ie, it dies cleanly :) Here is how init works:&lt;BR /&gt;&lt;BR /&gt;init scans you inittab, sees the line for tty1 and forks a child that just waits for the process to finish and if it found a respawn it will start the process again.  You could start any program you want to really.&lt;BR /&gt;&lt;BR /&gt;Just an idea :)&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 17 Oct 2003 15:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-dtach-on-tty1-automatically-after-reboot/m-p/3095780#M74483</guid>
      <dc:creator>Dave Falloon</dc:creator>
      <dc:date>2003-10-17T15:33:08Z</dc:date>
    </item>
  </channel>
</rss>

