-
Senior Member
registered user
Re: Help! Can't su knoppix in chrooted files system.

Originally Posted by
arkaine23
It says-
Can't sudo, must be setuid root.
But I am root and I'm using su knoppix. I thought I could set a root passwd as you normally would and so I used passwd root. Then this trouble started and I can't become knoppix anymore. What should I do to fix it?
Not sure what you mean by "can't become Knoppix anymore" Have you done a hard drive install? If so log in as root, open a term and do this:
adduser <someusername>
And just enter BillyJimJoeBob or whatever username you want. Follow along and you'll have a username you want instead of Knoppix. Then as root you'll need to add your new username to /etc/sudoers and the new user will be able to do thigs as root. Here is my /etc/sudoers file:
Code:
# sudoers file.
#
# This file MUST be edited with the "visudo" command as root.
#
# See the man page for details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
glenn ALL=NOPASSWD: ALL
This way I can just use sudo and not have to enter a password each time.
If you want to change root password then log in as root and run passwd. It simplifies things.
HTH (If I've totally misunderstood you post back).
Similar Threads
-
By phdzg in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 02-08-2005, 11:46 PM
-
By rahtz in forum Customising & Remastering
Replies: 1
Last Post: 09-06-2004, 10:23 PM
-
By Aleu in forum Customising & Remastering
Replies: 12
Last Post: 09-02-2004, 09:26 PM
-
By purplehaze in forum General Support
Replies: 4
Last Post: 06-25-2003, 06:54 PM
-
By VeeDubb in forum General Support
Replies: 2
Last Post: 03-21-2003, 06:37 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$250.00

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99

Supermicro CSE-815-5 4B LFF Xeon E3-1245v6 16GB DDR4 1x 9361-8i 4x 1TB SATA HDD
$483.99

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server
$689.00

Supermicro 505-2 Server
$280.00

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99