Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: lovelypp on March 29, 2023, 08:38:00 PM

Title: question about sudoers when run "sudo su"
Post by: lovelypp on March 29, 2023, 08:38:00 PM
when  running "sudo su" as tc,  want user to  input password, how ?

thanks
Title: Re: question about sudoers when run "sudo su"
Post by: aus9 on March 29, 2023, 11:09:00 PM
Hi

I am not sure by "user" you mean "you" or another user sharing your PC

until you get a better answer....
Code: [Select]
sudo sudoes not need a password set and will then allow you to run multiple root commands.

If you need a root password set.....such as setting up a printer then try, for this session,
Code: [Select]
sudo passwd
input your password, press enter and re-input.

this password is not saved unless you choose to backup your changes.

2) cups does not care what password you used when you first set a password, 2 weeks later,
if you have to make a change to printer that needs root password,  create a new password.

Hope that helps