WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: user boot option  (Read 4640 times)

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
user boot option
« on: January 09, 2009, 02:14:13 PM »
The "user=" boot option does not work (tinycore 1.0).

In /etc/init.d/rcS, line 64 reads:
/bin/adduser -s /bin/sh -g staff -d "/home/$USER" "$USER"

It fails with the error message:
/bin/adduser: invalid option --d

I believe the option to create a user directory with busybox's adduser is "-h" instead of the familiar "-d" for useradd.

A snapshot is attached showing the result of booting with "tinycore user=foo pause"

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: user boot option
« Reply #1 on: January 09, 2009, 02:47:18 PM »
Currently many places are referencing user tc and  /home/tc. Multi-user support is currently not implemented.
But I am aware of this and currently working on it for TC 1.1 as well as improved persistency options.


EDIT: I have finished the first alpha cut of 1.1 and am currently testing.
Likely early next week for public release candidate of 1.1
« Last Edit: January 09, 2009, 04:08:00 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: user boot option
« Reply #2 on: January 11, 2009, 11:28:55 AM »
Implemented in 1.1. While not the focus of TC it can be useful when combined with persistent home.
10+ Years Contributing to Linux Open Source Projects.

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: user boot option
« Reply #3 on: January 13, 2009, 11:59:23 AM »
Thanks for the quick attention. It's a nice feature.