Red Hat / Fedora :: Running Command At Startup As Normal User?
Dec 23, 2008
I'm trying to start an Oracle Integration server as user "oracle" at system startup and my approach was to place a couple of lines in /etc/rc.localsu oracle/home/oracle/startallSomething is not quite right about this as it seems to leave some processes owned by root.
View 2 Replies
ADVERTISEMENT
Aug 29, 2011
I can switch to root by typing "su"After having done something, I hope to switch back to original normal user. What's the command,
View 3 Replies
View Related
Mar 12, 2010
I'm trying to get synergy+ to work on Fedora 12 on start up. I'd like to be able to log into Fedora using my keyboard and mouse through synergy+. I've tried adding the line
Code:synergyc <localipaddress> at the end of the /etc/rc.local file but I still can't use my keyboard and mouse to log in. I've also tried adding the lineCode:su <username> -c "synergyc <localipaddress>" to /etc/rc.local but it still doesn't work. Just to clarify, I do have synergy+ working on Fedora but I need to start it after logging in on each reboot by switching my keyboard over to the other computer.
View 2 Replies
View Related
Jun 8, 2010
Because I have a flaky wireless device, I occasionally get a hung connection and this script gets things running again in just a few seconds except obviously the boldfaced item, as it still tries to run in the root directory and gives errors:
Configuration file "/root/.kde/share/config/knetworkmanagerrc" not writable.
Please contact your system administrator.
So I am not sure how to get knetworkmanager to run as me, the user ubuntu in the /home/ubuntu directory
#!/bin/bash
service network-manager stop
sleep 1
killall -9 knetworkmanager
[code]....
View 1 Replies
View Related
Oct 12, 2009
I have found so many ways for root user to execute commands in so many possible path locations - but having difficulties on executing commands as normal user - during start up.This is what i've got for /etc/rc.d/rc.local script:Code:su -l user && (/bin/sh svc_cmd.sh &)But the command doesn't run at all...
View 2 Replies
View Related
Oct 23, 2010
I am using vicidialnow 1.2 VERSION: 2.0.4-122 and BUILD: 81011-0855 (CEntos Based Dialer). In all the way, it is working fine. I want to give the access of command /usr/sbin/mtr to a Normal System USer, which is not working according to my wish. I have make the entry in as sudo or make the soft link of /usr/sbin/mtr to /bin. But all in vain. And i am not in the condition to give the root access to the user.
View 4 Replies
View Related
Jan 20, 2010
I would like to be able to suspend to disk or Ram from the command line. I can do it with the package 'hibernate' which works well, but it needs to be run as root:
Code:
Do you know if there is any way that I can make this script run by normal users?
I am using a minimal version of 9.04 with openbox.
View 9 Replies
View Related
Dec 25, 2010
when loggin as a normal user and search for a file passwd under /etc. i get few errors with permission denied.how to ignore this permission denied errors.
csh hostname 109 % find . -name passwd
find: ./lvm/backup: Permission denied
find: ./lvm/archive: Permission denied
[code]....
View 4 Replies
View Related
Jan 23, 2011
I want to run this command on startup.
xmodmap /etc/xmodmap
I am running Ubuntu 10.10 and need to remap keys. It only seems to work when I run it in terminal after I login.
View 2 Replies
View Related
Apr 15, 2010
Is there any way to use 'fdisk -l' as a normal user? I see in F12, /sbin has been added to PATH by default for a normal user, but when trying to use it, nothing shows up.
See below for demonstration purposes:
Code:
Password:
I don't want to use 'su -' or 'su -c' and login every time.
View 6 Replies
View Related
Jul 30, 2009
Quote:
Originally Posted by G�del
It gets me within a mile
how i am auto mount the ntfs drives through the normal user with out asking password... I need it and also one thing is i want two drives only auto mount and when i open the other drives it should ask the password?...
View 1 Replies
View Related
Sep 24, 2010
Let's say 4 users have logged in on 4 different Virtual Consoles:tty1 .... tty4On tty4 is logged in User4.How can I log out the User4 from my console using the root login?I just checked out the man page of shutdown but didn't find any hint there. The logout command is also not doing the work. We cannot specify a username wit it to log him/her out.
View 7 Replies
View Related
Feb 18, 2010
If sound on F12 works as root user but not as a normal user, try this simple fix! I've been struggling to get sound working as a normal (non-root) user since F10. Until now I've had to run X as root user to get any sound out of my machine.
Sound actually works OK now for me as a normal user. Here's how I fixed the problem.
First I uninstalled pulseaudio with:# yum remove pulseaudio Then reboot back to the hardware. You might want to keep pulseaudio, but I have no need for it. PA wasn't running on my system anyway.
Running X as root user, I did the following: As a test I opened a root shell and typed the following:
[root]# alsamixer c0 That started the alsamixer OK, and all the controls were accessible.
[Code]...
View 14 Replies
View Related
Jun 28, 2010
Problem is that I can't burn disk using nero linux as normal user. If I try to do so, it tries to create a .nrg image in the drive rather than burning those files in the disk. But if i run nero as super user then it works okay. If I run it as normal itan't even recognize my burner
View 2 Replies
View Related
Jul 3, 2010
How do i add the default normal user to the sudoers group? Is it normal for the main user to be kept out of the sudoers group or did i do something wrong during install?
View 2 Replies
View Related
Oct 5, 2010
I am running Fedora 12 OS on my machine. I would like to disable the USB devices for normal users so that usb-storage devices cannot be plugged in. However at the same time a mouse or a keypad may/could have a usb connection. note that root should be able to use the usb storage devices. How can the same be done on fedora 12? I would prefer not to do it via the BIOS options.
View 6 Replies
View Related
Oct 6, 2010
I am using fedora 12.I have two internal drives. Both are ntfs. Whenever i click on them it prompts to enter root password. But i want to mount them as normal user without entering any root password. How can i disable it so that i am not asked to enter root password everytime i mount the drives.
View 2 Replies
View Related
Jul 8, 2010
i have to install app server on VM of Linux box. am able to connect Linux box via puTTY and Xmanager as root user. but am not able to connect as a normal user. in Xmanager i see network error. In puTTY console gets disappear
View 1 Replies
View Related
Feb 10, 2009
My X server restarts as soon as I log in as a regular user. Root user has access. I can log in both root and normal user in terminal and over SSH. I tried rebuilding and installing the proprietary NVIDIA driver, as it builds it's own config file for X. I've had no previous problems with X on this system. The last major change to the system before the last log out was the installation of MCNP5. MCNP5 was installed under the regular user; no root privledges were needed.
View 8 Replies
View Related
Sep 14, 2010
I'm using fedora 12 and modified the user login options(normal and super user login). I've been using the accounts for a while but i've bumped into a problem - audio not working as a normal user but works when logged in as root. Also, i'm not able to use VLC as a root user.
View 1 Replies
View Related
Feb 19, 2010
I'm able to mount ntfs file system as root user but I want the same thing to be allowed to normal user .
I'm not much familier with linux environment so please explain me how to do that for normal user.
View 3 Replies
View Related
Jul 3, 2010
I have a question that i want to make a normal user to execute the commands which the root user is able to execute, say if i have a user named siru and when i logged in using siru i cannot run commands like tracert,nmap@loccalhost and all but i can run when i have logged into root account so my question is how to make siru to run the command tracert,nmap@localhost.I have even edited the .bash_profile of siru's home directory from
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
[code]...
View 1 Replies
View Related
Jul 4, 2010
The normal user is now in the sudoers group. How can i allow it to install programs using it's own password rather than having to know the super-secret Root-Users password?
View 5 Replies
View Related
Jan 23, 2010
I'm having some problems getting my screensaver to work automatically.If I start the screensaver config program then it gives me this message: "The XScreenSaver daemon doesn't seem to be running on display ":0.0". Launch it now?" If I click yes then my screensaver works exactly as expected.How can I get the XScreenSaver daemon to start automatically?
View 3 Replies
View Related
Oct 13, 2009
Offlate I installed F11 i586 on my laptop. F11 shares the hard disk with Vista Home Premium 32-bit. The problem is that when running F11 (or even Ubuntu), my system shut off suddenly(not a normal OS shut down, but a sudden power off without any warning). This could have been a hardware trouble(heating) but it doesn't happen with Vista.
Machine specifications:
Maker: Toshiba
Model: Satellite L305D-S5881
AMD Turion X2 Dual Core Mobile Processor RM-70
3072 MB 800 MHz SDRAM
I don't want to open up my machine unnecessarily, if it isn't a hardware issue.
I am not sure how to verify the bit length of the machine and the OS and does it create a compatibility issue ?
Your advise would be highly appreciated.
Raman
View 3 Replies
View Related
Jan 5, 2010
I have a Red Hat 4 server with Sungard Luminis installed on it. I was following some instructions on setting up Luminis to start at boot. One of the steps was modifying the sudoers file. Since modifying the sudores file, I am no longer able to "su" to root when logged in as a normal user. When doing so, I get su: incorrect password after putting in the password. I have another server with the exact same setup, broken one is test, the other is production, that works just fine. I made no changes to my production server. I've been looking at different things all day and the only difference I have found between the two are the results I get from running rpm -q --verify coreutils. Running that on my prodution server returns nothing. Results from my test server are below. Is this what is causing my problems? If so, what's the fix? I haven't found that yet. I've checked /etc/pam.d/su, both servers are the same.
rpm -q --verify coreutils
.....UG.. /bin/basename
.....UG.. /bin/cat
.....UG.. /bin/chgrp
[Code].....
View 2 Replies
View Related
Oct 4, 2009
my wireless adapter(WUSB600N) doesn't run when I log in. The driver is loaded on start-up but the green light is not on the adapter. I have to physically disconnect the adapter and plug it back in to get it recognised and it works fine afterwards
View 2 Replies
View Related
Apr 29, 2009
There is a script that I want to run as root when the machine boots up(which starts the Redhat Certificate System services). The problem I have is if I put this on rc.local it wont run because I havent logged in as root. Is there a way that I can run this without logging in as root at the machine startup?
View 5 Replies
View Related
Nov 2, 2009
I have problem for emerald and compiz in KDE fedora 11. The problems are:
1. Emerald is not running at startup so I have to type emerald --replace every time I login otherwise I get no windows border.
2. The static application switcher in compiz is not running at startup so I have to go to ccsm and disable then reenable it again otherwise when I point my mouse to the edges of my screen it wont do anything.
View 4 Replies
View Related
May 20, 2010
I'm needing to have the acer-wmi module running at startup for my wireless card. In ubuntu this is located at /etc/modules and I was wondering where the same file is within Fedora
View 2 Replies
View Related