Fedora :: You Need To Be Root To Preform This Command?

Mar 21, 2011

I am trying to install Wine 1.2 through the terminal, I type yum -y install wine1.2 cabextract and then hit enter. Then it says "You need to be root to preform this command" What does this mean and how do I become "root?"

View 3 Replies


ADVERTISEMENT

Server :: Stop Mysql In Order To Preform A Backup?

Apr 12, 2010

I'm working on an old redhat server with mysql installed and I need to find a way to stop the service in order to preform a backup.

some info that I found on the server code...

View 9 Replies View Related

Fedora :: Run A Root Command From Script?

Feb 15, 2009

I am playing about with Fedora10 installed in VirtualBox on a Fedora9 x86_64 system. To mount a shared folder I need to run a command as root, which works OK, if done the right way. I thought it might be simpler to do it via a shell script, but that doesn't work and neither does the use of sudo, or su. The only way I have managed to get it to work without error is to use 'su -' Here is the response I got from the terminal...

[terry@localhost ~]$ sudo mount -t vboxsf -o uid=terry ShareVM /home/terry/ShareVM
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
[terry@localhost ~]$ su

[code]...

here is the script that doesn't work...

#! /bin/sh
# this script sets up the share directory
sudo mount -t vboxsf -o uid=terry ShareVM /home/terry/ShareVM

View 2 Replies View Related

Fedora Security :: Suddenly Root Password Invalid For Su Command?

Apr 9, 2011

I have recently installed Fedora 14 on a new computer we presented as a gift to my sister-in-law. She is new to Linux. Although I've used Fedora since Core 1, I'm no expert on security issues, and this baffles me. She's doesn't know how to change the root password, so why doesn't it work any more? She discovered the problem when attempting a yum update from a terminal.(1) How could the root password have gotten changed? How likely is it that someone got onto her system through ssh, made a lucky guess on her root password, and then changed it? Are there robots that do this?

(2) The firewall is enabled. I have it set up as follows: (a) under "Trusted Services," only ssh is checked (I need to be able to get in remotely this way); (b) under "Trusted Interfaces," I have eth0 checked (I need to be able to use VNConto her desktop).Question: Are these settings giving ample protection? What settings would be recommended to protect her system while at the same time allowing me to access it through ssh and VNC?

View 8 Replies View Related

Fedora Installation :: SU Command - Root Account Login Giving Error

Jan 5, 2010

In the freshly installed Fedora 12, I installed java and maven and added following files into /etc/profile.d folder:
java.sh

Code:
export JAVA_HOME=/opt/jdk1.6
export PATH=$JAVA_HOME/bin:$PATH
maven.sh

Code:
export MAVEN_HOME=/opt/maven
export PATH=$MAVEN_HOME/bin:$PATH

Now when I try to login to "root" account giving "su" command , it gives me the error :
bash: /root: is a directory

View 1 Replies View Related

Fedora :: Use Su (root) With "disk Management" (in The Gui) Without The "command Prompt-terminal" Window?

Jul 8, 2010

in xfce desktop >> when i try and run "disk management" >> it gives me a "not allowed" message >> How can I use su (root) with "disk management" (in the gui) without the "command prompt-terminal" window?

View 7 Replies View Related

Red Hat / Fedora :: Root Line Passwd File Now Unable To Login As Root?

Jan 26, 2010

I edited the passwd file to modify the default shell for root from bash to tcshnow when I try to login to root it gives me the following error:"su: /bin/tcsh : No such file or directory"

View 3 Replies View Related

Fedora :: Root File Permission Accidentally Changed Root To 700

Mar 24, 2010

the terminal and logged in as root i was changing file permissions and happened to change the root folder to 700. Now my icons have gone and i can't even access the terminal.

I was just wondering if it is possible to go to rescue mode using the cd and restore all the appropriate file permissions to root/ users if possible

View 4 Replies View Related

Server :: Fedora Sending Mails From Root With Non-root Account?

Jul 14, 2011

I've started to get emails that would typically come from [URL] as [URL]. These emails come from services that send out emails (backup programs) directly, or from cronjobs. I've logged in as the non-root account and either sudo su - or su - to root and the restart the service at one point or another. If I login directly as root and bounce the service or cron the emails come across as from root. I don't see anything in my environment variables after I su to indicate what would cause this. I'm not sure where else to look? A pam setting? This seems to have happened between Fedora 10 and 14 (did a bunch of overdue upgrades recently) I've only got Fedora so I don't have anything to compare to. In Fedora 10 I did not have this problem.

View 2 Replies View Related

General :: Run A Command Under Root As Another User?

Jan 8, 2010

So, i've a little question. I have a Linux Red Hat 5.1 System wich has a programm that needs to be started as a user -> usera .When i reboot the server, how can i make it possible to run a command in the shell as usera user?Someone told me, that this is not possible to make an autostart entry because this works only with the root account?!What i want its simple.- Command -> startprg need's to be started as user usera automatically after an automated reboot of the red hat linux

View 4 Replies View Related

General :: Run Command As Root On Startup?

May 14, 2011

As I tried to explain on the title, what i need is to run this command "NetworkManager --no-daemon" as root every time I start my arch+gnome so that the nm-applet would show on the panel.I need to know a way to do this automaticaly each time I start my pc

View 6 Replies View Related

Ubuntu :: What's The Command For Running Natilis As Root

May 7, 2010

What's the command for running natilis as root? What about my natilis spelling?

View 2 Replies View Related

Ubuntu :: Way To Add 'run As Root' Command To Right Click Menu?

May 7, 2010

is there a way to add a 'run as root' command to the right click menu? so i could right click on a launcher, or a file in /usr/bin(or some other no editing folder) and easily run as root?

View 5 Replies View Related

Ubuntu Servers :: SuPHP - Do A Root Command?

Oct 22, 2010

I've installed suPHP on my ubuntu server, only thing is, there's no examples of php code that I could find that shows how to do a root command (e.g. su useradd ... ) I've been on this for 3 days and it's hurting my head

View 2 Replies View Related

Ubuntu :: Crontab Command Requires The Root?

Feb 3, 2011

I tried scheduling a task using crontab -e and added the line:

Code:

58 23 3 2 4 /usr/bin/freshclam --verbose --log=/home/EXISTING DIR where I have permissions

The timing was simply a test run. My syslog gives the following error:

Code:

(CRON) error (grandchild #4309 failed with exit status 62).

I also tried to add to root crontab as below, but got the same error.

Code:

sudo crontab -u root -e a

View 9 Replies View Related

Ubuntu :: Command For Running Natilis As Root?

May 10, 2011

What's the command for running natilis as root? What about my natilis spelling?

View 1 Replies View Related

Ubuntu :: Launch A Root Command In The Boot In 11.04?

Jun 20, 2011

In a computer, the brightness can't be changed with the fn key (and the brightness starts at 100%) :S I can set the brightness with this command from a shell: sudo setpci -s 00:02.0 F4.B=25 In Ubuntu 10.04 worked set this command in /etc/rc.local But in Ubuntu 11.04 I did this, but it didn't work. In which file can I set a root command in the boot in Ubuntu 11.04?

View 3 Replies View Related

SUSE :: Enabling The Locate Command If Not The Root?

Apr 26, 2010

Is there a way of enabling the locate command if you're not the root?

View 1 Replies View Related

General :: Configure The At Command To Send To Someone Other Than Root?

Jul 6, 2010

Is there a way to configure the at command to send to someone other than root?

View 1 Replies View Related

General :: Execute Root Command Without Sudo?

Jan 24, 2010

On my ubuntu I have a command pm-suspend, which puts the computer to sleep. It has to be run with sudo. Since it is inconvenient to be forced to type the password every time I want my computer to sleep, I thought maybe there's a way around it. Naively I thought that if I'd create a script as root, that invokes pm-suspend, and then let anyone execute that script, I could run that script as my own user and then that script would be considered run by root and hence be allowed to run pm-suspend. Obviously that didn't work. The root-check procedure in pm-suspend still found out that the original executor was someone different from root.

Still I think something similar (although slightly more elaborate) should work.I'm thinking about the process that allows the user to mount hard drives for example. Normally root is required, but it is somehow bypassed by the gnome utility mounting.

View 8 Replies View Related

General :: Unable To Login As Root While To Use The Su Command?

Apr 3, 2011

I have a Linux machine which I set up for my personal use at home. I installed Fedora Core 11 a long time ago, and recently I noticed that I am not able to log in as root (I didn't realize this issue until recently since I always have been logging in as a user account that I created during the FC11 installation).When I login as a user account instead of root, I can use the su command with the password I set up for the root account. Even when I'm in GUI mode and try to make changes to the system from the user account, the GUI asks to enter the root password, and I type the password I set for root and it works. However, if I boot the machine and try to log in the system as root, password that I set up is rejected.

I'm very puzzled with this problem because with my limited knowledge on Linux system, I thought the root password and the su password are the same (i.e. when you install Linux OS, you set the root password, and you use the same password for using the su command). I do not know exactly when this problem started, but the only thing that I can think of as a cause of this issue is that I once changed the root password from GUI using System > Administration > Root password since the system one time complained about the low security strength of the root password.

View 6 Replies View Related

General :: -bash: Root Command Not Found?

Feb 8, 2011

I am having redhat 5 linux machine running on my windwos x in vmware workstation. Today i was installing oracle software in redhat 5 after editing the bash profile for the oracle user i got the following messages

su - oracle
password:*****
-bash: [oracle: command not found

[code]....

View 10 Replies View Related

General :: Root Directory Changed By Using Command?

Oct 24, 2010

I am using fedora 13. If is use the command "cd //". It changes to root directory. How is it? What "//" denote?

View 6 Replies View Related

General :: Run Command As Root Inside Script?

Sep 4, 2009

I am running a shell script using a non root user. Somewhere down in the script, I'll have to call some script to be executed as su (or a user with more privileges than the one running the original script). So if i put a line in the script as:

Code:

su - root -c /root/roleScripts/assignRoles.sh

Then when running the command, it will prompt me for root password(because the current user has lower privileges than the user requested. Suppose I want to pass this password as an argument to the original script, so that it doesn't prompt me for password later on, what is the way? Can I switch user passing the password and run a command?

View 14 Replies View Related

General :: Using Route Command With A Non Root Process?

Sep 15, 2010

I use the system command route from a process (using the system() call). For security reasons the process does not have root privilege and for some reason I cannot use ioctl() either. I tried to set the capabilities of the process to NET_ADMIN and SYS_ADMIN but the route command still failed due to insufficient permissions.

What are the capabilities that I need to set for route to be successful?

View 1 Replies View Related

General :: Why Grub>root Command Gives (fd0) Output

Jun 24, 2011

I am learning Linux administration and I am new in this area. Currently I am trying to find out which drive has grub.conf file. Following commands giving me correct output (hd0,0):

find /grub/stage1
find (hd0,0)/grub/grub.conf

But root command gives me output (fd0). Why?

View 3 Replies View Related

Red Hat :: Change Root Password With The Passwd Command?

Jan 15, 2010

I have Red Hat version 4 I was trying to change the root password with the passwd command.I get the error passwd: PAM [dlerror: /lib64/security/sufficient: cannot open shared object file: No such file or directory] I have change the password before.

View 5 Replies View Related

Debian :: Install Httperf Using The Following Command As Root User?

May 25, 2011

I am a Fedora user and have recently shifted to Debian.I tried to install httperf using the following command as root user:apt-get install httperfbut apt-get cannot locate the package:

root@D6-VM:/home/saad# apt-get install httperf
Reading package lists... Done
Building dependency tree

[code]....

View 3 Replies View Related

Ubuntu :: Difference: Run Program From Rc2.d Or From Root Command Line?

Mar 26, 2010

Example: In rc2.d I have S99test. In it: Code: #!/bin/sh mplayer -playlist "/music/Thom Yorke - The Eraser" Reboot; hear the loveliness; press pause (lirc setup)...still loveliness.

Login as root; "pkill mplay";hear nothing; "/etc/rc2.d/S99test"; more loveliness; press pause...silence! I know that i the former case, mplayer is assigned (for lack of a proper term) to a session, e.g. tty1. Not so in the latter. But why should a program like mplayer not receive (or ignore?) input from lircd, simply because it doesn't have a session? And how can I get mplayer (or any program run from boot scripts) to work with other programs (like lircd)?

View 1 Replies View Related

Ubuntu :: Get Root Script To Run A Command As Normal User?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved