CentOS 5 :: .bash_profile Contents Of Root To Pass?

Jun 18, 2010

I lost my root .bash_profile. Have anyone, the .bash_profile contents of root to pass me?

View 3 Replies


ADVERTISEMENT

CentOS 5 :: Executing Bash_profile Everytime?

Jul 21, 2010

I have installed Centos 5 for Oracle on my PC. I observe that everytime I have to execute .bash_profile. Otherwise I get command not found message.How to change this behaviour so that it executes automatically everytime I open a new terminal or a tab.The bash_profile is as follows. I notice that the same entry is in another Centos 5 installation in another PC, But I don't have to executeeverytime the bash_profile .

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then

[code]....

View 1 Replies View Related

Debian :: Root Pass And Network-manager ?

May 19, 2011

I have stop using debian some months but I decide to come back. Yesterday I have make a clean install of debian squeeze. The network manager never rember my wireles password. Every time I open the pc it ask me the keyring password and the wireles password. Why network manager can't rember my passwords? Also I have a strange problem when I try to gain root acces. If I try to open synaptic or to mount a ntfs partion it ask me the root password but every time I type my root pass it says that its incorrect but I am absolutely sure that I type my root pass correct. Also if I try to gain root acces from terminal with su its became the same thing but after some tries it takes my pass as corect. So every time I type my root pass from a gui like gksu it always says that is incorect but if I type my pass in terminal it take it correct after some tries. In the past I have again installed the debian from the same cd on the same pc but I had never those problems. What can be wrong?

View 6 Replies View Related

Ubuntu :: Unable To Recognize The Root Pass

Apr 8, 2010

Su <pass here> then enter

I get;

su: Authentication failure

It's not the wrong pass, i even changed it.

View 9 Replies View Related

Fedora :: Encrypted Root, Getting The Following After Entering Pass-phrase?

Jul 3, 2011

Been using fedora for a few years now, got a boot error this morning I just have no idea were to start looking. Got a luks encrypted root, getting the following after entering pass-phrase:

...
Starting Stdio Syslog Bridge.
Starting /dev/cgroup failed, see 'systemctl status dev-cgroup.mount' for details.

[code]....

View 2 Replies View Related

Fedora X86/64bit :: Dolphin On KDE 4.2 - Mount Each Partition With Root Pass

Apr 20, 2009

Ever since I started using KDE as in 4.2, I have been doing this regularly. When I startup KDE, I open Dolphin and click and mount each partition with root pass. I thought it might be some KDE issue as is the ever developing code and will be fine in future updates. But now I'm in 4.2.1 and it still exists. Upon inquiring fellow users on other distros, I have come to believe this is a *Fedora only* issue now. [URL].

View 8 Replies View Related

OpenSUSE :: When Login As Root Where Is The Other User Contents

Apr 14, 2011

I have two uesers on the syste - me (Adam) and the root. when I log in as root where is the admin user contents? in windows its under users. in suse it should be under users. but where?

View 2 Replies View Related

CentOS 5 :: How To Create Bootable CentOS Iso File With New Contents

Jun 16, 2010

I installed the latest CentOS 5.5 in my PC. I added some public domain projects on it. Now how can I make another boot-able CentOS iso file with all the new projects I just added? In the other words, I try to create a boot-able CD with the CentOS and all the projects on it.

View 1 Replies View Related

CentOS 5 :: Set Up User Name And Pass For A Folder?

Jun 21, 2010

I have big folder I want to send it to my friend because it is over 20MB I can't send it by email so I want to put it on my website in a folder any time he wants to access it he should put uer name and passwod.I am completly new in that kind of stuff please let me know if any one know how to do it.

View 3 Replies View Related

CentOS 5 Networking :: Router Pass-through Configuration?

Nov 18, 2010

I have a CentOS server that has some problems with the network configuration. I can't find the correct settings / help on internet

The computer has 3 network connections. ETH0 is connected to a router (a FritzBox 7050 with IP address 192.168.178.1). The ETH0 card has a fixed IP-address 192.168.178.22 - gw 192.168.178.1. Firefox as well as the webserver are working fine. ETH1 is not working (and not activated) because of problems with the drivers. ETH2 should be the intranet connection. This interfacecard has IP-address 192.168.17.1 and is connected to a switch. After the switch I have 1 computer attached with IP-address 192.168.17.3 - gw 192.168.17.1 A ping from the server to this computer gives good results and a ping from the computer to the server also. trying to ping to the fritz-box or to the internet constantly fails. As far as I can search, I'm certain that the failing is caused by routing-problems on the CentOS server.

the command 'ifconfig' of the server results :
eth0 Link encap:Ethernet HWaddr 00:1E:E5:D5:F1:C4
inet addr:192.168.178.22 Bcast:192.168.178.255 Mask:255.255.255.0
inet6 addr: fe80::21e:e5ff:fed5:f1c4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[Code].....

View 1 Replies View Related

CentOS 5 :: KVM USB Pass Centos6 Doesn't Work?

Aug 22, 2011

I have very annoying problem with USB passthrough in Centos 6. My XLM guest file to forward USB ( I checked this manually and using virt manager) :

<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<vendor id='0x0d7a'/>
<product id='0x0001'/>
</source>
</hostdev>

[Code]...

View 4 Replies View Related

CentOS 5 :: Pass Shell As Command Line Argument When I Ssh To An Account

Jan 25, 2011

I want to have a choice or more preferable pass shell as command line argument when I ssh to an linux account.i.e. If John logs in to account "zzz" on server "abc", by default definition of account "zzz" n server "abc" he get csh.But Sally desires that when she logs in to account "zzz" on server "abc", she needs the login shell to be ksh,and Rick wants bash when he logs in to account "zzz" on server "abc".What is the most non-intrusive / easiest way to achieve this? Each user can set their preference on ssh command line or create a simple alias by each shell, but not sure how to do this.

View 6 Replies View Related

CentOS 5 Hardware :: Contents Of 5.4 In Disk-1

Dec 18, 2009

I've downloaded the CentOS-5.4-i386-bin-1of6.iso

But it's size shows in Nautilus is 223.1 MB.

and in the Archive Mounter selecting all files/folders shows

Totaling 654 items and 622.1 MB.

Did got everything of Disk-1 ?

Top view of it shows:

Odd way because of my slow Internet download speed.

View 4 Replies View Related

General :: Interact With The Mysql To Reset The Root Mysql Pass?

Jun 14, 2011

I have tried many different ways to interact with the mysql to reset the root mysql pass. This is what I got to right now

Code:
#!/bin/sh
newpass=$1
service mysqld stop
mysqld_safe --skip-grant-tables --skip-networking &
echo "use mysql;" >> /tmp/mysql_pass_reset.txt
echo "update user set password=PASSWORD("$newpass") where User="root";" >> /tmp/mysql_pass_reset.txt

[Code]...

View 6 Replies View Related

CentOS 5 :: Using Mouse & Vim To Copy Contents Of One File Onto Another

Aug 4, 2010

I am using CentOS 5.5 and openSUSE 11.0. I use vim editor but do not know more than 1 - 2% of its functionality. In openSUSE if i open 2 text files in 2 separate terminals, i can copy the contents of one file onto another by just left-clicking and dragging the mouse over the required text. But i am unable to do this in CentOS.

View 6 Replies View Related

CentOS 5 Networking :: Bridge Setting In Network-scripts - Pass Parameters Into The Ifcfg-vmbr0?

Jan 18, 2011

I set up a bridge device but I can not figure out how to pass parameters into the ifcfg-vmbr0 in particular I need to pass:

maxage
ageing

fd and stp seems to be passed by DELAY=0 and STP=on the others? I have not found anything in the post, tips, docs how could I do?

View 1 Replies View Related

CentOS 5 :: Move Contents Of A Directory Recursively Including Hidden?

Mar 9, 2010

I have a directory: /var/www/html/something/

and it's got tons of files and directories, some containing hidden files.

I want to move all the contents of something including hidden files up to the site root at: /var/www/html/

What is the proper command for this?

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

Fedora :: Bash_profile For ALL Users?

Oct 27, 2009

There are things that I want to have for all my users.For example, I want to set the java_home, the PATH, I want to mount a drive, etc ...I understand there is a .bash_profile file that does that, but it seems I need to copy the code for all users every time.Is there some kind of MASTER file that sets all those things before running the individual profile files?

View 3 Replies View Related

Ubuntu :: How To Edit The .bash_profile

Mar 10, 2011

I have just started using ubuntu and use the terminal a lot.I would like to edit it(blue username).I have tried changing the .bash_profile file, but my changes do not seem to affect it.I also added an alias to bash.bashrc but my computer started looping at login I reinstalled. I dont know if that caused it (I doubt it, but I didnt do anything else, though undoing it didnt work). what to put in the .bash_profile file. It is currently blank, and nothing I add seems to work (using online tutorials).Using ubuntu 10.10 (netbook) and normal - I would like to edit the netbook edition, though I thought they would be the same.

View 2 Replies View Related

General :: .bash_profile Not Loading ?

Apr 1, 2010

Whenever I reboot my fedora core 12 box I find that my .bash_profile does not load... I have to issue source ~/.bash_profile

How do I get this to load automatically each time?

View 14 Replies View Related

Fedora :: .bash_profile Is Sourced Rather Than .bashrc?

Jan 17, 2010

I am curious since "Run command as a login shell" is UNTICKED (I think for all new users) under Gnome Terminal -> Menu Bar -> Profiles -> Edit -> Title and Command , BUT .bash_profile is sourced. I thought .bashrc should be sourced instead ?

View 6 Replies View Related

General :: .bash_profile Not Activated On Login?

Oct 27, 2010

I have loaded oracle 10g. I have made a shell namely Menu and copied it inside the /home/oracle directory. In the .bash_profile, entry has been made sh ./Menu. I want to execute this Menu whenever I login as oracle user.My system does not executeell. However, I am able to activate this shell by typing sh ./Menu from $ prompt

View 2 Replies View Related

General :: Bash_profile [ Unexpected End Of The File ]?

May 18, 2011

I'm trying to edit the bash_profile but I'm getting this error."/.bash_profile: line 46: syntax error: unexpected end of the file"Here is my bash_profile.

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then

[code]....

View 3 Replies View Related

General :: Sysdate Setting In Bash_profile?

Mar 29, 2010

this is my situation,I'm taking backup for some files in that i need to append the sysdate so that i can easily identify which file has to restore at some point,I've tried the following In my bash_profile(RHEL4)

Code:
SYSDATE=`%d/%m/%Y`
export SYSDATE

i tried after relogin to another terminal ,but when i give the following command

Code:
[malick@home ~]$ echo $SYSDATE
[malick@home ~]$ source ~/.bash_profile
bash: fg: %d/%m/%Y: no such job

I don't know what to do ,once the sysdate is set i can add that element to my script where it takes the back up

View 2 Replies View Related

General :: Unable To Find .bash_profile

Dec 13, 2010

I have installed oracle11g R2 on ubuntun 10.04, upon completing I need to set the profile with environment variables but, could not locate the .bash_profile

View 11 Replies View Related

General :: Edit The .bash_profile Being A Normal User In Red Hat?

Feb 18, 2011

I have installed Oracle Database server in Red Hat Linux for the first time. I edited the .bash_profile first time & defined some parameters like "export ORACLE_SID =orcl".I quit the editing. Then When I entered ". .bash_profile" it got error " not a valid identifier" it shows like "bash: export: '=orcl' : not a valid identifier for all the lines I edited it shows same error beacause I think I put a space in between "ORACLE_SID" & "=orcl".

So when I tried to edit that using "vi .bash_profile" being a normal user. It doesn't allow me editing.when I try to delete that space (because I think I have got error) using Backspace key on my computer,,it just moves the cursor to left in stead of deleting that space.

View 5 Replies View Related

General :: Slackware 13.0 ~/.bash_profile Not Running At Login?

Jan 29, 2010

I'm logging in as a user at run level 3.I have my .bash_profile in my home directory

Code:
if [ -f ~/.bashrc ]; then
source ~/.bashrc

[code]....

View 8 Replies View Related

General :: Where To Write JAVA_HOME? In .bashrc Or In .bash_profile

Feb 9, 2010

Where to write JAVA_HOME? In .bashrc or in .bash_profile? What's the difference?

View 1 Replies View Related

General :: Setting JAVA_HOME In .bash_profile Doesn't Work

Apr 15, 2009

I have some Flex and Java files which can be compiled with JDK1.5. My server was already loaded with 1.4 (at path /usr/bin/java) and our sys admin(I dont know why) copied another JDK, JDK 1.5 at path /usr/java/jdk1.5.0_16/. It seems very easy to use this java. Just set the path in .bash_profile. I did it and now if I run which java I still see the path for java 1.4 not java 1.5. Am I doing something wrong? Following is actual entry from bash_profile

Code:
PATH=$PATH:$HOME/bin
PATH=/usr/java/jdk1.5.0_16/bin:$PATH
JAVA_HOME=/usr/java/jdk1.5.0_16/
export PATH JAVA_HOME

View 3 Replies View Related







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