similar to: /etc/bashrc help!

Displaying 20 results from an estimated 900 matches similar to: "/etc/bashrc help!"

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 "###############################################"echo "### You are now working as ROOT.
2012 Mar 15
3
Problem with stored configs / Invalid unicode escaping
Hello, i have a problem with stored configs since the migration from "sqlite" to "postgresql". dho@appelbaum:~$ sudo puppetd --test --verbose info: Retrieving plugin info: Loading facts in disks info: Loading facts in users info: Loading facts in mountpoints info: Loading facts in disks info: Loading facts in users info: Loading facts in mountpoints err: Could not retrieve
2020 Sep 29
3
No Samba NT DOMAIN Name found exitting now...
Louis, Upgraded to 4.13 and running "samba-check-db-repl.sh" exits with: "No Samba NT DOMAIN Name found exitting now...: Complete output: > #!/bin/bash -v > > ## > ## Version : 1.0.8 > ## release d.d. : 24-03-2015 > ## Author : L. van Belle > ## E-mail : louis at van-belle.nl > ## Copyright : Free as free can be, copy it, change it if
2020 Sep 29
0
No Samba NT DOMAIN Name found exitting now...
Seems to relate to kerberos. I cannot "kinit administrator". Returns "kinit cannot contact KDC for realm 'subdom.example.com' while getting initial credentials." "samba-info.sh" script returns 'NT_STATUS_CONNECTION_REFUSED' and that 'ERROR: invalid ip address for dc1.subdom.example.com' (Sorry on my laptop. Difficult to copy & paste
2012 Dec 27
4
Help Getting Postfix relaying via Gmail
Hi, I am trying to get a CentOS 6 system relaying mail via my G-Mail account. I followed the instructions found at https://www.zulius.com/how-to/set-up-postfix-with-a-remote-smtp-relay-host/but there seems to be a problem with authentication. I have done some research but still can't get this working. Any suggestions ? It seems the user and password are correct. Dec 27 23:15:36 hbc
2009 Dec 01
3
How to modify environment variables before executing a command
Hi, I'd like to access and modify shell environment variables before executing a command on a remote host via ssh. Unfortenatly, I can't figure out the proper way to do this... It seems, standard shell configuration files (e.g. ~/.bash_profile) are not sourced before ssh executes a command. Of course I could explicitly source them, e.g. ssh user at host 'source ~/.bash_profile;
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. Looks like a little scp bug for me. CC me,
2006 Dec 01
2
another iscsi question
I have an iscsi array that I'd like to mount and share using NFS and I need it to happen without user intervention on a reboot. In the default configuration this doesn't seem to work very well because the iscsi intiator isn't started until after the network is up (obviously) and by that time all local filesystems are mounted. I can't mount the partitions in rc.local because NFS
2009 Jan 09
7
Desperate question about MPXIO with ZFS-iSCSI
I''m trying to set up a iscsi connection (with MPXIO) between my Vista64 workstation and a ZFS storage machine running OpenSolaris 10 (forget the exact version). On the ZFS machines, I have two NICS. NIC #1 is 192.168.1.102, and NIC #2 is 192.168.2.102. The NICs are connected to two separate switches serving two separate IP spaces. On my Vista64 machine, I also have two NICs connected in
2011 Nov 08
2
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi, First question: "/module" is mapped to a special file that reads a kernel module passed in by the bootloader. Much like GRUB, kiwi's bootloader loads a kernel and can load one or more extra files into memory. These are passed to the kernel. The horizon kernel expects one file, which it makes accessible at "/module". This should be set up to be whatever you set
2011 Nov 09
0
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi James, Thanks again for bearing with me, you have been very helpful. I have got the problem fixed. In fact I needed to override the 'LSeek' implementation of SpecialFile in SpecialModule class as well. The log for the working example is attached, just as a reference. Now one more thing, when the build system creates the ISO9660 CD-ROM Image, it executes the following commands:
2009 Mar 12
1
Xterm-color
Hi List Has anyone got any clue of why on a centos 4.3 when I am logging in to the machine I am geting the following error tput: unknown terminal "xterm-color" do I am not using xterm-color I can not start top of any other except vi. Does anyone have any clue? Kind regards Per Qvindesland
2007 Jul 06
1
Hook for running a function before evaluation
Hello, I like much addTaskCallback() and friends. However, there are situations were we would like to have a function run BEFORE, not after every top-level tasks. I think specifically to reset options(width = ) to accommodate to the current width of the console, using something like: options(width = system("tput cols")) I am sure there are many other situations where this could be
2015 Jan 21
1
Re: [PATCH] fish: remove extra "prompt" checks
On Tue, Jan 20, 2015 at 04:28:40PM +0100, Pino Toscano wrote: > The code is already within a "if (prompt) {...}" block, so checking for > "prompt" again is redundant. > --- > fish/fish.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fish/fish.c b/fish/fish.c > index 8b74c7b..71db83a 100644 > --- a/fish/fish.c > +++
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
2015 Jan 20
9
[PATCH] daemon: readdir: fix invalid memory access on error
If "strdup (d->d_name)" fails with "i" > 0, then both "p" and "ret->guestfs_int_dirent_list_val" are non-null pointers, but the latter is no more valid (since "p" is the new realloc'ed buffer). Hence, trying to free both will access to invalid memory. Make sure to free only one of them, "p" if not null or
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
2011 Nov 03
1
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi Mian, Looking at the runlog, everything seems fine until LLVM attempts to use lseek() on a file. You see the PANIC because Horizon hasn't implemented lseek yet. Obviously the version of GlibC I was using does not use lseek in that circumstance, but yours does. You just need to implement lseek :) Cheers, James -----Original Message----- From: Mian M. Hamayun
2009 Oct 15
3
continuing issues with %post
Hello, I'm trying to do an unattended CentOS 5.3 install. For the most part it's working. As of right now i'm statically assigning the machine an IP which i believe will allow %post to resolve names? I also like knowing where the box will show up. I am however having a few issues and I'm probably thinking to complicated on them. My first one is the fact that updates aren't
2005 Mar 27
5
Print from wine
I'm running debian sarge and have installed wine with "apt-get" (wine 20041201). Afterwards I configurated it with winetools. Everything went fine. I also installed the Internet Explorer and Office 2000. There were no problems during the installation and IE and Office run without problems besides printing. There I get error messages like "no printer installed". Is