Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Tim
Allegedly, on or about 14 June 2013, staticsafe sent: > visudo does some syntax checks to check for errors in the edit. As well as ensuring that your edits are accepted. It's possible to edit the file, and thanks to the timing of when you did the edit, and other things happening on the system, th

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Tim
Doug: > In my sudoers, that line ... which is this line:%wheel ALL=(ALL) ALL > is commented out, and should be. You don't want everybody and his > brother to have sudo privileges. It doesn't need to be. Because no users are in the wheel group unless you customise things when setting up the

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Matthew Miller
On Fri, Jun 14, 2013 at 03:17:06PM -0700, jackson byers wrote: > from: > http://www.mjmwired.net/resources/mjm-fedora-f17.html >Personal Fedora 17 Installation Guide >by Mauriat Miranda (http://www.mjmwired.net/contact/) >echo 'loginname ALL=(ALL) ALL' >> /etc/sudoers >Where 'loginn

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Reindl Harald
Am 14.06.2013 20:51, schrieb Steven Stern: > On 06/14/2013 01:43 PM, Matthew Miller wrote: >> On Fri, Jun 14, 2013 at 01:04:13PM -0400, Doug wrote: >>> ## Allows people in group wheel to run all commands >>> %wheel ALL=(ALL) ALL > This line *IS* uncommented by default.

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread jackson byers
from: http://www.mjmwired.net/resources/mjm-fedora-f17.html Personal Fedora 17 Installation Guide by Mauriat Miranda (http://www.mjmwired.net/contact/) echo 'loginname ALL=(ALL) ALL' >> /etc/sudoers Where 'loginname' is your user account. easier for me, no need for that awful 'vi'

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Joe Zeff
On 06/14/2013 01:04 PM, Matthew Miller wrote: Oh no. Start with 'sudo bash' or 'sudo su'. People do this all the time. Then `unset HISTFILE`. Then do the above not with sudo. But this is very off-topic. It is and it isn't. If nothing else, it makes it clear just how easy it is to gain un-log

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Matthew Miller
On Fri, Jun 14, 2013 at 12:21:44PM -0700, Joe Zeff wrote: > > sudo cp /bin/bash /bin/mylocalshell > > sudo mylocalshell > >I know this is preventable, but it's something to think about. No one > >should have sudo who you would not trust with root itself. sudo just > >adds a layer of accountabil

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Joe Zeff
On 06/14/2013 11:51 AM, Steven Stern wrote: OK, let's now have some fun sudo cp /bin/bash /bin/mylocalshell sudo mylocalshell I know this is preventable, but it's something to think about. No one should have sudo who you would not trust with root itself. sudo just adds a layer of acco

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Matthew Miller
On Fri, Jun 14, 2013 at 01:51:42PM -0500, Steven Stern wrote: > >> %wheel ALL=(ALL) ALL > This line *IS* uncommented by default. > >>> Hmmm... Maybe it's been so long since I've had to do it. In any case, > >>> it was commented on the two CentOS 6 systems I just set up. > >> In m

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Steven Stern
On 06/14/2013 01:43 PM, Matthew Miller wrote: > On Fri, Jun 14, 2013 at 01:04:13PM -0400, Doug wrote: >> ## Allows people in group wheel to run all commands >> %wheel ALL=(ALL) ALL This line *IS* uncommented by default. >>> Hmmm... Maybe it's been so long since I've had to d

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Matthew Miller
On Fri, Jun 14, 2013 at 01:04:13PM -0400, Doug wrote: > ## Allows people in group wheel to run all commands > %wheel ALL=(ALL) ALL > >>This line *IS* uncommented by default. > >Hmmm... Maybe it's been so long since I've had to do it. In any case, > >it was commented on the two

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Doug
On 06/14/2013 12:42 PM, Steven Stern wrote: On 06/14/2013 08:11 AM, Matthew Miller wrote: remove the comment before the 2nd line here so it looks like this: ## Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL This line *IS* uncommented by default. Hmmm... M

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Steven Stern
On 06/14/2013 08:11 AM, Matthew Miller wrote: >> remove the comment before the 2nd line here so it looks like this: >> > ## Allows people in group wheel to run all commands >> > %wheel ALL=(ALL) ALL > This line *IS* uncommented by default. > Hmmm... Maybe it's been so long since I've h

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread staticsafe
On Fri, Jun 14, 2013 at 11:25:39AM -0400, Doug wrote: > On 06/14/2013 12:37 AM, LingxianGuo wrote: > >As a beginner,I am using Fedora18 64bit.The Firefox needs the plugin of > >the Adobe flash Player,I have downloaded the file of > >install_flash_player_11_linux.x86_64.tar.gz.By terminal, when I co

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Matthew Miller
On Fri, Jun 14, 2013 at 11:25:39AM -0400, Doug wrote: > While you are "supposed" to use visudo to edit sudoers, that > requires that you know how to use the vi editor. Visudo is designed > to catch mistakes that you make. However, you can edit sudoers with > any editor; it is only a text file and d

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Doug
On 06/14/2013 12:37 AM, LingxianGuo wrote: As a beginner,I am using Fedora18 64bit.The Firefox needs the plugin of the Adobe flash Player,I have downloaded the file of install_flash_player_11_linux.x86_64.tar.gz.By terminal, when I copied the file of libflashplayer.so to /usr/lib64/mozilla/plugin

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Matthew Miller
On Fri, Jun 14, 2013 at 07:38:40AM -0500, Steven Stern wrote: > remove the comment before the 2nd line here so it looks like this: > ## Allows people in group wheel to run all commands > %wheel ALL=(ALL) ALL This line *IS* uncommented by default. > Still as root, edit the groups file:

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Steven Stern
On 06/13/2013 11:37 PM, LingxianGuo wrote: > As a beginner,I am using Fedora18 64bit.The Firefox needs the plugin of > the Adobe flash Player,I have downloaded the file of > install_flash_player_11_linux.x86_64.tar.gz.By terminal, when I copied > the file of libflashplayer.so to /usr/lib64/mozilla/

Re: Ask detail operate process about edit sudoers file by terminal

2013-06-14 Thread Michael E. Maher
On Fri, 2013-06-14 at 12:37 +0800, LingxianGuo wrote: > As a beginner,I am using Fedora18 64bit.The Firefox needs the plugin of > the Adobe flash Player,I have downloaded the file of > install_flash_player_11_linux.x86_64.tar.gz.By terminal, when I copied > the file of libflashplayer.so to /usr/lib

Ask detail operate process about edit sudoers file by terminal

2013-06-13 Thread LingxianGuo
As a beginner,I am using Fedora18 64bit.The Firefox needs the plugin of the Adobe flash Player,I have downloaded the file of install_flash_player_11_linux.x86_64.tar.gz.By terminal, when I copied the file of libflashplayer.so to /usr/lib64/mozilla/plugins,the result is my user name is not in the fi