WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: autologin as root  (Read 3911 times)

Offline HMA

  • Newbie
  • *
  • Posts: 1
autologin as root
« on: May 16, 2014, 08:19:18 AM »
Hi Communtity :)

i am new at tinycore.

I want to use tinycore as a backup linux. i only need e terminal and some autostarted bash-scripts.
But it is necessary to be a root.

I know, how to edit the core image.

Is there a howto or anybody know a way to login as root at boottime and not as tc user?

I have already tryed out to modify the inittab but theres also some adduser commands in the /etc/tc-config .. so my knowledge is to small to get it work :(


Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: autologin as root
« Reply #1 on: May 16, 2014, 08:21:14 AM »
It is a bad practice to login and use system as root by default. Logon as ordinary user and use sudo only when necessary.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: autologin as root
« Reply #2 on: May 16, 2014, 08:41:31 AM »
It already does an auto login as root.
It is root's .profile that switches to tc.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: autologin as root
« Reply #3 on: May 16, 2014, 01:04:22 PM »
Please see the bootcodes (superuser).
The only barriers that can stop you are the ones you create yourself.