Show sudo-disclaimer more than once

The first time one uses sudo this message appears:
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
However, this message only appears once. Is there a way to show it every time sudo is used ?

You need to edit "/etc/sudoers" and set the "lecture"
value to "always".
http://www.sudo.ws/sudo/man/sudoers.html
Thanks a lot !
My /etc/sudoers was pretty empty, so I really needed to read the f. manual
Who doesn't want to do that, just add
Defaults lecture = always
under the "# Defaults specification" line of the file. No garantuees however. If you're editing the file in a productive enviroment, make sure to use the visudo editor.
And remember.... With great power comes great responsibility

Similar Messages

  • TS3276 the connection dr. shows my acounts more than once

    I cannot send emails from any of my accounts(I have 3) everything was fine yesterday, this morning i went to send an email and I cannot. the connection Dr. shows my accounts 2 times - Once with a green dot but also shows them(repeated beneath the green dots) with red dots? The Network connection button is greyed out? Any suggestions.

    Thank you for your reply. I started doing as you suggested, I was hoping I could delete the offending accounts through the Connection Dr.(wishfull thinking) Only because the Offending accounts are also the green dot accounts. For some reason they are repeated: so I have a hotmail acct that is both a green and a red dot I have a Go Daddy account that is both green and Red - I cant even take them all "offline" and put them back "online" because according the status in the Mail Application the accounts are "online" but according to the preferences>accounts>outgoing mail sever they are all "offline". very confusing especially considering They work fine one night the next morning all this. I will try your advice I was nervous I would loose everything if i deleted the account but I am realizing now that shouldn't happen. Thanks again for your help.

  • Why does it show a user more than once in Users On...

    At times I see that the same forum id is shown logged in twice on the Users Online
    Is this just me going mad?
    -+-No longer a forum member-+-

    Hi DS,
    That happens when the site's related cookies (viewable under options in your browser) have not cleared and the timeout session has not been registered. It doesn't affect your minutes online so you can either delete your cookies or just let it be. It has no negative effect so no need to worry.
    Thanks.

  • The same SMS messages are showing more than once

    Hi,
    On my SMS page, my message threads are showing up more than once ,
    How would I go about fixing this?

    Hello,
    Maybe helps you:
    *[http://kb.mozillazine.org/Repeatably_downloading_the_same_messages]

  • When i put an app on m my iphone to show in lock screen it rings more than once

    when i put an app on m my iphone to show in lock screen it rings more than once

    When I go to settings/ notifications and select an app's notification and select on in the "view in lock screen* the msg tone rings more than once but when I turn it off it ring once.
    What should I do to make the msg appears in lock screen but only notify me once

  • Facebook is showing more than once in the HUB !

    Dear All,
    I noticed that my Facebook is showing more than once in the HUB ! and everything instance of it is displaying something different than the other. Old instances are displaying old notifications that I have deleted a long time ago!
    Each time a login and logout of the Facebook app, a new instance is created inside the HUB ! it seems that there is a serious bug in either the HUB or Facebook !!
    How can I fix this ?
    Yasser Youssef
    Solved!
    Go to Solution.

    found the solution here:
    http://forums.crackberry.com/blackberry-z10-f254/two-facebook-accounts-showing-hub-834878/
    thanks FB developers !!! 
    Yasser Youssef

  • Albums Showing up more than Once

    I have two albums that are showing up more than once, and the album is only on the i pod once, and it is only under the "album" section. I have already restored the i pod and re put every back on the i pod. Does anyone one know how to fix it?

    Repeat albums are normally caused by minor spelling differences or the presence of guest artist information in the artist field. Select all the tracks of the album and get info (CTRL-I for Windows, OPTION-I for Mac). Check that you have values for all the fields you think should be the same across the album, particularly *Album Artist*, *Album Title* and, if no guest artists are listed, Artist. If you have guest artists you can either move this information into the track title, e.g. append *(Feat. Guest)* or change the *Sort Artist* of each affected track to the value of the *Album Artist*.
    tt2

  • TS1292 How come it doesn't show the amount of money there is s gift card?  I tried putting in the code more than once, but all it says is that the card has already benn redeemed?

    How come it doesn't show how much money there is left in my iTunes gift card?  I have tried putting in the code more than once, but all my tablet says is that the card has already been redeemed.

    I haven't got access to the server right now (so I can't provide the complete details), but something like 6-700 GB (which is more than it shows in the client time machine windows, but less than what is true (which was around 1,5 TB))

  • Why would aperture load more than once?

    I understand that when I first load my RAW photos into Aperture it needs to generate a preview and so that's why it slows down and shows me "loading...". If I want to bypass this I can use quick preview mode. That's how I understood it so far. But I don't understand why it would need to load again at a later time? If I browse elsewhere and come back to this project, it'll start loading again. Does Aperture for some reason deletes the preview?

    1) How do I force aperture to generate preview for everything, and not one by one. I'd rather go away and let the computer do its thing for a while than get disturbed every time I hop to the next photo.
    You can select all images in the Browser and use the command "Photos > Update/Generate Previews" (Update will turn into "Generate", if hold down the ⌥ alt/options key). This way you can generate the previews over night.
    2) Also this still doesn't explain why it needs to be done more than once? Why would it generate the preview again if I haven't changed any adjustments etc?
    It will only keep and store the preview permanently, if you have enabled the sharing of previews in the "Preferences > Preview" tab. If you do not enable this, Aperture will not store the previews, to save space.

  • Button/click box click more than once

    Hi, I'm hoping you guys can point out what I'm doing wrong...
    I have an image where the user can click on certain parts of
    it to display a callout. However, I want them to be able to click
    on the area of the image more than once if requried. I suppose you
    can say it's a bit like an image map.
    First I used click boxes to achieve this, then I tried using
    transparent buttons. However for both of these methods you can only
    click on each part once during playback. Clicking again does not
    show the callout.
    I thought about copying the contents to another slide and add
    a 'Reset' button the user could click on. This would move to the
    other slide, but this seems a bit on the 'clunky' side, so I
    thought there must be a setting or something really obvious that I
    have missed. I was unable to find the relevant informaiton in the
    help file or elsewhere in the forum, so if it does exist I would
    appreciate someone pointing me in the right direction.
    How can I allow the user to click on parts of the image more
    than once to show the callout?
    Thanks for your help,
    Liz

    Thanks for your reply Rick.
    I started the activity using rollovers, but I wanted the user
    to do something more definite than just hovering over each part of
    the image. So essentially, I want the rollover functionality but
    with the ability to click instead of just hovering the cursor over.
    I thought this would be easy!
    I've tried using both buttons and click boxes without any
    success. I ventured a little into slidelets, but I want the callout
    to appear in a very specific place and this did not appear to
    satisfy my requirements. The 'click to stick' sounds intriguing so
    I'll take a look into this, but I'm not convinced it's what I want.
    Any more suggestions are most welcome.
    Regards
    Liz

  • Inbound interface was found more than once

    Hi All,
    Currently I'm working on a scenario wherein an invoice file is generated and created on FTP server, PI system picks up invoice (xml file) and sends to customer via EDI 810. The scenario failed in sxmb_moni and below is the error message.
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="IF_DETERMINATION">CX_ID_PLSRV</SAP:Code>
      <SAP:P1>Inbound interface was found more than once (for same sender and receiver) for outbound interface urn:xyz:sap:components. 810_Outbound_Async_MI</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when determining the inbound interface: Inbound interface was found more than once (for same sender and receiver) for outbound interface urn:xyz:sap:components. 810_Outbound_Async_MI Inbound interface was found more than once (for same sender and receiver) for outbound interface
    Can anyone help me out and provide some valuable suggestions.
    Regards
    Faisal

    Hi Abdul,
    Try to run the scenario in the ID.
    There is one test tool to in directory for this, login to ID --> go to Tools --> Test configuration.
    This will show you the error in the exact step.
    -Supriya.

  • ORA-00604 & ORA-30512 CANNOT MODIFY TABLE MORE THAN ONCE IN A TRANSACTION

    We have a requirement where two tables should be in sync at any given point
    in time with respect to the structure of the tables.
    Any change on table/column via ALTER (MODIFY, ADD, RENAME COLUMN, DROP
    COLUMN) on the parent table should be replicated to the replica table.
    I created a DDL_TRIGGER on the schema and the desired result is achieved but
    for the following one scenario for which its failing.
    The issue is, if we try to reduce the width of the column (via ALTER ..
    MODIFY) it fails with the following error
    ORA-00604: error occurred at recursive SQL level 1
    ORA-30512: cannot modify DEVTESTF_OIM.REPLICA_ABC more than once in a
    transaction
    Please follow the steps to reproduce the issue (the issue is across the DB
    version checked on 10.2, 11.1 and 11.2 DB version)
    -- Step1 Create Parent Table
    CREATE TABLE abc (col1 VARCHAR2(10))
    -- Step2 Create Replica Table
    CREATE TABLE replica_abc (col1 VARCHAR2(10))
    -- Step3 Create DDL Trigger
    CREATE OR REPLACE TRIGGER ddl_trigger
    AFTER ALTER ON SCHEMA
    DECLARE
    operation VARCHAR2(30);
    object_name VARCHAR2(30);
    l_sqltext VARCHAR2(100);
    i PLS_INTEGER;
    l_count NUMBER:=0;
    sql_text dbms_standard.ora_name_list_t;
    BEGIN
    i := dbms_standard.sql_txt(sql_text);
    SELECT ora_sysevent, ora_dict_obj_name, UPPER(sql_text(i))
    INTO operation, object_name, l_sqltext
    FROM dual;
    IF ora_dict_obj_name = 'ABC' THEN
    l_count := INSTR(l_sqltext,'ADD CONSTRAINT',1,1);
    l_count := l_count + INSTR(l_sqltext,'DISABLE',1,1);
    l_count := l_count + INSTR(l_sqltext,'DROP CONSTRAINT',1,1);
    l_count := l_count + INSTR(l_sqltext,'PRIMARY KEY',1,1);
    l_count := l_count + INSTR(l_sqltext,'ADD CHECK',1,1);
    IF (l_count = 0) THEN
    l_count := INSTR(l_sqltext,'ADD',1,1);
    l_count := l_count + INSTR(l_sqltext,'MODIFY',1,1);
    l_count := l_count + INSTR(l_sqltext,'DROP COLUMN',1,1);
    l_count := l_count + INSTR(l_sqltext,'RENAME
    COLUMN',1,1);
    IF (l_count >0) THEN
    l_sqltext := REPLACE(l_sqltext,'TABLE ABC','TABLE REPLICA_ABC');
    execute immediate l_sqltext;
    END IF;
    END IF;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE ;
    END;
    -- Step 4 Issue the following ALTER command on the Parent table 'ABC'
    ALTER TABLE ABC MODIFY COL1 VARCHAR2(9);
    will show the following
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-30512: cannot modify DEVTESTF_OIM.REPLICA_ABC more than once in a
    transaction
    ORA-06512: at line 34
    whereas the following commands works fine
    ALTER TABLE ABC MODIFY COL1 VARCHAR2(11);
    and also the rest of the operations
    ALTER TABLE ABC ADD COL2 VARCHAR2(20);
    ALTER TABLE ABC RENAME COLUMN COL2 TO COL3;
    ALTER TABLE ABC DROP COLUMN COL3;
    The issue is while reducing the size of VARCHAR2 columns, while the rest of
    option works fine.
    Any suggestion or workaround please.

    It looks like a bug to me. The failing statement from the SQL trace is
    PARSE ERROR #12:len=77 dep=3 uid=0 oct=3 lid=0 tim=1263332549608656 err=30512
    select /*+ first_rows */ 1 from "TIM"."REPLICA_ABC" where LENGTHB("COL1") > 9and exception cannot explain it.

  • Document contains some order item more than once - invoice verification

    Hi,
    we have one cross company stock transfer process in which when a billing is created in SD side, an IDOC will be triggered automatically and create an invoice verification at the MM side.
    The problem is some of our billing of this process having an IDOC application error that said.
    Document contains same order item more than once
    Message no. M8321
    Diagnosis
    Under the following circumstances, you can settle an order item in an invoice received via EDI more than once:
    - Goods-receipt-based Invoice Verification has been defined for the order item.
    - The IDoc contains the delivery note numbers of the goods receipts.
    System Response
    If this is not the case, the system cancels posting of the IDoc.
    Question:
    1 - The funny thing is IDOC showing 51 IDOC error code message on status record of INVOIC. But the invoice verfication get created in PO history.
    2 - I think this error is because we need to make the PO as GR-based Inverifcation. We have flagged it in Vendor master, and Info record, but this indicator is not flag automatically in the PO (and we cannot manually change the PO as this indicator is grey-out). How?
    3 - how to solve this error?
    Thanks

    Once PO history is created, you cannot change the "GR-based-IV" flag. Two options are there before you.
    1. Cancel all the GRs & Invoices posted in the STO then system will allow you to update the GR-based-IV flag. After updating this flag repost the GRs and invoices.
    2. Create a new STO, now since you have updated the vendor maser & info-record, this flag will automatically get updated during the STO creation itself.
    First option is tedious and should be selected only if you can go option 2 is not at all feasible

  • Duplicate entries / Employee is appearing twice in report (OR more than onc

    Duplicate entries / Employee is appearing twice in report (OR more than once)
    When I hire an employee, I assign the position, and based on the positions other values get defaulted /assigned to that employee.
    I have one case where employee has been assigned to one position, but with different position descriptions, and in report it is showing duplicate entries for the same personnel number, now client need for one personnel number only one row to display in report
    Also I tries to run , Birthday list standard report , it is also showing 2 entries (Or sometime more than 2)for the same personnel number , May I know why this is happening?
    And how to fix this bug
    Thanks and Regards
    Jaydeep Jadhav

    Hi,
    Can you check where the code is written to get employees from position, there may be two cases where multiple records exists for single person.
    1) When getting data for pernr assigning to a position they may missed out date condition. If so we need to bring only active positions assigned to that employee.
    2) There may be multiple positions assigned to a single person. In this case you need to ask the client what you need to do.
    Delete adjacent duplicate is may  not be correct solution as which position we need to delete is not sure. You check above two cases and go head.
    Hope this information will help you.
    Regards,
    Narendra.Soma

  • Restrict the receipt of same serial number more than once

    Hi,
    I want to restrict the same serial number to be taken in the stock more than once..
    Can somebody guide how to acheive this..
    At the same time I have the indicator set of auto creation of serial numbers at the time of goods receipt in serial number profile.
    e.g. I posted 2 material documents (101) one with material A and another with material B with the same serial number S
    when I check the serial number S in transaction code IQ03, it is showing against 2 mat. codes. I dont want this scenario to occur.

    IN IQ03 , you have to put both the material number and serial number.
    The serial number is tied to material number. Hence, different material number can have the same serial number.

Maybe you are looking for