File: su1

package info (click to toggle)
hxtools 20231224-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,640 kB
  • sloc: ansic: 4,825; perl: 3,463; sh: 1,629; cpp: 353; makefile: 149
file content (8 lines) | stat: -rwxr-xr-x 184 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/bin/bash

if [[ -z "$XAUTHORITY" ]]; then
	export XAUTHORITY="$HOME/.Xauthority";
fi;

exec /usr/bin/sudo -H -u root \
	--preserve-env=SSH_AUTH_SOCK,DISPLAY,XAUTHORITY -- /bin/bash