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.
Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS
$2749.99
Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU
$399.04
Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays
$1849.00
Dell PowerEdge R740XD Server | 2x Gold 6140 | 128GB | H730P | 8x 3.5" HDD Tray
$2589.00
Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU
$44.99
Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H
$27.99
Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7
$17.99
Intel Xeon e5-2698v3 2.30Ghz 16 Core 32 Thread CPU SR1XE
$20.99
Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia
$85.50
Intel Xeon Gold 6238 2.1GHz 30.25MB 22-Core LGA 3647 CPU / Processor ___ SRFPL
$379.99