Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1a061e8

Browse files
committed
su alias on sudo su
1 parent 206a5a2 commit 1a061e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎include/core/sudo/deploy.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ do_configure()
1313
fi
1414
if [ -e "${CHROOT_DIR}/etc/profile.d" ]; then
1515
echo '[ -n "$PS1" -a "$(whoami)" = "'${USER_NAME}'" ] || return 0' > "${CHROOT_DIR}/etc/profile.d/sudo.sh"
16-
echo 'alias su="sudo -s"' >> "${CHROOT_DIR}/etc/profile.d/sudo.sh"
16+
echo 'alias su="sudo su"' >> "${CHROOT_DIR}/etc/profile.d/sudo.sh"
1717
fi
1818
return 0
1919
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /