I've solved some of my problem. I got sudo to work, which gives me the functionality I need, but I still am having problems getting su to work.
PAM still gives me:
authentication failure; knewuser (uid=1001) -> root for su service
I'm new to debian based linux, and I've been trying to add new users to the Knoppix CD before remastering the CD. But I cannot get the proper functionality for the users.
For example, I'm creating a new user "knewuser" which I would like to be similar to the "knoppix" user, but with a password required on login. I want this user to be able to use "su" or "sudo" to do some admin work. I have created the user in the miniroot, and in KNOPPIX . I can log in as this user, but I cannot seem to get su or sudo to work for this user.
I have edited groups (adding this user to the sudo group), and sudoers. It is a permissions problem, but I'm not sure where else to look. Can anyone shed light here?
Regards
I've solved some of my problem. I got sudo to work, which gives me the functionality I need, but I still am having problems getting su to work.
PAM still gives me:
authentication failure; knewuser (uid=1001) -> root for su service
What did you do to get sudo to work?Originally Posted by Anonymous
Regards,
http://www.courtesan.com/sudo/man/sudoers.htmlOriginally Posted by A. Jorge Garcia
Check the sudoers file and make sure that the user can su.
Intel Core i7-14700K - 14th Gen 20-Core (8P+12E) LGA 1700 125W CPU Processor
$373.96
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$444.99
Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...
$305.99
10th GEN INTEL Core i5-10400F 2.9GHz Socket-1200 Desktop CPU SRH3D Processor
$69.99
Intel Core i7-2600 - 3.40GHz Quad Core CPU Processor
$23.95
Ryzen 5 5600X3D AMD Vermeer AM4 3.3GHz 6 Core CPU Processor
$189.99
Intel Core i7 CPU Processors, I7 2600, i7 3770, i7 4770, i7 4790
$28.99
Intel Core i5-12400F - 6-Core 2.5GHz 12th Gen Alder Lake LGA 1700 65W CPU
$109.94
Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150
$64.99
Intel Xeon E5-2697 v4 2.3GHz 18-Core Processor CPU LGA2011 SR2JV
$49.99