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.
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O
$99.00
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$47.55
ASRock H110 Pro BTC+ LGA 1151 Intel H110PROBTC Motherboard w/processor+heatsink
$69.99
***NEW*** BCM RX67Q mATX Gaming Motherboard Combo | Intel i5-3470 | 16GB DDR3
$49.77
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99