Fedora :: 14 - Root Stuck In Bash
Jul 15, 2011
One of our Fedora 14 machines has the root user stuck in bash. This would not be a problem as we rarely use root, but some of our processing runs on cronjobs from the root account. Tcsh is installed and up to date. All other users can switch shells except root. I do not know what happened as I was out for a day and came back and the processing was not working.
View 1 Replies
ADVERTISEMENT
Feb 20, 2010
so i installed f12 from a dvd my friend gave me.after the package installation and the system reboot i log in as "root" and typed my root password then [root@localhost ~]# came up now i have no idea what to do next. the installer wont run in graphics just textbase im new to linux and im willing to learn but what do i do next.
View 8 Replies
View Related
Jun 22, 2010
i have an asus p5kpl-am se g31 socket 775 mobo with an intel pentium e5300 2.6 ghz cpu.
i think my problem might be with authentication or permissions possibly in pam.d, but i can not login as root, canot su, nor sudoer. i can't even use bash because i can't enter my password because when i enter characters the cursor just blink but doesn't even move.
i've tried re-installing. i've checked the configuration of the keyboard, but i'm limited without root access to some files.
View 7 Replies
View Related
Mar 14, 2010
I want to change my default shell to tcsh. I used
Code:
usermod -s /bin/tcsh username
command as given at url
But if I open a new shell, it is still a bash shell.
How do I make my default shell as tcsh?
View 6 Replies
View Related
Mar 3, 2010
I need to launch a bash file in Linux from an unprivileged user session, file that will run bash commands as root. But I do not want to create an user with root privileges to do that.
View 10 Replies
View Related
May 23, 2010
A friend of mine upgraded his pc to ubuntu 10.04. Sadly enough we ran into issues with his graphics card, which apparently doesnt work well with lucid. We decided to downgrade to 9.10. I did this by installing over the old partition and chose to import the settings from the old account.The problems started when the pc booted for the first time:The list of kernels in grub2 was the one from 10.04.Somehow grub2 from the old installation seems to be still around and messes everything up. Any ideas how I could fix this?
View 6 Replies
View Related
Mar 28, 2010
I have a local computer (local), and remote computer (remote) behind of remote server (server). Also, I have user access to all of these 3 machines. Now, I want mount some directory, located at remote, to my local mount-point via sshfs. How should I setup my local sshfs and what should be done on server to make this mounting?
I'm stuck with ssh tunneling because the default method for tunneling requires root access while WinSCP somehow could do this with only user access (the tunnel server could be configured there in 'tunnel' panel).
View 5 Replies
View Related
Sep 26, 2010
Output of my #alias command looks just as normal as one would expect:
Code:
alias +='pushd .'
alias -='popd'
alias ..='cd ..'
alias ...='cd ../..' .....
And still whenever I (as root) type in bash
#ll
which would be short for
#ls- l
i get output of the command
#ls -al
So where aliases for root overwritten? Usually I would expect .bashrc in the /root directory. Or at least .alias file. But there none of those in my current /root. So, my question is where root user gets it's aliases from? This concerns only root user. Normal user has .bashrc and I made up my own aliases in .alias and that's works jut fine. And yes I could make .bashrc file in the /root and .aliases where I would define my own things.
View 4 Replies
View Related
Aug 31, 2010
I am trying to write a script that will create a directory, copy files to it, zip them, move the zip file to the desktop and clean up.However, when I run the script, it comes back stating that I do not have permission to make the directory. I wanted to know how to add the permission into the script to allow for access to whoever runs the script to pull the logs, but won't leave the system in the root user?here is what I have for code so far:
#!/bin/bash
host= 'hostname'
mkdir /home/savelogs
[code]....
View 1 Replies
View Related
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
Mar 22, 2010
i am using fedora 10 while i login as a normal user its working fine username@hostname while i login as a root user it goes directly into -bash-3.2# if i check pwd it shows /root till now i am not facing any problem as i am using as a normal user but how can i change -bash-3.2# to root@hostname which file and where to edit
View 9 Replies
View Related
Feb 19, 2011
As I login as root, the bash is /sbin/sh. So I have problem to run script under /ect/rc3.d/myScript
So I want to change the bash from /sbin/sh to /bin/bash.
View 2 Replies
View Related
Jan 22, 2011
Code:
[liveuser@localhost hd1]$ cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
color=never
# installroot=/home/liveuser/hd1
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[liveuser@localhost hd1]$ yum list installed bash grep
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Installed Packages
bash.x86_64 4.1.7-3.fc14 @fedora/$releasever
grep.x86_64 2.7-1.fc14.1 @fedora/$releasever
[liveuser@localhost hd1]$ sudo vi /etc/yum.conf
[liveuser@localhost hd1]$ cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
color=never
installroot=/home/liveuser/hd1
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[liveuser@localhost hd1]$ yum list installed bash grep
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Error: No matching Packages to list
Basically when I comment out installroot it says grep and bash are installed but when I change installroot it says grep and bash are not installed?
View 5 Replies
View Related
Apr 12, 2011
I'm scratching my head over a very simple netcat-based heartbeat monitoring script i wrote.
here we go:
Code:
echo `date --utc "+%Y-%m-%d %H:%M:%SZ"` script started
[code]...
View 6 Replies
View Related
Jul 15, 2011
Today I faced a very strange issue while switching to root account in a bash shell.My OS : CentOS-5.1.4
I logged in my system with account name user1 and I open the terminal and below shell opens
[user1@localhost ]$
Now when I type su and want to switch to root account , it fails
[user1@localhost ~]$ su
Password:
su: incorrect password
[user1@localhost ~]$ exit
I know the password is 123 & I m 100% sure .
View 8 Replies
View Related
Feb 14, 2011
I have a bash script that I am using for doing tape backups. The meat of the bash script is
sudo tar --totals -H pax -cvf /dev/st0 *
This all works just fine.
But of course tape functions have to be ran as root, therefore sudo, requiring the standard user to enter the root password. I would like to be in a situation where the standard user does not need (does not know) the root password. I think my solution is add that standard user.
User named dog to the sudo list.
I have reviewed the sudo man page and looked at [URL]. I am still fuzzy.
1- Will adding user 'dog' to this sudo list do what I expect meaning I can run:
sudo tar --totals -H pax -cvf /dev/st0 *
and the user is not queried for the root password
2- How do I do that? and do I make a cmd alais for only: "tar --totals -H pax -cvf /dev/st0 *"
My distro is OpenSuse.
View 17 Replies
View Related
Jul 31, 2011
I wrote bash script that uses zenity and a choice to install various programs, tested it and it works, but only when I call it from terminal. I wanted to add it in gnome main menu. The script is /home/eee/zenity.sh. In accessories I added an entry with command:
Code:
/home/eee/zenity.sh
, but since there is no terminal it starts zenity, but it does not work. I have also tried
Code:
gksu gnome-terminal -x /home/eee/zenity.sh
[Code].....
View 4 Replies
View Related
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
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
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
Dec 27, 2009
Does anyone other then me observe he weird thing with the keyboard, every now and then keyboard behaves as if a key is stuck and - say I'm on console - it keeps printing the same character.I have been seeing this since F12 - alpha
View 10 Replies
View Related
May 27, 2011
Just upgraded Fedora 14 to 15 using preupgrade in Virtualbox on Windows 7. Now it sticks on progress bar and fedora 15 label. How to see fedora boot log, login to rescue shell or whatever and find out what's wrong with it?
View 1 Replies
View Related
Apr 29, 2010
I have just installed Fedora 12. It is booting properly right-away after installing (as a part of installing process). But when i am trying to boot it after taking out the CD, it is geting stuck even before asking for login.I am having dual boot in my system. The other OS is Windows 7 what might be the problem and how to overcome it?
View 2 Replies
View Related
Jun 28, 2011
I tried installing nvidia drivers by the rpm method as has been suggested and after installation the computer does not have a GUI interface. It freezes at the Splash screen. Although i can still use the command line terminal.
View 8 Replies
View Related
Jun 21, 2009
I'm running Fedora 11 KDE on a Dell D600 laptop. After using it for awhile, my mouse seems to stop responding to clicks. I can move the cursor and xeyes seems to follow that around, but when I click, it seems like its focus is stuck in one place. For example, if I'm using firefox, I can use the navigation buttons, but I can't get focus on a textbox or click on the panel to switch windows. When I close firefox through the keyboard, the focus goes to the next window and I have a similar problem.
I actually switched to Fedora from Mint because I was having the same problem there and I was unable to find a solution. Restarting the window manager fixes the problem, but it comes back after a little while.
View 4 Replies
View Related
Aug 5, 2009
Just when I had everything running so well. Graphics were good and I even had multiple VM's running. Today FC says I have 246 updates. The updates good through fine. I reboot my machine and now it's stuck. ArrrgIt is stuck at the message: ADDRCONF (NETDEV_CHANGE): eth0: link becomes ready
View 9 Replies
View Related
Aug 6, 2009
I did the yum preupgrade install, all went well, did preupgrade -gui ; did everything fine, then i got the REBOOT now to start updating, clicked and i have just
View 5 Replies
View Related
Sep 18, 2009
To give a bit of background, I started using Fedora at Fedora Core 2. I've installed and upgraded Fedora several times in the last few years.However, I'm not a Linux master, and there are many things I don't know how to do. When I need help, I can usually find an answer, but not this time.
I've just wiped clean my hard drive (after backing up to a separate drive), repartitioned it, and have installed F11. There were a few glitches along the way regarding the repartitioning, but they got worked out.Oh, before the install, I also added a new 1TB SATA hard drive to the system.Now that the initial install is done, I'm trying to boot up and complete the process, but the system hangs after checking filesystems. Yes, it already checked and passed the new 1TB drive.I've left the machine at this step for an hour and it has not yet loaded the firstboot screen to complete the install process.
View 3 Replies
View Related
Aug 19, 2010
fedora 13.I have ran fedora for a little while now and its quite good, a lot more stable than I was led to believe and add/remove tool has a great variety. So today I was booting up and decided to "type" as fedora was booting. The long and the short of this is that fedora stops at this well the bar fills just before nvidia screen/login dialog pops up and freezes there.
View 8 Replies
View Related
Jul 3, 2011
I started installing fedora 15 from CD on a dell Vista Laptop (2hz 1g ram) but after the logo finished turning white it stays on the blue screen with the bird.I have been trying fedora 13 and xubuntu on this cheap old con of a laptop from pc world and things run smooth (E-system 1.7hz 512RAM vista
View 1 Replies
View Related