-
Re: It shows me an error

Originally Posted by
RHCA
...
sudoers file ... should be on 440 or something like this.
...
This is correct!
Explanation: sudo is the "owner" of "/etc/sudoers" and allows to the owner (=itself) and to group members only read-access-rights to "/etc/sudoers" when executing sudo and forbids all other access-rights.
FYI: file-access-rights are coded like this:
0400 Allow read by owner.
0200 Allow write by owner.
0020 Allow write by group members.
0040 Allow read by group members.
Adding these codes means that access-rights are granted for the individual rights expressed by the unique summands.
So 0660=660 is the unique sum of 0200,0400,0020,0040 with the obvious rights.
But only 0440=440 being the (unique!) sum of 0400 and 0040 are allowed.
So, change these access-rights accordingly with the chmod-command in root-user mode:
$ su -
and then
# chmod 440 /etc/sudoers.
That's it!
Hth
-nohype
Similar Threads
-
By logicmaster2003 in forum Customising & Remastering
Replies: 2
Last Post: 01-07-2006, 10:09 PM
-
By waellinux in forum General Support
Replies: 2
Last Post: 04-30-2005, 05:36 PM
-
By clarjon1 in forum Tips and Tricks
Replies: 2
Last Post: 03-11-2005, 10:05 PM
-
By rrfish72 in forum General Support
Replies: 19
Last Post: 08-08-2004, 04:14 AM
-
By ptesone in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-18-2004, 07:01 PM
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

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

Lenovo 00YK615 Intel X710-DA2 10GbE 2-port SFP+ PCI-E FC Network Adapter NIC
$27.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

HPE 10/25G SFP28 2P MCX562A-ACAI OCP3 NIC Network Adapter 2 Port 10GbE 25GbE 25G
$485.00