WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Questions about 'Users and Root'  (Read 3181 times)

Offline loppanjo

  • Newbie
  • *
  • Posts: 18
Questions about 'Users and Root'
« on: April 08, 2016, 10:38:13 AM »
Hello there.
A few questions about the users already on the system.
-WHY do TinyCore doesn't want u to use 'Root'?
-Why isn't it possible to change 'Root's password and login as 'Root'?
-What are the other users for? I know I use 'tc' to login but the other two ('lp', 'nobody').
-Can I remove the other users ('lp', 'nobody') without messing anything up?

This may be the shittiest english ever, sry for that ;)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Questions about 'Users and Root'
« Reply #1 on: April 08, 2016, 11:01:05 AM »
You should not login as root.  If you need to run a program that requires root access, use sudo.
In order to login as root you will need to use the noautologin boot code.  The .profile will switch to user tc though.
You can use the passwd command to change the password, but to make it persistent you need to add etc/shadow to the /opt/.filetool.lst file and do a backup.

You should not be removing users from /etc/passwd.  They are there to define access rights for system daemons.
Please read the book at http://tinycorelinux.net/book.html
You may also want to read http://rute.2038bug.com/index.html.gz

Offline loppanjo

  • Newbie
  • *
  • Posts: 18
Re: Questions about 'Users and Root'
« Reply #2 on: April 08, 2016, 01:00:42 PM »
But couldn't someone else use these other users to login to my system?

And is it possible to create a new user and remove the user 'TC'?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Questions about 'Users and Root'
« Reply #3 on: April 08, 2016, 01:19:05 PM »
1. No.
2. Not recommended.

Please learn how Tiny Core works before attempting changes.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Questions about 'Users and Root'
« Reply #4 on: April 08, 2016, 03:42:15 PM »
As stated, the "lp" and "nobody" are only system definitions, not regular users.
The only user is "tc",which is "admin" user with root rights option via "sudo".
For regular use, change the password for "tc" to something high secure and use this account only for "admin" purposes.
Than create another user with only "staff" access to use as a "user" and use it for daily work.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Questions about 'Users and Root'
« Reply #5 on: April 08, 2016, 04:21:43 PM »
If you change/assign pasword for tc, configure and backup to make it persistent.

But I kindly advice to leave as it is, learn TC and later review the subject.
Béla
Ham Radio callsign: HA5DI

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