PDA

View Full Version : Cannot enter root



mikeshinoda11
30th March 2006, 07:56 AM
I keep recieved the same error everytime I run > su - script at root..this error appear after I try to set enviromet variable for installing SEADAS software(but still didnt success)..

[root@localhost /]# su -
-bash: /root/seadas4.9/config/seadas.env: No such file or directory

what should I do..

liro
30th March 2006, 07:58 AM
try to switch to root without '-'. if it works, its a configuration within your /root/.bash_rc or /etc/bashrc files....check these...for an entry given by your error.

PeTzZz
30th March 2006, 09:10 AM
[root@localhost /]# su -
-bash: /root/seadas4.9/config/seadas.env: No such file or directory
You are already logged in as root.

mikeshinoda11
30th March 2006, 10:43 AM
i try to switch but the error is still the same..

mikeshinoda11
30th March 2006, 10:56 AM
ok thanks..i just using this fedora for 3 days..sorry for my stupid question..

anyways thanks..

PeTzZz
30th March 2006, 04:22 PM
I suspect that you use root account logging in to Fedora. It is highly not recommended and bad practice. Use separate user account and log in as root in the terminal if you need to do something as root. After logging in as root in the terminal you can use command nautilus to launch file manager as root for example. Also you can update and install packages with yum while being root in the terminal.