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.
HPGYT DELL 960GB SATA 6Gb/s 2.5in Internal SSD 0HPGYT MTFDDAK960TCB
$59.00
G5T03 Dell Intel DC S3700 Series 800GB SATA 6Gb/s 2.5" SSD 0G5T03 SSDSC2BA800G3E
$55.00
ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID
$58.99
M.2 NVME SATA SSD Enclosure USB 3.2 Gen 2 10Gbps for M-Key or M+B Key SSD to 8TB
$40.86
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$13.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT
$19.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$188.99
Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot
$178.19