Writing to /sys as a normal user without authentication

Okay - I know the title of this post is not quite descriptive enough etc. I just don't know what to call it...
I'm trying to get my backlight working fully on my Sony Vaio PCG-GRT390ZP. I can modprobe the sony_laptop module and then echo the different values to the respective files like this:
# echo 5 > /sys/class/backlight/sony/brightness
I'm trying to get some python scripts written to handle the above command. (I'm using python because I'm more comfortable in that than in plain bash  / sh, and I have the python packages already.) Because of the scripting, I need to have write access in /sys as a normal user. I'm looking for the safest way to achieve this, as I can't imagine that
chown -R <user> users /sys
is safe at all. Any suggestions? Thanks a lot.

Setting the suid flag for the scripts didn't seem to work, I think because the suid flag only affects binaries (though I could certainly be wrong - that's just what I read)
So I went ahead and added the lines I needed to my sudoers to launch this script as root  without a password every time it's run (Since all this does is change the screen brightness I think I should be pretty safe. Unless others have differing opinions?)
Thanks again for the brain jog. Sometimes that's all you need. (Now I just need to set up xbindkeys to launch these scripts I just wrote)

Similar Messages

  • Creation of a normal user without admin rights

    Hi,
    I am new to oracle apex. Can you please let me know how to create a normal user without admin rights in oracle apex application.
    Thanks & Regards,
    venkat
    Edited by: 866673 on Jun 17, 2011 9:53 AM

    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and ensure you have updated with your profile with a real handle instead of "866673".
    You'll get a faster, more effective response to your questions by including as much relevant information as possible upfront. This should usually include:
    <li>Full APEX version
    <li>Full DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s)/version(s) used
    <li>Theme
    <li>Templates
    <li>Region type
    (although for your question only the APEX version is necessary).
    Assuming you mean a user who can authenticate to an application that uses Application Express Account Credentials?
    In APEX 4.0:
    1. Go to Home > Application Builder > [Your Application ] > Administration > Create Users and Groups > Create User
    2. Enter the User Identification information.
    3. In the Account Privileges, specify:
    User is a workspace administrator: No
    User is a developer: No
    4. Complete the rest of the form as necessary.

  • Pm-suspend: as normal user without changing sudoers and wake-up issue

    I'd like to be able to suspend my laptop as a normal user, but I don't want to "break" sudo just to do this. One wiki article (Suspend to RAM) says this:
    In fact, only the pm-utils approach can be called without special privileges, see pm-utils#Suspend.2FHibernate as regular user
    Linked article from the quote above describes how to make sudo run without asking for password. I wouldn't call that "without special privileges". After all, I can make anything run without special privileges if I edit sudoers in such way.
    Is there any proper way to make pm-suspend run as a normal user?
    One other thing about pm-suspend... I use netcfg and laptop-mode-tools. After wake-up from pm-suspend my wlan interface is down and hdparm -B value is set to 128. The wiki says that pm-utils is recommend for suspending to RAM because it can handle such things (i.e. restore as much as possible). Is there anything I must configure for this to work? If not, how can I set a custom script to be run after wake-up from pm-suspend?

    For example: https://bbs.archlinux.org/viewtopic.php?id=127962
    Edit: did you adjust the hdparm settings in laptop-mode.conf?
    Last edited by bohoomil (2011-10-16 11:44:20)

  • How to view the No. of connections used in DB as Normal user?

    Hi,
    I have an clarification about to view the number of connections in DB as normal user.
    As sys user, we can see the Max. no. of connections / number of connections used in Database. In the sameway, Do we have any option to
    view those details as normal user [I.e. As normal user without DBA Rights ]. Please let me know if its possible.
    Kindly clarify me on this.
    Thanks,
    Orahar.

    With due respect i wish to say, suppose my car (session) is running on road (db). If i ask how many cars (sessions) are there at presently on road (db); don't you think i am asking bit unproductive question? Suppose any how i got a number say 100 ; so now what this 100 can help me; what i am going to solve by this 100.
    if you knows all why’s answer, then there are answers for all hows for sure!
    Regards
    Girish Sharma

  • [Solved] nm-applet does not display in normal user's panel

    I installed Arch Linux yesterday. Today, I am trying to get some of the refinements working. I installed OpenBox as a standalone window manager. I got several things working exactly the way I wanted as root, such as networkmanager, nm-applet, and pypanel. When I startx as root, the nm-applet is properly displayed in the pypanel.
    Then I discovered that I could not run an X application as the normal user without first running "xhost +" as root. At this point, it dawned on me that I am not supposed to run startx as root, but as the normal user. Duh!
    So, I thought I set up everything the same way for the normal user. When I startx as the normal user, OpenBox runs, nm-applet runs, and pypanel runs, but pypanel does not display the nm-applet icon. I can now run my X application as the normal user, so that is good.
    My .config/openbox/autostart file is exactly the same for root and my normal user:
    (sleep 3 && pypanel) &
    (sleep 3 && /usr/bin/nm-applet --sm-disable) &
    nm-applet was started by this code, because ps -ef shows it running and owned by the normal user:
    [tim@(none) ~]$ ps -ef|grep nm-applet
    tim 2311 2306 0 15:27 tty1 00:00:00 /usr/bin/nm-applet --sm-disable
    tim 2332 2327 0 15:27 pts/0 00:00:00 grep nm-applet
    [tim@(none) ~]$ ps -ef|grep networkmanager
    root 497 476 0 14:14 ? 00:00:00 /sbin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-client.action eth0
    root 869 476 0 14:30 ? 00:00:00 /sbin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-client.action ra0
    tim 2345 2327 0 15:27 pts/0 00:00:00 grep networkmanager
    Why does pypanel display the nm-applet icon for root but not for the normal user?
    Tim (newbie to Arch but previously ran ArchBang for six months)
    Last edited by ratcheer (2012-05-02 22:34:30)

    I have now switched to tint2 from pypanel, anyway. It is much cleaner and easier to use. At least in my opinion.
    Tim
    Last edited by ratcheer (2012-05-03 02:31:59)

  • [SOLVED] Can't hibernate with xfce as normal user

    Until recently, I can't hibernate using xfce menu as normal user. All other operations such as poweroff, reboot, logout... works.
    When I tried systemctl:
    > systemctl hibernate
    Failed to issue method call: Operation not supported
    Failed to issue method call: Access denied
    "sudo systemctl hibernate" works
    All other operations also works for normal user (without sudo).
    When I checked CanHibernate:
    >sudo dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.CanHibernate
    method return sender=:1.0 -> dest=:1.56 reply_serial=2
    string "na"
    Which is totally not true since I could hibernate as root.
    CanReboot, CanShutdown... returns "true".
    As expected, this doesn't work:
    > dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Hibernate boolean:true
    Error org.freedesktop.DBus.Error.Failed: Operation not supported
    And of course, all other operations work, which is confusing.
    Package versions:
    > pacman -Q xfwm4 xfdesktop xfce4-session xfce4-power-manager systemd slim polkit
    xfwm4 4.10.1-1
    xfdesktop 4.10.2-1
    xfce4-session 4.10.1-3
    xfce4-power-manager 1.2.0-5
    systemd 208-1
    slim 1.3.6-1
    polkit 0.112-1
    Any ideas what's wrong? Thanks in advance.
    Last edited by bullno1 (2013-10-05 05:57:20)

    qr wrote:
    Hey,
    I experienced the same problem after todays update and after I downgraded systemd and systemd-sysvcompat to 207-5 it's working again.
    I still have to figure out what changed, but it's a temporary fix. Hope it helps.
    Thanks. Downgrading seems to fix it.
    root wrote:As far as I see you are using polkit with XFCE, are you aware that recent updates (03/09 in my pacman log) established that polkit would not autostart anymore but in GNOME Flashback?
    You might want to make sure polkit is running (not only installed) and consider switching to lxpolkit which is suggested as a lightweight alternative which will start automatically with DEs such as XFCE.
    It is running. Thanks for the suggestion about lxpolkit. I'll check it out.

  • Automatic Adobe Update for users without admin privileges

    Hi there,
    I have a PC with Windows 7 Professional (32bits) and Adobe Reader (9.4.6)
    I have selected "Automatically install updates" in Preferences --> Updater:
    The problem is: when a normal user (without admin privileges) is using the system, it turns up an Adobe Box which asks the user to install the Update:
    But when the user tries to update, it asks to insert the admin password.
    How can I solve this? I would like Adobe Reader updates to be downloaded and automatically installed for users in my PC without admin privileges. Is this possible?
    Thanks in advance.
    Best regards,
    Pablo

    Anyone have any further insight into this?  Is there a way to simply give the user admin creds but only for Adobe Reader that would permit users to do thier own updates?
    I don't want to have to constantly update the MSI I am deploying with GP/LUP if possible.
    I am, however simply looking to update 11.0.0 to 11.0.1 ,11.0.2....etc without having to touch GP/LUP/each end user machine

  • How do you allow all normal users to use the IOSsimulator in Xcode without placing them in the _developer group?

    Ever since we've updated Xcode at my place of work normal users have been unable to run their applications in Xcodes iOS simulator because they're prompted with a "Developer Tools Access needs to take control of another process for debugging to continue. Type the name and password of a user in "Developer Tools" group to allow this". I work in an ever expanding office with over 200 employees so adding them all to the _developer group will just be far to time consuming. Is there a way to give normal users permissions to run the IOS simulator?
    Here is the message I would like for normal users to bypass.

    ....I don't see a way around it - either they're in a permissioned group with an applicable login or they're not, right?

  • Run shell script as sudo user without giving sudo passowrd from normal usr

    Hi ,
    i am running shell script from my account with sudo user what is the problem in my procedure.
    Please if any thing wrong in my procedureprocedure or any permission required please let me know.
    here is the my procedure and sudo permissions.
    [techm@ppsol04 ~]$ sudo su - dadm sudo -u dadm /u01/ora/tools/Dbmon/scripts/export.sh
    Sorry, user techm is not allowed to execute '/u01/ora/tools/Dbmon/scripts/export.sh' as dadm on ppsol04.
    [dchandu@ppsol04 ~]$ sudo -l
    Matching Defaults entries for techm on this host:
    env_keep=SSH_AUTH_SOCK, !authenticate, env_reset, always_set_home, !requiretty
    sudo permissions :
    sudo -l
    Matching Defaults entries for techm on this host:
    env_keep=SSH_AUTH_SOCK, !authenticate, env_reset, always_set_home, !requiretty
    User techm may run the following commands on this host:
    (ALL) NOPASSWD: /local/bin/hardened_profile.sh
    (root) NOPASSWD: /bin/su - dora
    (root) NOPASSWD: /bin/su - doraadm
    (root) NOPASSWD: /bin/su - docenter
    (root) NOPASSWD: /bin/su - tora
    (root) NOPASSWD: /bin/su - toraadm
    (root) NOPASSWD: /bin/su - tocenter
    (root) NOPASSWD: /bin/su - hora
    (root) NOPASSWD: /bin/su - horaadm
    (root) NOPASSWD: /bin/su - hocenter
    (root) NOPASSWD: /bin/su - agcfdwf4
    (root) NOPASSWD: /bin/su - pora
    (root) NOPASSWD: /bin/su - dadm
    (root) NOPASSWD: /bin/su - pocenter
    (root) NOPASSWD: /bin/su - agcfdwp4
    Thanks
    tech

    Can you please explain what you are trying to accomplish?
    To my understanding there is no such thing like a sudo password for a normal user. Sudo allows users to become root based on a sudo list (suoders). The user is then prompted for their own account password to run as super-user or root.

  • Fingerprint utility is not working for normal users - Tecra M11

    Hi All,
    I installed windows 7 pro in Tecra M11 laptop and the Toshiba finger print utility is not working for normal users.
    It is working only for domain administrators. The TFPU is not working for, normal domain users, local users, local administrators. If we run the utility it will ask to enter the windows password and once we applied the password then the message saying "entered password is not valid" will prompt even if we are trying to use the utility first time.
    If we try with a domain admin account it will work without any problem. Can somebody help me to trouble shoot this issue?
    Thanks.

    People nowadays experienced that no matter How many times we glide our finger it have no response.In this instance, you might be very afraid of Windows password lost by reason that there is a plenty of important data on your PC.
    Then what should you do? One choose is fix the Fingerprint scanners, but this method will cost a lot of money. The other is use the Windows password function to solve the problem. Certainly, this is a very safer, faster and easier to use method for you.
    According my personal experience, you can try these three ways to re-access to your PC:
    Method 1: Login with the default administrator account
    * Step 1: Start Windows PC
    * Step 2: When you can see the Windows login screen, press ctrl+alt+del keys Twice and it'll show Classic Login box
    * Step 3: Type Administrator as Username and leave the password field blank
    * Step 4: Press the Enter Key and then you can be able to login the default windows administrator account which is it created by default when install windows.
    *Note:* This trick is only work for Windows XP. And when you input the key combination Please don't put the cursor on any account. And if you change the name or password before, you cannot login by this way.
    Method 2: Use the previous password reset disk
    This method describes how to create and use a password reset disk for a computer that is a member of a domain. You can use a Windows password reset disk to gain access to your Microsoft Windows Professional-based computer if you forget your Windows password. Please click here to learn more.
    Method 3: Using Windows Password Unlocker
    Using Windows password remove software is could be the fastest and easiest way for you to reset your Windows password while you didn't create a password reset disk before.
    There are 2 options for you: recover Windows password with a bootable CD/DVD or recover Windows password with a USB flash drive.
    Before starting, a bootable CD/DVD or USB flash drive and a computer with CD drive are required. (Internal CD drive and external CD drive are both OK.
    Option 1: Recover Windows password by burning a bootable CD/DVD
    Option 2: Recover Windows password by burning a USB flash drive
    The whole Windows password recovery process can be divided to 3 big steps:
    * >> Step 1: Burn a USB flash drive to remove lost Windows password
    * >> Step 2: Set your target computer to boot from USB
    * >> Step 3: Recover forgotten Windows password with the burned USB flash drive
    In fact, all you need is a *Windows Password Unlocker www.passwordunlocker.com/windows-password-recovery.html which can help you directly reset your windows xp password, and then you can login your XP without a password required. Of course, there are also some other ways to do it, but this way may be most convenient one.

  • [SOLVED] DBUS boot problems - Mounting system devices as a normal user

    I have the [testing] and [community-testing] repositories enabled. A few days ago, probably due to an update, I started having trouble mounting devices and the shutdown/reboot options don't show up anymore on the LXDE exit menu.
    I use gvfs for mounting devices as a normal user with PCManFM or Thunar. The error message is "Authentication is required".
    After some testing, I found out that by restarting dbus, I could start mounting devices again:
    /etc/rc.d/dbus restart
    So my guess is that there's some problem with dbus startup. I have it in DAEMONS of rc.conf, as well as .xinitrc, the daemon seems to start correctly on boot, and it worked previously, so I have no idea of what could be wrong.
    My ~/.xinitrc:
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
    eval 'dbus-launch --sh-syntax --exit-with-session'
    fi
    numlockx && exec ck-launch-session dbus-launch startlxde
    My /etc/rc.conf:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
    # startup and during the boot process. If set to 'no', the C locale is used.
    # HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # Note: Using "localtime" is discouraged, using "" makes hwclock fall back
    # to the value in /var/lib/hwclock/adjfile
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # Note: if unset, the value in /etc/localtime is used unchanged
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="ca_AD.UTF-8"
    DAEMON_LOCALE="no"
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Andorra"
    KEYMAP="es"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
    # Replace every !module by an entry as on the following line in a file in
    # /etc/modprobe.d:
    # blacklist module
    # See "man modprobe.conf" for details.
    MODULES=()
    # Udev settle timeout (default to 30)
    UDEV_TIMEOUT=30
    # Scan for FakeRAID (dmraid) Volumes at startup
    USEDMRAID="no"
    # Scan for BTRFS volumes at startup
    USEBTRFS="no"
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="localhost"
    # Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
    # Wired network setup
    # - interface: name of device (required)
    # - address: IP address (leave blank for DHCP)
    # - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
    # - broadcast: broadcast address (ignored for DHCP) (optional)
    # - gateway: default route (ignored for DHCP)
    # Static IP example
    # interface=eth0
    # address=192.168.0.2
    # netmask=255.255.255.0
    # broadcast=192.168.0.255
    # gateway=192.168.0.1
    # DHCP example
    # interface=eth0
    # address=
    # netmask=
    # gateway=
    interface=eth0
    address=
    netmask=
    broadcast=
    gateway=
    # Setting this to "yes" will skip network shutdown.
    # This is required if your root device is on NFS.
    NETWORK_PERSIST="no"
    # Enable these netcfg profiles at boot-up. These are useful if you happen to
    # need more advanced network features than the simple network service
    # supports, such as multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    # If you are sure nothing else touches your hardware clock (such as ntpd or
    # a dual-boot), you might want to enable 'hwclock'. Note that this will only
    # make a difference if the hwclock program has been calibrated correctly.
    # If you use a network filesystem you should enable 'netfs'.
    DAEMONS=(hwclock syslog-ng network crond alsa dbus cupsd)
    Thanks!
    Last edited by gamezelda (2011-11-08 19:28:04)

    I solved it.
    The Wiki page for Mounting for normal users with PCManFM tells to create a "/etc/polkit-1/localauthority/50-local.d/55-myconf.pkla" file specifying the privileges to grant to the user. The problem is that it does not include the privilege needed to mount internal drives (which was what I was trying to mount). To fix it, I added:
    ;org.freedesktop.udisks.filesystem-mount-system-internal
    To the "Action=..." line.
    (Though I have no idea why it worked before it broke, or why restarting dbus after initializing my WM fixed it.)
    As for the power issues, I've concluded that it was working, but restarting dbus after initializing my WM broke it (my bad for not checking it before restaring dbus). So it all works now.

  • Allow normal user to start/stop Tomcat

    Hi,
    Recently I deployed a web app at client's pc running on WinXP SP2. However, I'm not allowed admin rights to that local machine. Is there a way to allow normal user ( like my case) to start/stop Apache Tomcat services without requesting my client to log in as admin to perform this simple task?
    Thanks.
    Z

    salafrance wrote:A simple way would be to write a small C program to run systemctl setuid root.
    So perhaps like this?
    #include <stdlib.h>
    #include <unistd.h>
    int main(void)
    execl("/usr/bin/systemctl", "systemctl", "start", "calibre", NULL);
    return(EXIT_SUCCESS);
    compiled it, then "chown root:root test", "chmod u+s test" and it worked.
    But is this safe? I have absolutely no knowledge about potential security issues...
    I also have thought about periodically restarting calibre, but on the Raspberry Pi, with it's slow ARM, the start takes ages and the processor is completely busy with that task for some minutes.
    And that's the reason why I also want to avoid starting an entire second systemd session... Or is this not that resource intensive?

  • Mounting CDROM as normal user about to pull hair out....

    Hi everyone....
    I'm about up to my wits end trying to allow my normal user to mount and unmount my cdrom drives...
    Here's my /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /proc proc defaults 0 0
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    tmpfs /tmp tmpfs defaults 0 0
    sysfs /sys sysfs defaults 0 0
    usbdevfs /proc/bus/usb usbdevfs defaults 0 0
    /dev/cdroms/cdrom0 /mnt/cd1 iso9660 ro,user,noauto,unhide 0 0
    /dev/cdroms/cdrom1 /mnt/cd2 iso9660 ro,user,noauto,unhide 0 0
    /dev/cdroms/cdrom0 /mnt/dvd udf ro,user,noauto,unhide 0 0
    /dev/floppy/0 /mnt/fl vfat users,noauto,unhide 0 0
    /dev/discs/disc0/part2 swap swap defaults 0 0
    /dev/discs/disc0/part3 / reiserfs defaults 0 0
    /dev/discs/disc0/part1 /boot ext3 defaults 0 1
    I also added a new group called "mount" and added both root and my normal user to it.
    I then did
    chgrp mount /bin/*mount    to change mount and umount to the mount group
    then i did a
    chmod 774 /bin/*mount
    I also made sure that the 3 mount directorys in fstab existed and gave them 777 permissions...
    Did a complete reboot...  and the normal user still can't use mount... I get this error...
    mount: must be superuser to use mount
    I'm at my wits end.  I believe fstab is correct.  I believe my permissions are set correctly...  Is there anything else I need to do?
    Thanks in advance for any replies...
    James

    longhornxtreme wrote:man chmod doesn't say what s does.... so I'm kind of at a loss of understanding...
    The man page says exactly what it does...read more carefully
    the chmod manpage wrote:The letters `rwxXstugo' select the new  permissions  for  the  affected
           users:  read  (r),  write (w), execute (or access for directories) (x),
           execute only if the file is a directory or already has execute  permis-
           sion  for  some user (X), set user or group ID on execution (s), sticky
           (t), the permissions granted to the user who owns  the  file  (u),  the
           permissions  granted to other users who are members of the file's group
           (g), and the permissions granted to users that are in  neither  of  the
           two preceding categories (o).

  • Usb drive mount by a normal user

    how can i make a normal user mount usb drives? i added a line in fstab that allows users to mount /dev/sdb1, but this solves only partially the problem

    After a recent sys upgrade, I am having a somewhat similar problem.  I can still mount my usb stick, but the permissions are now a little screwy (EDIT: i.e. permission denied when trying to change into /mnt/usb directory).
    fstab entry:
    /dev/sdc1 /mnt/usb vfat rw,user,noauto 0 0
    after performing a mount /mnt/usb the permissions on /mnt are:
    d-wxrw-rwx 6 root users 16384 1969-12-31 19:00 usb
    well, the permissions on this drive seem strange to me, as well as the 1969 date.  Additionally if I look at the directory as root everything is executable, which should not be the case.  I've added my username to users and storage in /etc/groups to no effect.  I can mount fine using pmount, but I would much prefer things my way, plus i dislike the idea of being forced to mount things under /media (notions of liberty and such)
    Any thoughts or additional info needed?  I've become stumped enough by this odd behavior to actually register and post.
    Last edited by tousborne (2007-12-01 17:42:08)

  • SQL*Net over IPC fails for normal users

    When normal users try to use SQL*Net to log on to a local
    database on a Linux box, they get the message "ORA-12546:
    TNS:permission denied". An example of this would be the command:
    sqlplus scott/tiger@MG8
    The oracle unix account can execute the above without problems
    and when a normal user sets ORACLE_SID and omits the SQL*Net
    connect string it works fine.
    Oddly, this is only a problem for connections using the IPC
    protocol. If I omit the IPC section from my listener.ora
    (leaving only the TCP section), non-privileged users can log on
    to local databases through SQL*Net without problems.
    I suppose it's not a big deal (there's not that much overhead
    going through the TCP loopback port on Linux), but I'm wondering
    what's wrong. SQL*Net over IPC certainly works on Solaris.
    This is on a S.u.S.E 5.3 distribution of Linux.
    null

    Mark Gleaves (guest) wrote:
    : When normal users try to use SQL*Net to log on to a local
    : database on a Linux box, they get the message "ORA-12546:
    : TNS:permission denied". An example of this would be the
    : command
    : sqlplus scott/tiger@MG8
    : The oracle unix account can execute the above without problems
    : and when a normal user sets ORACLE_SID and omits the SQL*Net
    : connect string it works fine.
    Check that your oracle executable is SUID oracle and SGID dba?
    I'd have thought that would cause problems with bequeath
    connections, so perhaps not.
    Wierd error. You might try running an strace on the sqlplus to
    see what system call fails.
    -michael
    null

Maybe you are looking for

  • Problem with Xacute Query.

    <b> Hi, When I pass the Input parameter to the Xacute Query,It is not giving any output.I mapped the Transaction Output to the Xacute Query. When I ran transaction with same input parameter (transaction  property),it gave successful results. Also all

  • R12 Cloning from Windows 2003 64 bit to Windows 2008 R2 64 bit

    Dear Gurus, I have a 12.1.3 applications and 11.2.0.2 database running on Windows 2003 *64 bit*. Now I need to perform a migration from Windows 2003 to Windows 2008 R2 64 bit. Please confirm if we can directly perform a clone from 2003 64 bit to 2008

  • Multiple Input ports - Single Form

    Hi, I have a RFC which has multiple input ports. How do i use a single form to provide data to all the input ports. Regards Bharathwaj

  • Won't receive Confirmation Email for iStore

    Today i bought the super cool iPod Touch, and ofcours i registered a new account for the iStore. But when i want to download and install a free application, it says i did not verify my account! So i checked my email and guess what? No verification em

  • IPhoto 11 file export tab missing

    I am using iPhoto 9.1.5. When I choose File>Export, the file export tab is missing! Is there a fix for this? I am trying to export with saving the edits and title.