Re: username is not in sudoers folder

2013-06-13 Thread Fred Roller
On 06/12/2013 08:00 PM, Tim wrote: John: If using "su -" regularly add this to /root/.bashrc to obtain the root prompt in red PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\] " Rejy M Cyriac: That is a good tip ...but probably not for the colour-blind ;-) Use inverse colours, then (black text on a

Re: username is not in sudoers folder

2013-06-12 Thread Tim
John: > > If using "su -" regularly > > add this to /root/.bashrc to obtain the root prompt in red > > > > PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\] " Rejy M Cyriac: > That is a good tip ...but probably not for the colour-blind ;-) Use inverse colours, then (black text on a coloured background)

Re: username is not in sudoers folder

2013-06-12 Thread Reindl Harald
Am 12.06.2013 01:05, schrieb Ian Malone: > I sometimes work with quite a lot of terminals, my two rules for doing this > are: > 1. Drop out of root as soon as you're done. > 2. If you can't remember the state of a given session close it and > start a new one. > > - For both paying attention to

Re: username is not in sudoers folder

2013-06-12 Thread Rejy M Cyriac
On 06/12/2013 01:54 PM, John Austin wrote: > On Tue, 2013-06-11 at 21:22 -0400, Doug wrote: >> On 06/11/2013 09:00 PM, Joe Zeff wrote: >>> On 06/11/2013 05:29 PM, Tim wrote: >> >>> Agreed. However, it can be argued that if you know enough to do that, >>> you should also know enough to be careful w

Re: username is not in sudoers folder

2013-06-12 Thread Fred Roller
On 06/10/2013 09:38 PM, Joe Zeff wrote: On 06/10/2013 06:10 PM, Doug wrote: You need to edit the sudoers file. You should find a copy that works and make yours look like that. (Hint: you need to add a line with your user name and the word ALL in it.) You can edit it with any editor, or if you kn

Re: username is not in sudoers folder

2013-06-12 Thread John Austin
On Tue, 2013-06-11 at 21:22 -0400, Doug wrote: > On 06/11/2013 09:00 PM, Joe Zeff wrote: > > On 06/11/2013 05:29 PM, Tim wrote: > > > Agreed. However, it can be argued that if you know enough to do that, > > you should also know enough to be careful with rm. As root, unless I'm > > deleting exac

Re: username is not in sudoers folder

2013-06-11 Thread Doug
On 06/11/2013 09:00 PM, Joe Zeff wrote: On 06/11/2013 05:29 PM, Tim wrote: Agreed. However, it can be argued that if you know enough to do that, you should also know enough to be careful with rm. As root, unless I'm deleting exactly one file, I use ls first to see exactly what I'm going to d

Re: username is not in sudoers folder

2013-06-11 Thread Joe Zeff
On 06/11/2013 05:31 PM, Tim wrote: Allegedly, on or about 11 June 2013, Matthew Miller sent: The prompt should be different for auth-as-self vs. auth-as-root. Sometimes a prompt is a rather vague you must authenticate type of phrase. Once it was pointed out to me, I looked, and it did ask f

Re: username is not in sudoers folder

2013-06-11 Thread Joe Zeff
On 06/11/2013 05:29 PM, Tim wrote: Never rely on that, not to mention that there are plenty of other commands that you can foolishly hose a system with. And you may not get that alias if you use one of the alternative shells. Agreed. However, it can be argued that if you know enough to do tha

Re: username is not in sudoers folder

2013-06-11 Thread Tim
Allegedly, on or about 11 June 2013, Matthew Miller sent: > The prompt should be different for auth-as-self vs. auth-as-root. Sometimes a prompt is a rather vague you must authenticate type of phrase. -- [tim@localhost ~]$ uname -rsvp Linux 3.8.13-100.fc17.x86_64 #1 SMP Mon May 13 13:36:17 UTC 2

Re: username is not in sudoers folder

2013-06-11 Thread Tim
Allegedly, on or about 11 June 2013, Joe Zeff sent: > there's a reason that by default rm for root is aliased to rm -i. Never rely on that, not to mention that there are plenty of other commands that you can foolishly hose a system with. And you may not get that alias if you use one of the altern

Re: username is not in sudoers folder

2013-06-11 Thread Joe Zeff
On 06/11/2013 04:05 PM, Ian Malone wrote: - For both paying attention to the #/$ prompt and CWD display are helpful. That's what I check whenever I switch to a given terminal (also useful to know which machine you're logged into). Arguably there's more potential for confusion if you normally only

Re: username is not in sudoers folder

2013-06-11 Thread Ian Malone
On 11 June 2013 20:03, Steven Stern wrote: > On 06/11/2013 01:24 PM, Joe Zeff wrote: >> On 06/11/2013 08:01 AM, Steven Stern wrote: >>> When you're done with whatever you did and you get distracted then >>> return to the computer, you'll probably forget you are logged in as >>> root. >> >> That's

Re: username is not in sudoers folder

2013-06-11 Thread Joe Zeff
On 06/11/2013 02:11 PM, Matthew Miller wrote: Here I think you're talking about the policykit dialogs in the desktop, right? The prompt should be different for auth-as-self vs. auth-as-root. Yes, it was. However, I'd been in the habit of putting root's password into those dialog boxes for so

Re: username is not in sudoers folder

2013-06-11 Thread Richard Vickery
ib64/mozilla/plugins,the result is username > is not in sudoers folder,this will be reported : What should I do ? > -- When I went through this, I just added my user to the sudoers file to fix it. Visudo is probably best, as Doug suggested earlier. Richard -- users mailing list users@lists.fe

Re: username is not in sudoers folder

2013-06-11 Thread Matthew Miller
On Tue, Jun 11, 2013 at 01:54:21PM -0700, Joe Zeff wrote: > I tried putting myself into wheel once when I did a clean install. > I found it very off-putting, to say the least, to find that giving > the root password when prompted (or so I thought) didn't work > because the system was expecting *my*

Re: username is not in sudoers folder

2013-06-11 Thread Joe Zeff
On 06/11/2013 01:23 PM, Matthew Miller wrote: Or, on Fedora, add yourself to the "wheel" group (and log out and in again). You can do this with "User Manager" tool in gnome, or with gpasswd wheel -a username as root or via sudo from another user with sudo privs. I tried putting myself into

Re: username is not in sudoers folder

2013-06-11 Thread Matthew Miller
input the command of sudo > >cp libflashplayer.so /usr/lib64/mozilla/plugins,the result is username > >is not in sudoers folder,this will be reported : What should I do ? > You need to edit the sudoers file. You should find a copy that works > and make yours look like that. (H

Re: username is not in sudoers folder

2013-06-11 Thread Rick Stevens
On 06/11/2013 12:32 PM, Joe Zeff issued this missive: On 06/11/2013 12:03 PM, Steven Stern wrote: On 06/11/2013 01:24 PM, Joe Zeff wrote: On 06/11/2013 08:01 AM, Steven Stern wrote: When you're done with whatever you did and you get distracted then return to the computer, you'll probably forge

Re: username is not in sudoers folder

2013-06-11 Thread Joe Zeff
On 06/11/2013 12:03 PM, Steven Stern wrote: On 06/11/2013 01:24 PM, Joe Zeff wrote: On 06/11/2013 08:01 AM, Steven Stern wrote: When you're done with whatever you did and you get distracted then return to the computer, you'll probably forget you are logged in as root. That's why you either l

Re: username is not in sudoers folder

2013-06-11 Thread Steven Stern
On 06/11/2013 01:24 PM, Joe Zeff wrote: > On 06/11/2013 08:01 AM, Steven Stern wrote: >> When you're done with whatever you did and you get distracted then >> return to the computer, you'll probably forget you are logged in as >> root. > > That's why you either log out from root or close the term

Re: username is not in sudoers folder

2013-06-11 Thread Joe Zeff
On 06/11/2013 08:01 AM, Steven Stern wrote: When you're done with whatever you did and you get distracted then return to the computer, you'll probably forget you are logged in as root. That's why you either log out from root or close the terminal as soon as you're done doing root stuph. -- u

Re: username is not in sudoers folder

2013-06-11 Thread Joe Zeff
On 06/11/2013 06:31 AM, Tim wrote: Once the command finishes, your terminal is left with your unprivileged logon, so there's less chance of serious mistakes happening by accident (e.g. badly wildcarded "rm" commands), if you're going to keep that terminal open. If you only need to run one comma

Re: username is not in sudoers folder

2013-06-11 Thread Doug
On 06/11/2013 01:52 AM, Fred Erickson wrote: On Mon, 10 Jun 2013 21:10:34 -0400 ...snip You need to edit the sudoers file. You should find a copy that works and make yours look like that. (Hint: you need to add a line with your user name and the word ALL in it.) You can edit it with any

Re: username is not in sudoers folder

2013-06-11 Thread Steven Stern
On 06/11/2013 08:31 AM, Tim wrote: > Allegedly, on or about 10 June 2013, Joe Zeff sent: >> To me, sudo is a fine tool if you want to give access to a few admin >> tools to people who don't (and shouldn't) know the root password. >> However, I can't see the point of using it if you're the person wh

Re: username is not in sudoers folder

2013-06-11 Thread Tim
Allegedly, on or about 10 June 2013, Joe Zeff sent: > To me, sudo is a fine tool if you want to give access to a few admin > tools to people who don't (and shouldn't) know the root password. > However, I can't see the point of using it if you're the person who > installed Linux and created the root

Re: username is not in sudoers folder

2013-06-11 Thread Tim
Allegedly, on or about 11 June 2013, Lingxian Guo sent: > About installing the plugin of the Adobe Flash Player for Firefox,I > know the file of libflashplayer.so should be copied to > /usr/lib64/mozilla/plugin. That approach for installing the Flash player is about the worst way to manage it. Y

Re: username is not in sudoers folder

2013-06-10 Thread Fred Erickson
On Mon, 10 Jun 2013 21:10:34 -0400 ...snip > You need to edit the sudoers file. You should find a copy that works > and make yours look like that. (Hint: you need to add a line with > your user name and the word ALL in it.) You can edit it with any > editor, or if you know vi, then you can

Re: username is not in sudoers folder

2013-06-10 Thread Joe Zeff
On 06/10/2013 06:10 PM, Doug wrote: You need to edit the sudoers file. You should find a copy that works and make yours look like that. (Hint: you need to add a line with your user name and the word ALL in it.) You can edit it with any editor, or if you know vi, then you can use visudo. You will

Re: username is not in sudoers folder

2013-06-10 Thread Doug
result is username is not in sudoers folder,this will be reported : What should I do ? You need to edit the sudoers file. You should find a copy that works and make yours look like that. (Hint: you need to add a line with your user name and the word ALL in it.) You can edit it with any editor, or if

username is not in sudoers folder

2013-06-10 Thread Lingxian Guo
About installing the plugin of the Adobe Flash Player for Firefox,I know the file of libflashplayer.so should be copied to /usr/lib64/mozilla/plugin.By Terminal,after I input the command of sudo cp libflashplayer.so /usr/lib64/mozilla/plugins,the result is username is not in sudoers folder,this