search for: bashrc

Displaying 20 results from an estimated 624 matches for "bashrc".

2007 Nov 29
2
puppet:// URIs don''t allow FQDN?
Hi List, I''m using puppet 0.23.2 (tarball) on Debian sarge as server and the same version on an etch client. When I try to use the following class : class base { $puppet = "security01.mydomain.com" # bashrc file for global shell settings. file depends on used OS version (etch, sarge etc). file { "/etc/bash.bashrc": ensure => present, source => [ "puppet://$puppet/files/bash/bash.bashrc.$lsbdistcodename", "pupp...
2008 Aug 26
1
screen not sourcing .bashrc
Hi everyone, I use the "screen" command from time to time and what i would still have to figure out how to do is for it to be able to source .bashrc and read my user-defined configuration (aliases for example). I have already added the "source /root/.bashrc" line on /root/.screenrc but it doesn't seem to be working. Would anyone know how this should work? Thanks, Matt -- Stand before it and there is no beginning. Follow it an...
2003 Feb 15
2
scp + .bashrc buglet
Hi OpenSSH folks, Just a quick note: this is my .bashrc: # Executed by non-login interactive shell # # scp go wild when it see this #echo "<*> Executing ~/.bashrc from '$0'. Command line: '$*'" #ps -H e #echo "<*> Finished ~/.bashrc" Line 3 was added and subsequent lines commented out. Now scp works. Loo...
2010 Aug 22
1
Question about RVM installation; where to find .bashrc and/or .bash_profile files?
Hi-- Have just installed downloaded and installed RVM from Github and got this message after download: You must now finish the install manually: 1) Place the folowing line at the end of your shell''s loading files(.bashrc or .bash_profile for bash and .zshrc for zsh), after all path/variable settings: [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm Please note that this must only occur once - so, you only need to add it the first time you install rvm. 2) Ensure that there is no '...
2011 Jan 13
3
/etc/bashrc causing probs..
Hello,i've appended the below to /etc/bashrc, which is causing an error once i try to rsync using ssh to this specific box.any idea how to prevent bashrc to execute the below to a no login shell ? or any other advice for that matter. if [ $(id -u) -eq 0 ];then # you are rootecho "###############################################"ech...
2011 Dec 19
2
Hosting the user password only, not the .bashrc and -bash_profile files
Hi all, We have a number of server on which user "admin" exists, and that have manual modifications to its bashrc and bash_profile files. What I''d like to do is to host its user password from puppet master, but not the bash-files. I tries this (we''re running Puppet Enterprise 2): -- code start -- pe_accounts::user { ''admin'': password => "encrypted_password_here&q...
2007 Mar 23
4
DISAATER RECOVERY PROBLEM
Hi Guys, I am trying to set up a quick disaster recovery methodology for a client. It is supposed to work as follows:- All Data files , everything in /etc (except for a few hardware specific files such as fstab), all users .bashrc and .netrc files, all cron tables etc. is written to a DVD as a zipped tar file. A recovery script that unpacks this file, creates any directories required by the application that are not backed up etc. is also written to the DVD. The DVD is then mounted on a freshly installed system (Centos4.4...
2006 May 16
8
capistrano can''t find svn
I''m trying to get capistrano to deploy to an osx machine - rake remote:cold_deploy but it fails on the svn co line with "bash: line 2: svn: command not found" I''ve set the proper path to svn (/usr/local/bin) in both .bash_profile and .bash_login but capistrano seems to be ignoring these. How does capistrano know where to look for svn? Thanks
2012 Oct 10
6
Setting PS1 for ordinary users
CentOS-6 When I login as root I see this prompt: [root at vhost04 ~]# When I login as a non-priviledged user I see this instead: sh-4.1$ .bashrc and .bash_profile have identical contents in /root and /home/user. What causes the difference? Why? How does one change the default so that all normal users get a [userid at hostname pwd]$ prompt? I have loked in/etc/profile.d and /etc/bashrc and I cannot see what condition is triggering the di...
2011 Apr 19
4
/etc/bashrc help!
Dear all, i've appended the below to /etc/bashrc it works like a charm with ssh connections though SFTP sessions fail since the below is being sent to the intiator. any way of limiting the below to none sftp sessions? or any other idea for it to work? # If id command returns zero, you?ve root access. if [ $(id -u) -eq 0 ]; then # you are roo...
2009 Apr 01
3
bash_logout
Hi, I was searching for the system wide bash_logout and couldn't find any documentation on it. If I create a file ~/.bash_logout file it gets executed when the user logs out but when I create a system wide /etc/bash_logout it doesn't work. Not what the issue is since I couldn't find anything on that. TIA, Paul -------------- next part -------------- An HTML attachment was
2012 Mar 07
1
Long delays in rsync manifested by repeated entries, CentOS, rsync v2.6.8.
...speed link, most files are copied in a few seconds. The example below was created by tailing the last three lines of a log file in a 5 second delay loop, to watch for "stuck" file transfers. Wed Feb 29 11:28:32 MST 2012 recv_file_name(keith001/.bash_profile) recv_file_name(keith001/.bashrc) received 352427 names Wed Feb 29 11:28:37 MST 2012 recv_file_name(keith001/.bash_profile) recv_file_name(keith001/.bashrc) received 352427 names Wed Feb 29 11:28:42 MST 2012 recv_file_name(keith001/.bash_profile) recv_file_name(keith001/.bashrc) received 352427 names Wed Feb 29 11:28:47...
2017 Dec 11
2
upgrading python
Pete Biggs wrote: > On Mon, 2017-12-11 at 15:44 -0600, Frank Cox wrote: >> On Mon, 11 Dec 2017 16:32:06 -0500 >> Larry Martell wrote: >> >> > Can I make that the default python? >> >> ~/.bashrc >> > No. I'm not entirely sure that is a good idea! No, not all. > > 'scl enable python27 bash' creates a *new* shell with the correct > environment. As each invocation of bash reads .bashrc, it will also > create another new shell which will then read .bashrc and...
2010 Jan 22
5
Add /sbin to sudo PATH
Hello, Does anyone have an idee how to add /sbin to the sudo $PATH environment? Adding /sbin to .bashrc $PATH isn't really what I want... I'd like sudoers to be able to run: $ sudo chkconfig And not: $ sudo /sbin/chkconfig Thanks Sam
2007 Jun 08
2
puppet reports
...more mirrors to try. there''s any way to say puppet don''t send that messages? we also receive a lot of messages like that when something goes wrong while getting files from puppetmaster: Fri Jun 08 09:13:29 +0200 2007 //node.domain.com/anynode/bash/remotefile[/usr/local/arxiver/.bashrc]/File[/usr/local/arxiver/.bashrc]/source (err): Could not describe /dist/common/bashrc: End of file reached:
2020 Jun 21
7
[Bug 3185] New: some bashrc broke sshrc
https://bugzilla.mindrot.org/show_bug.cgi?id=3185 Bug ID: 3185 Summary: some bashrc broke sshrc Product: Portable OpenSSH Version: 8.3p1 Hardware: amd64 OS: Linux Status: NEW Severity: minor Priority: P5 Component: sshd Assignee: unassigned-bugs at mindrot.org Reporter: ssh...
2008 Mar 19
3
RPM verify weirdness
Hi all, Can anyone explain this to me? (CentOS 4/5) # rpm -qf /etc/exports setup # rpm -V setup S.5....T c /etc/bashrc S.5....T c /etc/printcap ..?..... c /etc/securetty # echo '#### foo' > /etc/exports # cat /etc/exports #### foo # rpm -V setup S.5....T c /etc/bashrc S.5....T c /etc/printcap ..?..... c /etc/securetty I thought verify was supposed to check every file in the package? C...
2006 Jan 27
2
How to rsync PULL multiple files/dirs
...into a PULL from remote host instead. /usr/bin/rsync -e ssh --archive --sparse --compress --update --verbose --stats --progress --exclude=cdersync.tar.gz --exclude=*.bz2 --exclude=*.jpg --exclude=*.mp3 --exclude=ZDE --exclude=*.rpm --exclude=*.sit /users/jona/cde /users/jona/Desktop /users/jona/.bashrc /users/jona/.profile cdeprd:/users/jona/ I thought of something like this... /usr/bin/rsync -e ssh --archive --sparse --compress --update --verbose --stats --progress --dry-run --exclude=cdersync.tar.gz --exclude=*.bz2 --exclude=*.jpg --exclude=*.mp3 --exclude=ZDE --exclude=*.rpm --exclude=*.si...
2017 Dec 11
2
upgrading python
On Mon, 11 Dec 2017 16:32:06 -0500 Larry Martell wrote: > Can I make that the default python? ~/.bashrc -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
2005 Jul 07
5
The connection was refused when attempting to contact hostname:5500
hello i successfully installed oracle 10g on CentOS 3 i can login at http://hostname:5500/em but after restarting the PC all i get is "The connection was refused when attempting to contact hostname:5500" thank you very much for your help. rgds, Joeffrey