@@ -12,7 +12,7 @@
factor false fmt fold groups head hostid hostname id install join kill
link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup
@@ -12,7 +12,7 @@
factor false fmt fold groups head hostid hostname id install join kill
link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup
- od paste pathchk pinky pr printenv printf ptx pwd readlink rm rmdir
-- runcon runuser seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf
-+ runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf
+ nproc od paste pathchk pinky pr printenv printf ptx pwd readlink rm rmdir
+- runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf
++ runcon runuser seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf
sleep sort split stat stdbuf stty su sum sync tac tail tee test timeout
touch tr true truncate tsort tty uname unexpand uniq unlink uptime users
vdir wc who whoami yes
sleep sort split stat stdbuf stty su sum sync tac tail tee test timeout
touch tr true truncate tsort tty uname unexpand uniq unlink uptime users
vdir wc who whoami yes
- char *getusershell (void);
- void endusershell (void);
- void setusershell (void);
-@@ -157,7 +167,11 @@
- extern char **environ;
+ static void run_shell (char const *, char const *, char **, size_t,
+ const struct passwd *)
+ #ifdef USE_PAM
+@@ -154,7 +154,11 @@
+ #endif
static void run_shell (char const *, char const *, char **, size_t,
static void run_shell (char const *, char const *, char **, size_t,
static void
run_shell (char const *shell, char const *command, char **additional_args,
static void
run_shell (char const *shell, char const *command, char **additional_args,
-- size_t n_additional_args, const struct passwd *pw)
-+ size_t n_additional_args, const struct passwd *pw
+- size_t n_additional_args, const struct passwd *pw)
++ size_t n_additional_args, const struct passwd *pw
{
size_t n_args = 1 + fast_startup + 2 * !!command + n_additional_args + 1;
char const **args = xnmalloc (n_args, sizeof *args);
{
size_t n_args = 1 + fast_startup + 2 * !!command + n_additional_args + 1;
char const **args = xnmalloc (n_args, sizeof *args);
- run_shell (shell, command, argv + optind, MAX (0, argc - optind), pw);
+ run_shell (shell, command, argv + optind, MAX (0, argc - optind), pw
+#ifdef RUNUSER
- run_shell (shell, command, argv + optind, MAX (0, argc - optind), pw);
+ run_shell (shell, command, argv + optind, MAX (0, argc - optind), pw
+#ifdef RUNUSER
}
--- coreutils-6.10/src/Makefile.am.orig 2008-03-02 14:22:53.223435095 +0100
+++ coreutils-6.10/src/Makefile.am 2008-03-02 14:25:58.317983032 +0100
}
--- coreutils-6.10/src/Makefile.am.orig 2008-03-02 14:22:53.223435095 +0100
+++ coreutils-6.10/src/Makefile.am 2008-03-02 14:25:58.317983032 +0100
-@@ -24,7 +24,7 @@
- arch hostname su
-
- build_if_possible__progs = \
-- chroot df hostid nice pinky stdbuf libstdbuf.so stty su uname uptime users who
-+ chroot df hostid nice pinky stdbuf libstdbuf.so stty su runuser uname uptime users who
-
- AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
-
+@@ -101,6 +101,7 @@
+ rm \
+ rmdir \
+ runcon \
++ runuser \
+ seq \
+ sha1sum \
+ sha224sum \