[SOLVED]What is the meaning of any/active/inactive session in polkit?

Wiki said  「inactive sessions are generally remote sessions (SSH, VNC, etc.) 」.
So I changed the *.policy file like below to execute the action without password  only when I am logging in remotely.
(Just for clarifying the difference between any/active/inactive session.)
<allow_any>no</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>no</allow_active>
Contrary to expectations, I couldn't execute the action remotely without password.
So I changed again like below.
<allow_any>yes</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>no</allow_active>
This time, I was able to execute the action remotely without password.
From the above, I think the remote session is neither active nor inactive.
Is it true? If so, what is the inactive session?
What is the definition of active/inactive?
Last edited by remingtontonpon (2014-08-04 06:16:52)

'man polkit' explains that 'allow_inactive' and 'allow_active' are for sessions on local consoles.
Only 'allow_any' applies to any client local or remote.
This seems confirmed by what you observe on your machine.

Similar Messages

  • HT201210 my iphone 3 couldn't restore, its saying the error 46. what is the meaning of error 46?and how can i resolve it?

    my iphone 3 couldn't restore, its saying the error 46. what is the meaning of error 46?and how can i resolve it?

    It doesn't matter when you installed antivirus software; if you have it on your computer it will frequently block access from applications to sites it does not know about. A sync does not require access to a site not on your computer; an upgrade clearly does. So if you have never jailbroken any device you do not need to be concerned about your hosts file, but you DO need to temporarily disable your antivirus during the update process.
    The hosts file is an operating system file on all computers that overrides DNS lookup. In order to jailbreak or hack an iDevice the programs that do it need to redirect iTunes so it does not go to the Apple activation server, but instead goes to the hacking program for activation instructions. It does this by adding a record to the hosts file that bypasses the DNS lookup for gs.apple.com. But you don't have to be concerned about this.

  • What are the  milestone of any project

    what are the  milestone of any project ?????
    can u explain each and every step and if there is any sub step invole
      and with few activity work involed in each step
    thanks

    Hi Hanumant,
    In ASAP methodology each step is one of the milestone in the project.
                                                                                    ASAP stands for Accelerated SAP. Its purpose is to help design SAP
    implementation in the most efficient manner possible. Its goal is to effectively
    optimize time, people, quality and other resources, using a proven methodology to
    implementation.
    ASAP focuses on tools and training, wrapped up in a five-phase process oriented
    road map for guiding implementation.
    The road map is composed of five well-known consecutive phases:
    u2022        Phase 1 Project Preparation
    u2022        Phase 2 Business Blueprint
    u2022        Phase 3 Realization
    u2022        Phase 4 Final Preparation
    u2022        Phase 5 Go-Live and support
    In today's post we will discuss the first phase.
    Phase 1 : Project Preparation
    Phase 1 initiates with a retrieval of information and resources. It is an important
    time to assemble the necessary components for the implementation. Some
    important milestones that need to be accomplished for phase 1 include
    u2022        Obtaining senior-level management/stakeholder support
    u2022        identifying clear project objectives
    u2022        architect an efficient decision-making process
    u2022        creating an environment suitable for change and re-engineering
    u2022        building a qualified and capable project team.
    Senior level management support:
    One of the most important milestones with phase 1 of ASAP is the full agreement
    and cooperation of the important company decision-makers - key stake holders
    and others. Their backing and support is crucial for a successful implementation.
    Clear project objectives:
    be concise in defining what your objectives and expectations are for this venture.
    Vague or unclear notions of what you hope to obtain with SAP will handicap the
    implementation process. Also make sure that your expectations are reasonable
    considering your company's resources. It is essential to have clearly defined
    ideas, goals and project plans devised before moving forward.
    An efficient decision making process:
    One obstacle that often stalls implementation is a poorly constructed decision-
    making process. Before embarking on this venture, individuals need to be clearly
    identified. Decide now who is responsible for different decisions along the way.
    From day one, the implementation decision makers and project leaders from
    each area must be aware of the onus placed on them to return good decisions
    quickly.
    Environment suitable for change and re engineering:Your team must be willing to
    accept that, along with new SAP software, things are going to change, the
    business will change, and information technology enabling the business will
    change as well. By implementing SAP, you will essentially redesign your current
    practices to model more efficient or predefined best business practices as
    espoused by SAP. Resistance to this change will impede the progress of your
    implementation.
    ASAP- Second Phase- Business Blueprint
    SAP has defined a business blueprint phase to help extract pertinent information
    about your company that is necessary for implementation. These blueprints are in
    the form of questionnaires that are designed to probe for information that
    uncovers how your company does business. As such, they also serve to
    document the implementation. Each business blueprint document essentially
    outlines your future business processes and business requirements. The kinds
    of questions asked are germane to the particular business function, as seen in
    the following sample questions:
    1) What information do you capture on a purchase order?
    2) What information is required to complete a purchase order?
    Accelerated SAP question and answer database:
    The question and answer database (QADB) is a simple although aging tool
    designed to facilitate the creation and maintenance of your business blueprint.
    This database stores the questions and the answers and serves as the heart of
    your blue print. Customers are provided with a customer input template for each
    application that collects the data. The question and answer format is standard
    across applications to facilitate easier use by the project team.
    Issues database:
    Another tool used in the blueprinting phase is the issues database. This
    database stores any open concerns and pending issues that relate to the
    implementation. Centrally storing this information assists in gathering and then
    managing issues to resolution, so that important matters do not fall through the
    cracks. You can then track the issues in database, assign them to team
    members, and update the database accordingly.
    ASAP Phase- 3 - Realization:
    With the completion of the business in phase 2, "functional" experts are now ready
    to begin configuring SAP. The Realization phase is broken in to two parts.
    1) Your SAP consulting team helps you configure your baseline system, called the
    baseline configuration.
    2) Your implementation project team fine-tunes that system to meet all your
    business and process requirements as part of the fine tuning configuration.
    The initial configuration completed during the base line configuration is based on
    the information that you provided in your blueprint document. The remaining
    approximately 20% of your configuration that was not tackled during the baseline
    configuration is completed during the fine tuning configuration. Fine tuning usually
    deals with the exceptions that are not covered in baseline configuration. This final
    bit of tweaking represents the work necessary to fit your special needs.
    Configuration Testing:
    With the help of your SAP consulting team, you segregate your business
    processes into cycles of related business flows. The cycles serve as independent
    units that enable you to test specific parts of the business process. You can also
    work through configuring the SAP implementation guide (IMG). A tool used to
    assist you in configuring your SAP system in a step by step manner.
    Knowledge Transfer:
    As the configuration phase comes to a close, it becomes necessary for the
    Project team to be self-sufficient in their knowledge of the configuration of your
    SAP system. Knowledge transfer to the configuration team tasked with system
    maintenance (that is, maintenance of the business processes after Go-live)
    needs to be completed at this time.
    In addition, the end users tasked with actually using the system for day-to-day
    business purposes must be trained.
    ASAP Methodology - Phase 4 - Final Preparation:
    As phase 3 merges into phase 4, you should find yourselves not only in the midst
    of SAP training, but also in the midst of rigorous functional and stress testing.
    Phase 4 also concentrates on the fine tuning of your configuration before Go-live
    and more importantly, the migration of data from your old system or systems to
    SAP.
    Workload testing (including peak volume, daily load, and other forms of stress
    testing), and integration or functional testing are conducted to ensure the accuracy
    of your data and the stability of your SAP system. Because you should have begun
    testing back in phase 2, you do not have too far to go until Go-live. Now is an
    important time to perform preventative maintenance checks to ensure optimal
    performance at your SAP system.
    At the conclusion of phase 4, take time to plan and document a Go-live strategy.
    Preparation for Go-live means preparing for your end-users questions as they
    start actively working on the new SAP system.
    ASAP - Phase 5 - Go-live and Support:
    The Go-live milestone is itself is easy to achieve; a smooth and uneventful Go-live
    is another matter altogether. Preparation is the key, including attention to what-if
    scenarios related not only to the individual business processes deployed but also
    to the functioning of technology underpinning these business processes and
    preparation for ongoing support, including maintenance contracts and
    documented processes and procedures are essential.
    I hope it will help you,
    Regards,
    Murali.

  • MM - PO - what is the meaning of this button?

    Dear friends,
    Could anybody help me with one question.
    There is a strange button in a Purchasing Order on the Account Assignment tab page on this screenshot (it is marked with red color).
    Screenshot below
    http://content.foto.mail.ru/mail/raiden87/81/i-84.jpg
    What is the meaning of this button? When it is used for?
    I hope that anybody knows the meaning =)

    hi raiden,
    as for as i have gone through the issue I have come to know that:
    If you want to use multiple account assignment for a line item in PO then at that moment you will have to first press the "repeat on " button. only after that multiple account button will be active that is just before your "repeat on " button.
    Steps:
    1:Save your PO.
    2:Go to transaction code ME22N to change the PO.
    (Here you will firstly see that the multiple a/c assignment button is firsty gray.It will become active only after when you press the "repeat on" button).
    I hope It will be helpfull for you.
    regards,
    Aslam Ansari.

  • What is the meaning of this column in the pricing  procedure?

    Dear Gurus,
    What is the meaning of this column in the pricing procedure?
    thanks..

    subtotal field : Subtotal field is used to pass the value to some other field in PO .
    for ex: using value 9 you pass the value to field komp-brtwr. so that this can be used in  any other routine in the pricing procedure.
    requirement field: if there is a scenario that condition type should come in pricing on some condition like vendor country is india. in that case use create the requirment and attached this requirement.in this requirment you put logic and set the sy-subrc value 4 or 0.

  • What is the meaning of "i" in apple products?

    what is the meaning of "i" in apple products? i means "my" or any other answers?
    iOS means iphone Operating System
    so , iphone means my phone , internet phone or any other meanings?
    Can any one please clear my doubt?
    Thank you.

    http://www.quora.com/What-is-the-history-of-the-i-prefix-in-Apple-product-names
    Cheers
    Pete

  • In CM01 selection screen, what is the meaning of "Operator"

    Hello,
    (1) In CM01 selection screen, there are 3 fields with column heading "Operator". There is no documentation available for those fields. Can someone help me understand what is the meaning and use of those 3 fields. Thanks.
    (2) We are in the process of writing a wrapper program for CM01 - so that we have more detailed selection options and also download to Excel. Any help/suggestion for this is welcomed. Thanks.
    - Chetan

    Hi Chetan
    the operator field is just to select your input values and it has these following options
    and has no significance on the report
    =     equal to
    <>     not equal to
    >     Greater than
    >=     greater than/equal to
    <     less than
    <=     less than/equal to
    EQ     equal to
    NE     not equal to
    GT     Greater than
    GE     greater than/equal to
    LT     less than
    LE     less than/equal to
    CP     contains pattern
    NP     does not contain pattern
    regarding downloading the report to excel file, it is a standard functionality and any ABAP developer should be able to add it to your report and if you plan to add some additional fields to make your report more details, you need to do some enhance ment and build a custom report depending on what you want to add
    if helpful please reward your points

  • What's the meaning of the various .bin files used by SAM?

    hey everyone,
    I'm trying to understand why exactly there are so many .bin files used by the SAM, and how to compile each one of them.
    My .rc file for the simulation contains:
    load bin reset.bin 0xfff0000000
    load bin q.bin 0xfff0010000
    load bin openboot.bin 0xfff0080000
    load bin nvram1 0x1f11000000
    load bin 1c1t-md.bin 0x100000
    load bin 1c1t-hv.bin 0x180000
    load bin disk1.img 0x1f40000000
    I don't understand why I have 3 different files - reset.bin, q.bin and openboot.bin when I would have expected only one bootfile.
    I also don't know what's the meaning of the 1c1t-md.bin file (what md stands for).
    If anyone could clear this subject for me, and also point me to the sources of each such file (if they exist in the project, and assume they do, at least for most of them), I'd be grateful.
    Thanks,
    Mintz Yuval

    Hi,
    Sorry I haven't replied sooner.
    I get your project now and it sounds pretty cool.
    Let me answer your last question first. The service processor resides a separate motherboard running independently of the N2 processor. The SP and N2 processor communicate via a I2C link which allows the SP to read and alter the state of the N2. The cpu, caches, NIU, memory, etc. are all connected by this link. Once the N2 is running, the SP and the N2 firmware may exchange messages via a mailbox protocol over the I2C.
    nvram1.bin is a configuration file that is OBP specific. On HW, it would be a little ROM that obp reads during the boot. Since it's in memory, SAM doesn't make any assumptions about it. You can remove it or rework it to suit u-boot.
    disk.img is the contents of a virtual disk which contains the root filesystem. This is essentially a ram disk which has been added to SAM's version of the hypervisor and/or obp. On HW, the firmware does not support this kind of virtual ram disk. For SAM, I'm pretty sure that obp is extended to create a device tree node for the virtual disk. Hypervisor may not know about the virtual disk.
    Since disk.img is a UFS (or other Solaris-oriented) filesystem, you will probably want to replace it with a ext3 or Linux-oriented filesystem. Since Linux has direct kernel support for ramdisk, you might be able to build/configure the kernel with the location of the root filesystem image in memory. Or this might be a u-boot option.
    As to 1c1t*.bin and reset.bin. On HW, the service processor is responsible for discovering all the devices and cpus on a system and writing the machine description file (e.g. 1c1t*.bin) and the reset firmware (e.g. reset.bin). These files are used during boot and various resets to initialize or reinitialize machines state for the cpus and all the i/o devices. Since SAM doesn't include a service processor, these files are static and created completely outside of SAM. The md*.bin files contents must match the configuration of cpu's in the sam.rc file -- firmware will fail if it tries to run code on a strand that is missing.
    The md and reset.bin files are used during the boot process to set-up CMT registers and do a little bit of i/o device initialization. SAM doesn't support reset modes such as warm reset.
    I hope this helps. Let me know if you need me to track down more details.
    Cheers,
    Stephen

  • What's the meaning of "SID to Group returns null"

    hi, I configure a ATN in WLS, and the ATN log shows:
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <returnConnection conn:LDAPConnection {ldap://localhost:389 ldapVersion:3
    bindDN:"CN=weblogic,CN=Users,DC=mydavid,DC=org"}>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <LDAP Atn
    Authenticated User weblogic>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <oneShotGroupMembershipLookup called for weblogic>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <activeDirectoryLookupTokenGroups called for weblogic>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <getConnection return conn:LDAPConnection {ldap://localhost:389
    ldapVersion:3 bindDN:"CN=weblogic,CN=Users,DC=mydavid,DC=org"}>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <getDNForUser search("cn=Users,dc=mydavid,dc=org",
    "(&(cn=weblogic)(objectclass=user))", base DN & below)>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <DN for
    user weblogic: CN=weblogic,CN=Users,DC=mydavid,DC=org>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <No
    groupname found for SID \01\02\00\00\00\00\00\05\20\00\00\00\21\02\00\00>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <SID to
    Group returns null>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <No
    groupname found for SID \01\02\00\00\00\00\00\05\20\00\00\00\20\02\00\00>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <SID to
    Group returns null>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <Group
    mapping found is Domain Users>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <SID to
    Group returns Domain Users>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <returnConnection conn:LDAPConnection {ldap://localhost:389 ldapVersion:3
    bindDN:"CN=weblogic,CN=Users,DC=mydavid,DC=org"}>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <oneShotGroupMembershipLookup returns with 1 groups>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <login
    succeeded for username weblogic>
    what's the meaning of "SID to Group returns null"?
    \01\02\00\00\00\00\00\05\20\00\00\00\21\02\00\00 resprent for what?
    Any one could tell me?
    thanks.
    david.turing

    Hi
    In AR, you will give cash discount to customer and not the other way round as you mentioned.
    For eg if AR value is 100 and customer pays you 90, there is a difference of 10. Assume you have cash discount % of say 6%, you expect the customer to pay 94 (100- 6% of 100) and not 90. There is still a gap of 4. This can be added to cash discount account if you enter 4 in this field. Hence the A/c entry will be:
    Dr Bank 90
    Dr cash discount (expense/loss) 10
    Cr Customer 100
    However this field is interlinked with some other fields like "Cash discount per line item", etc
    Jayaram

  • What is the meaning of "PSEUDO" and "NONE" in v$session table.

    Hi
    What is the meaning of "PSEUDO" and "NONE" in v$session table.
    V$SESSION:
    SERVER      VARCHAR2(9)      Server type (DEDICATED| SHARED| PSEUDO| NONE)
    thanks
    siva

    PSEUDO is the server column's value of killed sessions, until they are cleaned up by PMON.
    A dedicated server session will always have DEDICATED as server value, while a shared server session has SHARED when it's active, and NONE when it's inactive.

  • What is the meaning of dumping in oracle?

    What is the meaning of dumping in oracle?
    Also tell me is there any method to dump by user commands?

    Hi,
    Dumping is a format used for storing regular oracle data that is used for transferring data between two databases or servers or within the database i.e export/import.
    For dumping user commands you can use user auditing.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96524/c25audit.htm
    regards
    Jafar

  • What is the meaning, or significance, of the greyed out word "installed" next to the iBooks app icon in the iTunes list of apps on my new iPhone6, or slightly older iPad mini, retina display?

    What is the meaning, or significance, of the greyed out word “installed” next to the iBooks app icon in the iTunes lists of apps on my new iPhone6, or slightly older iPad mini, retina display?  Both devices have iOS8.0.2 installed.  Both are having problems downloading some books that had been purchased previously for other devices.  And, before installing iOS8, the full list of had been downloaded to the iPad mini with iOS7.
      Finding out what the greyed outness means may help me figure out how to get all my books loaded on both devices.  Any suggestions how to do that also would be appreciated.

    Thank you.  Your explanation of why the word "installed" is greyed out makes sense.  But that raises the further question of why then is it shown at all.  There are other apps on both devices that can not be removed,and they are just not shown.  This is the only app that has the greyed out "install" notation.  All of the other apps shown are either identified by "remove" meaning it is installed and can be removed; "install" meaning it is not installed but can be; or "update" meaning it has been replaced by a more current version which can be installed.
    All of the books that I want to install have been on an iPhone4 that was replaced by the iPhone6, and were on the iPad Mini with iOS7 before iOS8 was installed.  Installation of iOS8 on the iPad removed all of the books and only a few of them were later added by syncing with iTunes.  Since most of the books I am interested in are free or of small cost, I would be happy to delete all of them from iTunes and then reinstall the ones I want directly on the devices.  But I have not been able to delete them and when I try to install them on a device I am told that they already have been downloaded.  Very frustrating.

  • What is the meaning od general modification field in the obyc t-code.

    hi there gurus,
    can any one tell me what is the meaning of the general modification file din the obyc t-code,
    i wana know wht is that is used for n etc

    No -
    When I select 'flag message' I get a stylized flag in that column.
    These dashes are placed there by the mail application, not by me. They show up in some messages and not in others.
    Please don't just guess at the answer.
    G4 AGP Mac OS 9.2.x

  • What is the meaning of ABAP/4 editor integrated with ABAP/4 data dictionary

    hi All
      i want the correct meaning of the following sentence <b>"What is the meaning of ABAP/4 editor integrated with ABAP/4 data dictionary"</b>.If any onre knows kindly explain me...
    thanks in advance...

    Hi,
    Abap is programming language in business, data dictionary is kind a interface for editor to retrive from database level to presentation area. its a meta data.
    The ABAP Dictionary’s integration with the rest of the development environment enables ABAP programs to automatically recognize the names and characteristics of dictionary objects.
    Additionally, the system provides easy navigation between development objects and dictionary definitions. For example, as a programmer, you can double-click on the name of a dictionary object in your program code, and the system will take you directly to the definition of that object in the ABAP/4 Dictionary.
    Reward points if helpful,
    regards,
    jinesh

  • What's the mean of  error infomation ?

    tail /var/adm/messages
    it shows as follows
    Feb 4 09:32:44 mail3 last message repeated 1 time
    Feb 4 09:34:45 mail3 SRS Proxy[1397]: [ID 663108 daemon.error] Could not upload bulk message
    Feb 4 09:34:47 mail3 SRS Proxy[1397]: [ID 388765 daemon.error] Could not send message from queue: /var/SUNWsrspx/SRSQueueStore/store/queues/REGISTRATION/registration
    Please tell me what's the mean?? thank you !!

    One more time:
    This appears to be some kind of Sendmail error, not an iMS error. First, iMS does not normally log anything to /var/adm, so errors you see there are very unlikely to be from Messaging Server.
    Second, none of us here really is likely to know sendmail well.
    I would first check that you haven't installed some patch that has restored sendmail. Normally, on install of iMS, we replace Sendmail with our "compatibility" binary. Patching can replace that with real Sendmail, and your startup scripts can start Sendmail, preventing iMS from fully starting. Please check that.
    If you believe that this is an error coming from iMS, then you will need to provide some context, like where the message shows, and any other symptoms. This bare error message doesn't really allow me to help you,.

Maybe you are looking for

  • Is there a way to insert comments into numbers on an ipad, or an alternative?

    Is there a way to insert comments into numbers on an ipad, or an alternative?

  • Colour's not appearing correctly

    For some reason pages 08 doesn't show the correct colours on my computer screen. If I am typing in black it comes up whit and when I am typing in blue it shows as purple. Does anyone know how tho fix this? Thanks.

  • Import Server not working

    Hi , I have a scenario where PI is sending data to MDM inbound port which is automaticaly getting imported to MDM . Now problem is PI is succesfully sending data but file is not coming to Inbond port. PI side all the configuration is fine . Through I

  • AcroDist.exe-DLL Initialization Failed on logoff/shutdown in XP x64

    Acrobat 9 Pro Windows XP Professional x64 Edition Intel Pentium Dual CPU E2160 1,8GHz 2GB of memory. The title of the window of error is "AcroDist.exe - DLL Initialization Failed" and the message is "The application failed to initialize because the w

  • Remote program code

    I need remote program code for HD-DVR Motorola DCX 3501/E385/012/500.When red all on button is pressed, all devices turn off, but after 2 sec. set top turns back on?