Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 56:17:42 |
Calls: | 422 |
Files: | 1,025 |
Messages: | 90,789 |
In https://wiki.debian.org/DotFiles the sixth paragraph states, "You
should therefore always have command source ~/.bashrc at the end of
your .bash_profile in order to force it to be read by a login shell."
Just FYI, that page is essentially an older version of <https://mywiki.wooledge.org/DotFiles>. If you want to attempt to merge
the changes from the latter page into the wiki.debian.org page, feel
free.
Aside, with my "concerned about content licensing hat on"; and I note the paragraph on your wiki's front page. You are the principal but not sole author of the page on your site, I see; do you have a view on what license you consider the material to be under?
P.S. DotFiles does not mention that PATH may be set through /etc/login.defs.
Hi,
Debian 12 here, obtained by upgrading Debian 11.
In https://wiki.debian.org/DotFiles the sixth paragraph states, "You
should therefore always have command source ~/.bashrc at the end of
your .bash_profile in order to force it to be read by a login shell."
# ls ~/.bash_profile
ls: cannot access '/home/root/.bash_profile': No such file or directory
So the DotFiles page isn't consistent with Debian 12. Also, DotFiles
isn't linked under https://wiki.debian.org/BootProcess#Articles .
Suggested improvements? I think of integrating some DotFiles
information into the BootProcess page. The DotFiles page can be
improved by separating cases with headings such as "Text console
login", "SSH login", "X window manager login", "Wayland login", "X
Window System startup after console login" and "Wayland login after
console login".
Further ideas?
Thx, ... P.
--
VoIP: +1 604 670 0140
work: en.wikibooks.org/wiki/User:PeterEasthope
On Sunday, 20-04-2025 at 01:12 peter@easthope.ca wrote:
Debian 12 here, obtained by upgrading Debian 11.
In https://wiki.debian.org/DotFiles the sixth paragraph states, "You
should therefore always have command source ~/.bashrc at the end of
your .bash_profile in order to force it to be read by a login shell."
# ls ~/.bash_profile
ls: cannot access '/home/root/.bash_profile': No such file or directory
Please excuse my ignorance, but how did you manage to get the folder "/home/root/" when running "ls ~/.bash_profile" as root?
To my knowledge root's home directory should be /root, not /home/root.
For me:
# ls ~/.bash_profile
/root/.bash_profile
Did you create a user by the name "root" ?
Just FYI, that page is essentially an older version of <https://mywiki.wooledge.org/DotFiles>.
If you want to attempt to merge the changes from the latter page
into the wiki.debian.org page, feel free.
Please excuse my ignorance, but how did you manage to get the folder "/home/root/" when running "ls ~/.bash_profile" as root?
To my knowledge root's home directory should be /root, not
/home/root.
On Sat, Apr 19, 2025 at 08:12:02 -0700, peter@easthope.ca wrote:
In https://wiki.debian.org/DotFiles the sixth paragraph states, "You
should therefore always have command source ~/.bashrc at the end of
your .bash_profile in order to force it to be read by a login shell."
I don't remember exactly when Debian decided to go with ~/.profile
instead of ~/.bash_profile but it's been a very long time. The advantage
for you, if you're editing the wiki.debian.org page, is that you *only*
have to worry about Debian systems, whereas I have to try to cover *all* Linux-based systems.