Difference in running program Administrator or normal user?

Hi,
I've written a simple program (logged in as administrator), in which an LED control is turned on when a process starts, and off when the process ends, a sort of Busy-indicator.
I switched to a normal user, and now the LED control does not operate anymore... Sometimes I can turn it on, but not in the required function...
Where does the difference come from?? What else does it affect, aside from LED controls?
Many thanks,
Karel

The user account privileges should not affect CVI UI objects. Are you sure it is not that the application needs privileges to check if the process is running? Does the code that alters the value of the LED ever run? Could you post code that demonstrates this?
National Instruments
Product Support Engineer

Similar Messages

  • Running sbin commands as normal user

    Here's the problem: I would like to run rc.d to start/restart/stop daemons as a normal user.
    I ran into two possible workarounds:
    1. Sudoers file
    I've setup sudoers file to not ask for the password with:
    myuser ALL = NOPASSWD: /sbin/rc.d
    That of course still force me to write sudo before rc.d to start/restart/stop a daemon. Next step could be to create an alias like alias rc.d='sudo rc.d'.
    2. Permissions
    Another way would be to change the permissions of the command so It can be ran by "all" or a specific group.
    Maybe I'm just crazy, but all these workarounds look a bit "dirty" to me, so I was wondering if someone else knows a different approach to this issue :).

    SS4 wrote:
    pablox wrote:
    Btw, I just found that even when sudo -l shows me:
    User myuser may run the following commands on this host:
        (root) NOPASSWD: ALL
        (ALL) ALL
    It still asks for my password when I ran an app through sudo, any clue of what would be happening?
    That's just saying that you're allowed to use sudo, not that you can use it without a password.
    For example when I run sudo -l
    User me may run the following commands on this host:
    (ALL) ALL
    (ALL) ALL
    (root) NOPASSWD: /usr/bin/pacman, (root) /usr/bin/pacdiffviewer, (root) /usr/bin/make, (root) /sbin/shutdown, (root) /usr/sbin/hddtemp, (root) /usr/bin/pacman-color, (root) /usr/sbin/pm-suspend
    From my limited understanding (root) means that I become root user
    AFAIK our configurations are almost the same, except from the fact that I have configured it to supposedly not ask for the password for every command and in your case of the commands listed there.
    If you ran pacman with sudo, it asks your password?

  • Running Update Service as normal user in Windows 7

    Hi.
    I have a number of users that have Xperia 10 and Xperia 10 mini mobilephones, and these users want to be able to update there phones using the application "Update Service". Is it possible to run this application without having local administrator priveliges?
    Best regards,
    Johan Christensson

    Well, when the user tryes to start the application, they get "UAC" message asking them for elevated priveliges. I haven't checked it my self but accordning to one of the users there own credentials dosen't work/cut it.
    Best regards,
    Johan Christensson

  • Cannot add accounts in empathy when logged in as normal user

    When I attempt to add an account in Empathy in GNOME, via F4, I am unable to add accounts - the add button, no matter what account type I use, quite simply does nothing.
    More interestingly, when I run it as root from a console, it works fine; an error is given when I run it as a normal user from a console:
    $ empathy
    ** (empathy:12734): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    libGL error: failed to open drm device: Permission denied
    libGL error: failed to load driver: radeonsi
    I feel like I have missed something trivial, and I can find no references to it...
    Last edited by labyrinth42 (2015-01-11 16:29:14)

    I use GDM as a display manager for GNOME & Empathy seems to work OK IIRC; I'm in Windows ATM ( ) so I can't check -- I'll edit this later.
    You could try GDM and see if that fixes the problem.

  • Windows 7 Running as Administrator & Allow Program to Make Changes Popup

    Before someone tells me this question is posted elsewhere; I already know that. I've spent hours trying to figure this out. and have yet to find any answers that have helped.
    The only way I can save presets is to run a program (let's say Photoshop) as Administrator (in Windows 7). If - I Run as Administrator - then - I get the UAC popup asking me if I want to allow Photoshop to make changes to my computer. I cannot tell you how annoying this is. I keep having to go back and forth between setting programs to Run as Administrator everytime I want to work with presets, and then I have to go back to Compatability and set the program to Not Run as Administrator, in order to stop getting that annoying UAC popup. I do not want to turn off my UAC! Perhaps the problem is in the location where I am storing my files. My files are in C:\myName rather than in C:\Users\myName. My Creative Cloud Programs were installed in C:\Program Files\Adobe (by default). myName is set as the Administrator Account in Windows.
    Note: I can save the presets at other locations on my computer, just not in C:\Program Files\Adobe\Program Name\Presets\Gradients\(or whatever) which is where they need to be.
    Please Advise.

    If I try to open Adobe by itself, without attaching it to a specific file, same thing- still got command.
    But I can add this:  Somehow awhile back I found the solution on line (if I recall, it was not in an Adobe forum). Kicking myself for not posting here. So I had it working, but then I recently had to reinstall the program and it went back to square one. However,  I instructed the program to open with an previous version (Right click- properties - previous version) and I know can open again without getting that annoying command. Problem is I stll can't remember how I got it that way the first time. I was thinking it may have been tied in with making it compatible to an earlier version, but I just checked Properties again, and it says Windows 7, so that is not changing anything. I am sorry. I have searched and seached again to find that earlier solution, but now I can't find it! If anyone else can figure it out, please post to save the next person a bunch of time. I have spent hours on this already, searching, reading, tweaking.

  • Multi User Mode Won't run Program

    I have Route 66 USA running with the windows gps device which came with the program. Originally I installed Route 66 as an administrator. Since then I have changed my account to a standard user and added an administrator account and a third user account.
    Route 66 only works with my original user account or any user I setup with administration status. It will not allow the program to run from a second standard user. Why? I don't need admininstration account to run it using the original user account.
    Apple Care will not help me figure out how to change the permissions and ownership to allow this second user to run the program because its 3rd party software even though I asked for help figuring out what the ownership/permissions stuff is all about or what they mean.

    1. It is possible to do this in the Finder, but will
    likely be more reliable and convenient to do it in
    the Terminal.
    2. You can run that command from any admin account on
    the machine, and it will have the same effect from
    any admin account.
    3. Not for a third-party application, as the receipt
    for that application inside /Library/Receipts isn't
    consulted if it exists at all.
    4. See here and <A
    HREF=http://developer.apple.com/documentation/Darwin/R
    eference/ManPages/man1/chmod.1.html>here for
    information.
    (16550)
    Perfect! Thanks big time! Printing it out and will check out the info!

  • Difference between admin and normal user

    Hi Community,
    how does the user right management works when an admin account is used? In Mac OSX an admin isn't really an admin account  because the user become prompted for the (admin) user password again if he require higher privileges. Microsoft implemented since Windows Vista a similar technique, an administrator account works with a normal user token and if higher privileges are needed, the user will get the UAC dialog to grant higher privileges. This is done by providing the user an admin token temporarily.
    Is this the same way Mac OSX works or is this done by a different technique?
    Thx & Bye Tom

    Hi MrHoffman
    MrHoffman wrote:
    For further reading and improving your knowledge security beyond "root" and "sudo", there are Apple's security guides and the US NSA/CIA operating system security configuration guides.  Both of these resources are a little dated, but the underpinnings of the operating system and its security have not changed significantly; what you learn will still be valid, though there can be some features of newer releases (such as the profile manager, the lack of installed Java) that might be useful.
    Thanks a lot. The link  to the Mac OS security configuration guide seems to be broken but I took a short look into the Linux guide and this is also very interesting, even if I'm not using Redhat but Debian.
    MrHoffman wrote:
    Wo ist die Diskussion, bitte?
    In de.comp.sys.mac.misc but only one posing is interesting:
    Message-ID: <[email protected]>
    And there is only the problem addressed about the difference between an users login shell and an interactive sub shell and how it could be used for privilege escalation by modifying the $PATH variable to execute malicious code with root privileges. I remember this on earlier days in Linux when the actual directory (.) was at the end of the $PATH variable. This could end in the same issue after all.
    Thx & Bye Tom

  • Photoshop Elements 11 installed on Mac Mini OS X 10.9.5. Application running successfully on bot main user and administrative accounts for considerable time with no warning messages. When established a new user account on same computer and try to call up

    Photoshop Elements 11 installed on Mac Mini OS X 10.9.5. Application running successfully on bot main user and administrative accounts for considerable time with no warning messages. When established a new user account on same computer and try to call up elements receive message “Some ot the application components are missing from the Application directory. Please reinstall the application.” How do I correct this problem without disturbing application in main user account?

    Brooks lansing if you create a new Administrator account does the same issue occur?  If so then it is likely that there is a file permission failure and file permissions have been set for the existing Users instead of the groups they belong to.
    Have you removed and reinstalled Photoshop Elements 11?  This may reset the file permissions to the correct state to allow it to work under new accounts.

  • Allow normal user to run "ip link set"

    Hi,
    every time I power on my wireless lan device by hardware switch I have to execute
    ip link set wlan0 up
    as root in order to use it. There's a bash script which is triggered with normal user rights by the switch.
    I'm member of the network group, but I can't use the bash script to run ip automatically:
    [drake@laptop ~]$ ip link set wlan0 up
    RTNETLINK answers: Operation not permitted
    Is there a way to allow my account to set up wlan0?
    Thanks!
    Drake

    Good afternoon.
    I believe we have a RFE for this issue our datebase. Namely:
    Bug 18202: Allow to specify params in reports but prevent saving changes
    If I may, I recommend that you open a support case and ask the responsible engineer to add your company's information to the RFE (once it's confirmed that the 2 issues are indeed the same). Doing so will increase the chances of this functionality being added to the product in a future release.
    Regards,
    Alex

  • Standard users forced default "run as administrator" for acrobat.exe X pro

    The software has been reinstalled and patched CS6 all componets of CS6 run fine under a standard user account with the exception of Acrobat Pro.  Acrobat Pro runs fine when an administrator is logged in BUT when a standard user logs into the computer all application shortcuts and even direct execution of the exe insists on "running as administrator", seeing as though they are not an administrator they can not run Acrobat Pro X.  Any assistance would be grealtly appreciate.

    I'm not saying Norton is your problem, but I haven't heard good things about Norton software in a long time, unfortunately.
    I always recommend Avast! antivirus to people.  The free version is very good in itself, and they offer a more comprehensive Internet Security version as well.
    I don't know how technically-oriented you are, but if you do understand how things work fairly well and have taken measures and adopted good practices to avoid running malware, there is the possibility of just shutting off UAC (MIcrosoft User Account Control) if its operation continually gets in the way of your completing your work.  Typically, most people just get in the habit of confirming whatever prompts come up anyway, which defeats most of the protection UAC can afford.
    -Noel

  • Photoshop crashes when run as normal user

    Dear all,
    Ever since I installed CS4 Suite with Photoshop Extended, my Photoshop would crash as soon as I open a file. This would not happen if I am logged on as administrator on my Windows XP, but any other type of profile has the problem.
    I tried: reinstallation, clearing the Photoshop preference file, testing whether some startup service is causing it, and created new user profiles, but neither helped.
    Since, I did not have this problem with the CS3 suite, I assume that CS4 tries to do something that only administrators are allowed, but what ?
    Anyone with similar experiences or advice ?
    Regards,
    WM

    I think I might have found something more. I reinstalled the video driver to be on the safe side. Then ran photoshop as administrator, no problem. Then as normal user and I got the video driver message, as well as a crash when opening a file. Then I ran it again as administrator and it was not complaining about the video driver. So maybe photoshop accesses a part of my video driver that due to file permissions is only accessible to the administrator, any ideas of what that would be ?

  • Under regular user account Firefox closes its windown right after opening it, but this does not occur when run from administrator account.

    I don't have the problem on Vista or XP. I have no problems when I am logged on as administrator. When logged on as a regular user some or all of the Firefox windows will open and then immediately close. It does not help to run as administrator or set other compatability options. I also see this on Thunderbird. I have not seen this problem on any of my other software.

    I don't have the problem on Vista or XP. I have no problems when I am logged on as administrator. When logged on as a regular user some or all of the Firefox windows will open and then immediately close. It does not help to run as administrator or set other compatability options. I also see this on Thunderbird. I have not seen this problem on any of my other software.

  • [SOLVED] Dropbox - can't run as normal user, but as root

    I have problems with running dropbox as normal user. I installed dropbox from AUR. It is successfully installed. But when I type in terminal dropboxd I get:
    WARNING: Cannot write to "/home/USERNAME/.dropbox/dropbox.pid"
    I can run dropboxd as root from terminal, but that way default Dropbox folder is created with root permissions in my /home directory. Is there some way to run dropbox as normal user and having Dropbox folder with permissions for my user?
    Last edited by archiebald (2010-02-18 22:50:33)

    Thanks toad and pickboy87 for advices. It's my fault, and lack of concetration after long hours of staring at screen.
    Solution is this:
    sudo chown -R USERNAME /home/USERNAME/.dropbox
    Btw. Ubuntu do all automatically, with Dropbox install, all I need is to follow on screen directions, and next, next.:lol:
    edit:
    everything works out of the box with dropbox install on other Arch machine i tried, probably I messed something with configuration somewhere before.
    Last edited by archiebald (2010-02-18 23:05:13)

  • I have tried the following, "netsh winsock, reset", but I get a message that says the required operation requires elevation run as administrator . this is my laptop and I am an administrator, please help , itunes store is the only program i have issues

    I get a message that says, the required operation requires elevation <run as administrator>. I am the owner of this laptop and I have administrative authority, why does this show and how can I fix this. Itunes store is the ONLY program I am having trouble with.Very , very frustrating.!!!!!!!!!!!!

    I will assume you're using Windows Vista-7:
    Try these steps instead:
    1 Click start, and in the start menu search, type "cmd" (without the quotes) DO NOT PRESS ENTER!
    2. Right click the "cmd" search result
    3. Click "Run as Administrator"
    4. If you get a pop up message, click yes or continue
    5. Type the command in the window as you did above.
    In an effort to try to prevent programs from messing with your computer, programs don't run under your administrator account unless you tell them to or they ask. This gives the Administrator (elevated) privelleges that you need.

  • Portlet will run/output when run as Admin, but not normal user

    Anyone know why a portlet would run/output under admin privs, but will not run under a normal user's privs? This is a VB.NET portlet using the EDK. Anyone have any ideas?

    Flash Player should be initially installed using an Admin account.  Once installed however, it should work for all users.  If it does not function, then I suspect you're running into a file/folder/registry permission issue.  This FAQ can help repair these problems:
    How do I fix Windows permission problems with Flash Player?

Maybe you are looking for

  • I updated my iPhone and am now missing some of my music, how do I find it again?

    I updated my iPhone to iOS 5 and Itunes to 10, then synced to my iPhone to my computer and I realized i am missing several albums I have downloaded.  I try to re-download thru iTunes on my phone but I would have to reperchase. 

  • How can I play a dvd on my Mac and display it through Apple TV

    I want to use my DVD drive on my mac to play back movies through my apple tv2. I notice that on my iPad, iPhone, iTunes on my computer all have the AirPlay option to display the video on my TV through Apple TV. I do not want to burn my DVD onto my Ma

  • I tunes doesn t lauch need quick time 7.5

    my i tunes doesn t want to launch.it asked me an older version of quick time 7.5 or before but i tried and nothing happened HELP

  • "To field" Mail Crashing

    When I type "sh" in the "To" field in mail, and then scroll through the list of contacts, the screen go black and then goes back to the home screen. I guess you would say it crashes. This is happening on both my wife's and my iPhone. We both sync to

  • Eclipse Error : javax.resource.cci.connection not found

    Hi,   I am new to Eclipse development. I downloaded a Sap connector PAR project from sdn and imported it in Eclipse then i showed lots of error with portal.HTMLB, portal.connector and javax.resource.cci.connection.   I want to know where can i find t