Gentoo Archives: gentoo-user

From: Tanstaafl <tanstaafl@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Allow non root users to edit files owned by root?
Date: Tue, 20 Dec 2011 15:06:06
Message-Id: 4EF0A415.8020007@libertytrek.org
1 Hi all,
2
3 I'm guessing this is a sudo question, but I'm unfamiliar with the
4 nuances of sudo (never had to use it before).
5
6 I have a new hosted VM server that I want to allow a user to be able to
7 edit files owned by root, but without giving them the root password.
8
9 I already did:
10
11 /usr/sbin/visudo
12
13 and added the following line:
14
15 %sudoroot ALL=(ALL) ALL
16
17 and made sure the user is in this group, but they still get an access
18 denied error when trying to mv or cp files that are owned bu root.
19
20 What is the best way to do this? I'd really prefer to not give them the
21 root password so they can su -...
22
23 Thanks,
24
25 Charles

Replies

Subject Author
Re: [gentoo-user] Allow non root users to edit files owned by root? Michael Mol <mikemol@×××××.com>
[gentoo-user] Re: Allow non root users to edit files owned by root? Nikos Chantziaras <realnc@×××××.de>