CentOS 5 :: Switch To Root In Terminal?

Oct 19, 2009

I just installed CenOS 5 on my server and am in the process of installing some software to the machine.

I understand repositories and was able to get it all set up for installation with the yum command.

My problem is that when I attempt the install, it says i need root access to install.

I tried using sudo commands to switch to root access, but after entering the password, it says my username isn't allowed root and that my actions will be reported.

I am the admin for the system and have total control, I just don't know how to switch to root in the terminal.

View 2 Replies


ADVERTISEMENT

CentOS 5 :: Switch Kernel Kills Terminal

Sep 8, 2009

im a having a problem whit the terminal on my CentOS 5.3.After i installed the kernel-xen and activate it at:/boot/grub/grub.conf.I tried to start a terminal from my root gnome sesion and it shows this error:There was an error creating the child process for this terminal.I know swithcing the kernel made the problem because when i use the old kernel the terminal works fine.and even when i tried to connect to my Centos server via ssh it shows an error after asking for password:Server refused to allocate pty.

View 9 Replies View Related

CentOS 5 Networking :: Unable To Switch To Root After PermitRootLogin Set To No For SSH

Mar 11, 2010

I followed the instructions on this page ([URL]) in order to secure my sshd and prevent anyone form accessing the server directly as root. Therefore I changed the "PermitRootLogin yes" to "PermitRootLogin no" and restarted sshd. After that root access was denied directly but for some reason I am unable to switch to root from any of the normal user accounts with "su -" because I keep getting the "Incorrect password" errors. I am sure that the password is correct but for some, to me unclear, reasons I am unable to access the root account over SSH from a normal user account. I also noticed that after that I lost the ability to access the server as root over SFTP. why I am unable to generally use the root account after doing the named changes to sshd_config/ I am running CentOS 5.4 with the newest update.

View 7 Replies View Related

Ubuntu :: Switch From Root (#) To Normal Non-root Prompt($)?

Mar 20, 2010

how do i switch from root (#) to normal non-root prompt($). I'm new to linux

View 3 Replies View Related

Debian :: Root Access And Desktop Disabled \ Couldn't Open The Root Terminal?

Feb 19, 2011

I was using the latest stable release of Debian, dual-booted alongside Windows Vista, with the GNOME desktop, installed via netinst, trying to build and install a library that I knew and trusted, when suddenly I couldn't open the Root Terminal. I clicked the link (in Applications->Accessories (I think, whatever the top one is)->Root Terminal), and in the taskbar I saw an item that said "Starting Root Terminal". A few seconds later, that went away, but the terminal still wasn't open. I tried the regular user terminal, to see the same thing happen. Unsure of what was happening, I tried restarting my computer, since that's always the first step you should take in computer problems.

When I restarted, GNOME wouldn't start. The screen would flash a bit for a few seconds, then a dialog box would appear over a background of static that said "The greeter application is crashing. Attempting another one...".t would then go back to the DOS-style kernel, wait a second, and then the same thing would happen. After several of that, I would get a blue screen which said something to the effect of "It has been detected that the desktop environment has crashed six times in the past 30 seconds.

Waiting two minutes before trying again." When it did that, I tried logging in as root to assess the problem. I gave it the correct password, but it said that it was an incorrect login. After several tries (to ensure I didn't mistype the password), I logged in as myself. Same problem. I tried the su command, with the correct password, and it said it couldn't authorise it.

After a lengthy conversation with a friend of mine who was very good with computers, he basically summarised that he had no clue, but that his best guess would be a virus. Upon running the Linux installer, I found the Repair option. Not being particularly familiar with Linux, I used it simply to backup my important files onto a flash drive. I then tried running the Install option, in an attempt to simply write over my existing Linux and make it new again. The installer, however, consistently froze up when trying to start the partitioner, on the "Checking disks..." stage. I figured it was a problem with my partition. In my naivete, I simply used the Windows tools to clear that partition... It destroyed GRUB too, so I couldn't run any OS. I figured my computer was pretty well screwed, and at that point just decided to bring it into the shop and have them completely wipe it.

my computer was backed up onto an external hard driven I brought it back, I reinstalled Windows. Upon restart, it said that it was still looking for GRUB, which made no sense to me. After messing around with it a bit, I decided to just reinstall Linux too. To my lack of surprise, that fixed the problem. Both OS' now ran just fine. The first thing I did on Debian was to install the Clam Anti-Virus, which I understood to be one of the best Linux anti-viruses. However, within about 10 hours, got the same problem as originally. I wasn't doing any of the same things, and between the lack of consistency in activities and the fact that I had an anti-virus running,figured it wasn't a virus. Not knowing what to do, I just left it and have been using Windows since.

View 8 Replies View Related

Ubuntu :: Can't Cd To Root Acount /home In Terminal - Sudo Cd /root Fails?

Jul 25, 2011

can't cd to root acount /home in terminal - sudo cd /root fails?

View 3 Replies View Related

Ubuntu :: Switch Between Windows From Terminal?

Oct 23, 2010

I am using Wine to play Sim City 2k, and the game doesn't show up in the taskbar. How can I use the Terminal to switch to it?

View 6 Replies View Related

Ubuntu :: Switch Between Windows From The Terminal?

Oct 23, 2010

I am using Wine to play Sim City 2k, and the game doesn't show up in the taskbar. Conky shows that SimCity.exe and winserver are both running, but I can't get to them. How can I use the Terminal to swap windows?

EDIT: Oh, great. I think a fire just broke out. I can hear the sirens, but I can't stop them! Crap!

EDIT2: You know, listening to these sirens really sucks. I had my city up to 130,000 people. I was just saving up enough money to buy an arcology when I tried to move SimCity to Desktop #2. Wine was not happy with this decision. My city is probably burned to the ground by now.

EDIT3: Ok, I just realised that I can stop the process from the System Monitor. Too little, too late I imagine. Oh well, I can probably rebuild it if I could just get to the window...

View 3 Replies View Related

Ubuntu :: Lock Up Ctrl-alt-F1 Will Not Switch To A Terminal

Feb 12, 2010

I am having difficulty with an Ubuntu 9.10 machine locking up. I have reinstalled the OS a number of times. I have the latest patches installed. I have another machine installed from the same CD that works fine. The computer is a Dell Optiplex GX260. When it locks up ctrl-alt-F1 will not switch to a terminal. ctrl-alt-esc does not do anything. ctrl-alt-backspace does not do anything. alt-sysreq-b will reboot the machine.

View 4 Replies View Related

Ubuntu :: Switch Monitors With Terminal Or Keyboard?

Oct 6, 2010

My laptop screen broke (smashed) a while ago and I have been using Windows with an external monitor on it ever since. My main laptop, however, runs Ubuntu 10.04 which I prefer immensely so I installed it on my broken laptop in dual-boot with Windows. Everything was fine at first, it loaded by default into a dual-monitor mode, but that was easily changed to just the single external display.

The problem was when I installed the graphics card driver (a Nvidia one). It seemed to reset the configuration to just using the laptop's broken built-in monitor. From what I can tell, there is nothing wrong with the driver as the OS seems to be running fine (from the small corner of the screen which still works). Unfortunately, neither the FN-F4 key combination (which never worked on Windows either) nor unplugging/reinserting the HDMI cable resets the screen setting to let me use the attached monitor.

So my question is whether there is anything I can do using the full-screen terminal (CTRL-ALT-F1), or a keyboard shortcut, to change monitor or go to dual-monitor mode. I would prefer not to use it to just disable the graphics driver because the laptop is a Samsung r780 and the only reason I really want to use it is its great graphics card which is way better for editing stuff and 3d tasks than the old replacement I'm using at the moment.

View 1 Replies View Related

General :: How To Switch To Root Account

Mar 11, 2010

I want to add a new user. For that purposeI switch to su and give root passwd. There I gave a command " useradd ". [smith@localhost smith]#adduser when i press enter key by typing adduser command it say me "Command not found" .Then i log off from my own account and login again from root account. The command "useradd" is then accepted.is there any way that without logging off from normal user account I may enter my roor accout and work as a root account instead to log off from normal user account.

View 5 Replies View Related

Debian Multimedia :: Can't Switch To A Text Terminal Anymore

Jul 31, 2010

I recently upgraded my squeeze in my job's PC. It went fine, but after a reboot if I press ctrl+alt+fX nothing happens. Keyboard works fine, I tested it in Openoffice.

View 2 Replies View Related

General :: Fedora Virtual Terminal Won't Scroll After Switch?

Feb 5, 2010

I recently installed Fedora 12 for some Linux testing. When I switch between virtual terminals (CTRL-f1 Ctrl-f2) I can no longer scroll back in the VT I left and came back to. Any new data created will be scrollable, but i can never get back to before the switch. I'm sure this used to work (several years ago). Was this introduced as a security feature to prevent left over data on VTs from being seen by the wrong eyes? If so, is there a way to get the old functionality back?

View 1 Replies View Related

Hardware :: Can No Longer Switch To Text Terminal With Ctrl+alt

May 20, 2010

Graphics card is ATI Technologies Inc RV730XT [Radeon HD 4670]After fresh install of Debian Lenny VESA was used, neiher xserver-xorg-video-radeon or radeonhd worked.I installed ATI:s proprietary driver, after that there are 2 problems:

1) I can no longer switch to a text terminal with ctrl+alt+F# - it worked with vesa driver. There is no option "VTswitch" in xorg.conf
2) The new fglrx does not give 3D, also very bad performance - dragging windows on screen makes them stutter for instance.

View 14 Replies View Related

Ubuntu :: Switch To Root User In Gui Of Live?

Sep 23, 2010

I need to access some things in "documents and settings" folders (my windows xp crashed). I believe I need to be root user in linux to do this. I am running a ubuntu linux live (uninstalled) cd. I am new to linux and I do not know if this is even possible. I want to copy some things from documents and settings folder to an external drive (as backup) but I cannot access them as things are now (linux gives me an error when I try) but I would like to do it in gui so I can physically "see" everything and look through it.

View 9 Replies View Related

Ubuntu :: Switch The Mass Storage Device Into Modem In The Terminal Window ?

Nov 4, 2010

I am beginner in UBUNTO 10.04 LTS. I have a mobile broadband of Relience which use the device of Huawei EC 1262. I have a problem with this modem. when i installed required packages for this device like usbswitch, wvdial etc, my internet connect works fine but as i switch off the PC and restart, PC can not detect the modem, it detect as mass storage device. Is there any command/option that i switch the mass storage device into modem in the terminal window or on the GUI platform mean on the desktop screen.

View 2 Replies View Related

Fedora Installation :: Unable To Boot Or Switch User To Root On Fc13

Aug 18, 2010

Having just installed fc13 and downloaded the KDE package I attempted to log out as user and back in as root, but I keep getting a message about the wrong password. This is odd as the same password works in terminal if I try to become a SuperUser. I have tried turning off SELinux to no avail. I cannot log in from cold as root,only as user.

View 1 Replies View Related

Fedora Networking :: Connecting Wired Connection 15 - SWITCH TO ROOT USER If Don't Have Privileges

May 26, 2011

Figured out a straight shot at connecting to the Internet in Fedora 15. Follow these commands.

1.)****** SWITCH TO ROOT USER if you don't have privileges*******
2.) cd /etc/sysconfig/network-scripts
3.) rm ifcfg-XXXXX (DO NOT REMOVE THE IFCFG-LO)
4.) system-config-network

-> Once in this screen, press the enter key on "Device configuration"
-> Configure your network statically. ( I did the following.) Name: leave as default Device: Leave as default DESELECT "Use DHCP" Set Static IP as 192.168.2.117 (or 192.168.1.117) Set NetMask as 255.255.255.0 Set "Default Gateway IP" AND "Primary DNS Server" to 192.168.2.1 (or 192.168.1.1)

[Code]..

View 4 Replies View Related

General :: CentOS / Sudo Doesn't Accept Root Password But Logging In As Root Works

Apr 9, 2010

I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?

View 1 Replies View Related

CentOS 5 :: Switch For IP To Name?

Jan 21, 2011

Within Windows you can do a reverse ping using the -a switch. I.e., ping -a 192.168.x.x. and it will return the system name.

What Linux command will return a Name to an IP?

View 15 Replies View Related

CentOS 5 :: Unable To Switch To New Kernel?

Jan 28, 2011

I am running an old kernel for my XEN VPS CENTOS 5.5 x86_64 - 2.6.18-164.el5xenI did a 'yum update kernel' but when I rebooted still the same. I have downloaded the version 'kernel-2.6.18-194.32.1.el5' I cannot find grub.conf in both etc and boot, yes grub is installed via yum.

View 7 Replies View Related

Debian :: Terminal Command To Switch Right Handed To Left Handed Mouse?

Jun 30, 2011

I have a broken touchpad primary click button so I set up the touchpad for left-handed people but when I use my wacom digital tablet, I have to switch and it's very annoying because I tend to still use the touchpad when the tablet is connected. A terminal command would help me a lot since I could alias it and I have a shortcut on my keyboard for the gnome-terminal.

View 1 Replies View Related

Ubuntu :: Can't Log In As 'root' On Terminal

Mar 28, 2010

I have a problem on Ubuntu Karmic Koala. I can't log in as 'root' on the terminal or on 'root terminal'. And i just update the Karmic Koala, but still... i can't enter as 'root'...? Frankly speaking.... it's easy to use 'root' on Ubuntu 8.10.....

View 1 Replies View Related

CentOS 5 Networking :: How To Switch From DHCP To Fixed IP

Jan 25, 2009

Assume I installed originally CentOS Desktop with IP receiving from DHCP server.Later I decided to assign a fixed IP to the local CentOS installation.How do I switch (permanently) the dynamic DHCP IP assignment to a fixed IP?

View 1 Replies View Related

CentOS 5 Hardware :: How To Switch From AMD To Intel Without Reinstalling

Apr 9, 2009

I am having a hardware problem with my samba server. It is on an Tyan AMD motherboard, (Tyan S2469), and it appears the board has gone bad. Is it possible to transfer the drives onto my Tyan S2735 mother board without a complete reinstall? I really need to save the data on the system.

View 6 Replies View Related

Debian :: Cannot Start Root Terminal

Apr 13, 2016

After reboot I can start it, no problem here. But if I close root terminal and trying to open it again - it won't open.

If to open it from user terminal, it gives me:

Code: Select allgksu /usr/bin/x-terminal-emulator
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1

The only thing comes to my mind is that right after installation I opened root terminal and:

- kept a tick on "remember password"
- put a tick on "save in the keyring".

I guess the last tick is the problem. I installed debian 8.4 in virtualbox and specifically kept the tick where it should be and I can start root terminal many times w/o any problem. How I can fix that?

I do realize that I can get root privileges in terminal. I guess it's more about convenience.

I tried to google it, but no luck. Just to name few:

[URL] .......
[URL] .......
[URL] .......
[URL] .......

View 5 Replies View Related

Fedora :: Get Shortcut For Root Terminal?

Aug 10, 2009

how to get a shortcut for opening a terminal as root? I mean something I could put in my gnome panel and then just click and get a dialog asking for the root password. Or maybe just open the terminal and automatically do "su -" (maybe this is easier actually). In Debian/Ubuntu this can be achieved doing "gksu gnome-terminal". In F10 I got it done using beesu, but it doesn't work anymore in F11:

Code: $ beesu gnome-terminal
(beesu:17788): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
(beesu:17788): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
Failed to contact the GConf daemon; exiting.

View 9 Replies View Related

Debian :: Non-Root Terminal Does Not Open

Sep 9, 2009

I am running Lenny with LXDE. Fresh install of the single CD. The regular terminal fails to open when I click on the icon or when I use the Accessories menu title. However, the root terminal will open. Any way to fix this? I don't want to always be using root for routine work.

View 13 Replies View Related

General :: How To Get Back In To Terminal As Root

Mar 23, 2011

My problem is music playback it seems to act as if it is buffering every few seconds ,at some point playback just stops and seems to freeze up the rythmplayer, I had the same problem with ubuntu, linux mint now I'm trying fedora 14 wich i seem to be having the best luck, with my msi 7142 M.B.I did find one forum here with that sounded much the same but was unsolved.

1: how do I get back in to the terminal as root ?
2: how do I check DMA on my cd/dvd -cd rom ? if thats the problem
3: could it be my sound card? turtle beach santa cruz [/B]

(right now the pc i was using to check out the the diff distro's is using debian so far it is playing a cd just fine, the problems seem to just be on my main pc)I really really could use the help I've been working on this for over a month,searching, reading threads, all I can to even just learn in hopes of escaping windows during this doing a duel boot caused windows to crash (kinda funny, but a pain, good thing I backed up my music.

View 13 Replies View Related

Networking :: CentOS VLANs And Cisco Catalyst Switch?

Jul 27, 2011

I have router based on CentOS system with DHCP server. In one eth I have fiber converter attached in second one I have Cisco Catalyst switch connected. From the switch rest of ports are used to provide internet traffic to rest of network. I wanted to divide each segment of network (based on switch ports) that they don't see each other (it'll be good for me if someone will connect his wireless router to the network not to WAN by LAN port and start be a second DHCP server). So my network configuration:

CentOS:

DHCP with range 10.0.0.1/8 network

Switch ports

1 - CentOS DHCP
2 - second server

[code]....

Parts of networks I've assigned IPs 10.network_part.subnet_part.client_ip so I have addresses for clients: 10.1.1.2/8, 10.2.1.3/8, 10.3.0.4/8, etc ...

I've decided to give each port it's own VLAN like below:

Port / VLAN
1 / trunk

[code]....

I've configured switch ports by using:

(config)# interface Gi0/Port_Number
(config-if)# switchport access vlan VLAN_NUMBER

[code]....

And after doing that whole network stopped working. I think that cisco part of configuration is OK (at least customer ports, I don't know if there is any additional info needed for trunk port). On CentOS router I didn't setup anything regarding VLANs ...

View 4 Replies View Related







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