WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: user=bootcode enhanced by uid and gid  (Read 2180 times)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
user=bootcode enhanced by uid and gid
« on: March 02, 2015, 04:07:27 PM »
hello friends,

for compatibility-reasons it would be great to offer a bootcode
that either provides an alternative user with a pre-set uid and gid f.e. user=user:1001:100
or
that overwrites the uid and gid of the user tc f.e. user=tc:1001:100

in the moment my files on my ext4-partition are only readable by root, otherwise i need to chown them.

f.e. tc has the uid 1000
f.e. the first user in debian starts with the uid 1001

thank you for your interest.
« Last Edit: March 02, 2015, 04:11:48 PM by netnomad »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: user=bootcode enhanced by uid and gid
« Reply #1 on: March 02, 2015, 04:15:46 PM »
Patches welcome, seems like a useful feature.
The only barriers that can stop you are the ones you create yourself.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: user=bootcode enhanced by uid and gid
« Reply #2 on: November 15, 2015, 05:58:01 PM »
hi friends,

is there someone who has the ability to patch this feature?

thank you for your contributions.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: user=bootcode enhanced by uid and gid
« Reply #3 on: November 15, 2015, 06:05:35 PM »
Just add your own users and backup
/etc/passwd
/etc/shadow
/etc/group
/etc/gshadow