|
From: | Stefan Monnier |
Subject: | bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root |
Date: | Mon, 15 Jul 2019 10:42:17 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Wouldn't it be simpler to do this in the shell, e.g., > > cat >>/root/.bashrc <<'EOF' > alias emacs='emacs -u "$LOGNAME"' > EOF > > although I would personally suggest > > cat >>/root/.bashrc <<'EOF' > alias emacs='echo Do not run emacs as root' > EOF Yes, there are various ways to skin this cat. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |