Displaying 20 results from an estimated 10000 matches similar to: "root .bash_profile?"
2019 May 13
2
root .bash_profile?
Ah thank you. Having forgotten this, I already had all my aliases and instructions in there. For some reason they aren?t loading. If I do this, then everything loads:
source /root/.bash_profile
So there?s an indication this isn?t loading upon entry into su. Is this normal?
> On May 13, 2019, at 8:38 AM, Nux! <nux at li.nux.ro> wrote:
>
> Hi,
>
> The $home of root
2019 May 13
2
root .bash_profile?
No, this isn?t a case of multi partitions, clusters, or anything silly. I just want a set of aliases loaded for su. /root/.bash_profile isn?t loading, and there isn?t any obvious choice as to where the loaded .bash* were loading from.
> On May 13, 2019, at 9:11 AM, Stephen John Smoogen <smooge at gmail.com> wrote:
>
> While moving /root to /home/root is done in someplaces, it
2019 May 13
0
root .bash_profile?
On Mon, 2019-05-13 at 08:28 -0400, Bee.Lists wrote:
> Hi folks. Just wondering how I can implement an automatic .bash_profile for root. I have to load my
> user .bash_profile every time I get into root, and I would like a better solution. There is no /home/
> for root, so I?m a bit confused if this is even allowed.
>
> Any insight appreciated.
>
>
> Cheers, Bee
>
2019 May 13
6
root .bash_profile?
> On May 13, 2019, at 2:46 PM, Pete Biggs <pete at biggs.org.uk> wrote:
>
>> First, the ~ which might not apply to root.
>
> Why do you think that? '~' is just shell shorthand for user's home
> directory.
root quite often isn?t recognized as a proper user. ~/.bash_profile isn?t loaded because it?s not a normal login shell when entering `su`.
>>
2019 May 13
3
root .bash_profile?
$ man bash (INVOCATION)
When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file
exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and
2019 May 14
4
root .bash_profile?
OK I think you need to read previous posts on this.
I?m not looking for any other command.
> On May 14, 2019, at 5:10 AM, John Hodrien <J.H.Hodrien at leeds.ac.uk> wrote:
>
> You misunderstand. su behaves the same when switching to root as to any other account.
>
> su -
>
> is probably the command you're looking for.
Cheers, Bee
2019 May 14
4
root .bash_profile?
su does not load .bash_profile and therefore is a completely different application than with any other user. This one is different, considering .bash_profile is indeed used for logins for other users.
> On May 13, 2019, at 5:25 PM, Pete Biggs <pete at biggs.org.uk> wrote:
>
>>
>> man su doesn?t apply to root with regards to the files loaded up upon
>> login.
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 =>
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
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
2019 May 14
2
root .bash_profile?
> On May 14, 2019, at 8:14 AM, Jonathan Billings <billings at negate.org> wrote:
>
> On Tue, May 14, 2019 at 07:45:55AM -0400, Bee.Lists wrote:
>> I addressed this in the thread.
>
> And we continue to tell you that you're wrong. su behaves the same
> way when switching to any other user as it does for root. Stop
> spreading misinformation.
Not big on
2019 May 14
3
root .bash_profile?
> On May 14, 2019, at 5:50 AM, John R. Dennison <jrd at gerdesas.com> wrote:
>
> On Tue, May 14, 2019 at 05:19:57AM -0400, Bee.Lists wrote:
>> OK I think you need to read previous posts on this.
>>
>> I?m not looking for any other command.
>
> Please stop top-posting, thank you.
>
> It's the _same command_; all it is is a different invocation
2019 May 13
0
root .bash_profile?
The following one liner should display root's home directory:
grep -w ^root /etc/passwd | cut -d: -f6
Which finds the line beginning with the word root, and returns the sixth entry (the home directory of that entry).
?On 5/13/19, 8:39 AM, "CentOS on behalf of Nux!" <centos-bounces at centos.org on behalf of nux at li.nux.ro> wrote:
Hi,
The $home of root is
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
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 Mar 07
1
Long delays in rsync manifested by repeated entries, CentOS, rsync v2.6.8.
Hello, rsync list folks,
Recently, rsyncs abort during busier times of the day, although they
run error-free during non-busy hours.
Problem 1 - Many rsyncs abort these errors:
Read from remote host www.xxx.yyy.zzz: Connection reset by peer
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (3929920 bytes received so far)
2019 May 13
0
root .bash_profile?
Hi,
The $home of root is /root, just copy it there.
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Bee.Lists" <bee.lists at gmail.com>
> To: "CentOS mailing list" <centos at centos.org>
> Sent: Monday, 13 May, 2019 13:28:24
> Subject: [CentOS] root .bash_profile?
> Hi folks. Just
2019 May 13
0
root .bash_profile?
On Mon, 2019-05-13 at 13:06 -0400, Bee.Lists wrote:
> Ah thank you. Having forgotten this, I already had all my aliases
> and instructions in there. For some reason they aren?t loading. If
> I do this, then everything loads:
>
> source /root/.bash_profile
>
> So there?s an indication this isn?t loading upon entry into su. Is
> this normal?
$ man bash, search on
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
2019 May 14
2
root .bash_profile?
On 2019-05-14 07:14, Jonathan Billings wrote:
> On Tue, May 14, 2019 at 07:45:55AM -0400, Bee.Lists wrote:
>> I addressed this in the thread.
>
> And we continue to tell you that you're wrong. su behaves the same
> way when switching to any other user as it does for root. Stop
> spreading misinformation.
>
Sorry, Jonathan, that I replying _your_ message, my reply