WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: login as root  (Read 3589 times)

Offline wjp79

  • Newbie
  • *
  • Posts: 4
login as root
« on: December 14, 2012, 10:07:46 AM »
I building a remaster CD.
At the boot of the CD it runs a script which needs root to function. .
Because I dont want to rewrite my whole script (it was used before on a knoppix remaster CD) I would like to boot the CD as root!!!

Is there a list of cheatocdes I can use, or is there another way?

Greets
WJP

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: login as root
« Reply #1 on: December 14, 2012, 10:12:23 AM »
The scripts /opt/bootsync.sh and /opt/bootlocal.sh are intended for running custom scripts at startup.  They run as root.

Offline wjp79

  • Newbie
  • *
  • Posts: 4
Re: login as root
« Reply #2 on: December 14, 2012, 10:26:49 AM »
Hello,

Allright, did not knew that..

Thank you.