[Tizen Software Development] adfree:
D:\SDB\SDB260>sdb root on
* server not running. starting it now on port 26099 *
* server started successfully *
Switched to 'root' account mode

D:\SDB\SDB260>sdb shell
sh-3.2# cd /bin
sh-3.2# ls -a1l su
-rwsr-srwx 1 root root 31604 Feb 1 2017 su
sh-3.2#
sh-3.2# mount -vo remount,rw /
/dev/mmcblk0p24 on / type ext4 (rw)
sh-3.2# chmod -v 4755 su
mode of `su' changed to 4755 (rwsr-xr-x)
sh-3.2# ls -a1l
total 2764
drwxr-xr-x 2 root root 4096 Feb 1 2017 .
dr-xr-xr-x 21 root root 4096 Nov 11 06:40 ..
lrwxrwxrwx 1 root root 4 Sep 26 2016 awk -> gawk
-rwxr-xr-x 1 root root 528376 Jul 7 2016 bash
-rwxr-xr-x 1 root root 24080 Jul 7 2016 cat
-rwxr-xr-x 1 root root 56872 Jul 7 2016 chgrp
-rwxr-xr-x 1 root root 51440 Jul 7 2016 chmod
-rwxr-xr-x 1 root root 59752 Jul 7 2016 chown
-rwxr-xr-x 1 root root 81096 Jul 7 2016 cp
lrwxrwxrwx 1 root root 15 Sep 26 2016 cpio -> ../usr/bin/cpio
-rwxr-xr-x 1 root root 61420 Jul 7 2016 date
-rwxr-xr-x 1 root root 52564 Jul 7 2016 dd
-rwxr-xr-x 1 root root 47476 Jul 7 2016 df
-rwxr-xr-x 1 root root 15676 Mar 9 2016 dmesg
lrwxrwxrwx 1 root root 8 Sep 26 2016 dnsdomainname -> hostname
lrwxrwxrwx 1 root root 8 Sep 26 2016 domainname -> hostname
-rwxr-xr-x 1 root root 20304 Jul 7 2016 echo
lrwxrwxrwx 1 root root 4 Sep 26 2016 egrep -> grep
-rwxr-xr-x 1 root root 17160 Jul 7 2016 false
lrwxrwxrwx 1 root root 4 Sep 26 2016 fgrep -> grep
lrwxrwxrwx 1 root root 15 Sep 26 2016 find -> ../usr/bin/find
-rwxr-xr-x 1 root root 25416 Mar 9 2016 findmnt
-rwxr-xr-x 2 root root 224072 Mar 9 2016 gawk
-rwxr-xr-x 2 root root 224072 Mar 9 2016 gawk-3.1.5
-rwxr-xr-x 1 root root 59672 Mar 9 2016 grep
-rwxr-xr-x 1 root root 61 Mar 9 2016 gunzip
-rwxr-xr-x 1 root root 47688 Mar 9 2016 gzip
-rwxr-xr-x 1 root root 9148 Mar 9 2016 hostname
-rwxr-xr-x 1 root root 3089 Mar 9 2016 igawk
-rwxr-xr-x 1 root root 32476 Jul 7 2016 ln
-rwxr-xr-x 1 root root 39812 Jul 7 2016 login
-rwxr-xr-x 1 root root 118384 Jul 7 2016 ls
-rwxr-xr-x 1 root root 31900 Mar 9 2016 lsblk
-rwxr-xr-x 1 root root 28196 Jul 7 2016 mkdir
-rwxr-xr-x 1 root root 26712 Jul 7 2016 mknod
-rwxr-xr-x 1 root root 8184 Jul 7 2016 mktemp
-rwsr-xr-x 1 root root 54264 Mar 9 2016 mount
-rwxr-xr-x 1 root root 89352 Jul 7 2016 mv
-rwxr-xr-x 1 root root 83972 Mar 9 2016 netstat
-rwxr-xr-x 1 root root 72988 Mar 9 2016 ps
-rwxr-xr-x 1 root root 21404 Jul 7 2016 pwd
-rwxr-xr-x 1 root root 53040 Jul 7 2016 rm
-rwxr-xr-x 1 root root 19516 Jul 7 2016 rmdir
-rwxr-xr-x 1 root root 11128 Mar 9 2016 rpm
-rwxr-xr-x 1 root root 32064 Mar 9 2016 sed
lrwxrwxrwx 1 root root 4 Sep 26 2016 sh -> bash
-rwxr-xr-x 1 root root 22568 Jul 7 2016 sleep
-rwsr-xr-x 1 root root 31604 Feb 1 2017 su
-rwxr-xr-x 1 root root 17516 Jul 7 2016 sync
-rwxr-xr-x 1 root root 174628 Mar 9 2016 tar
-rwxr-xr-x 1 root root 49004 Jul 7 2016 touch
-rwxr-xr-x 1 root root 49612 Jul 7 2016 toybox
-rwxr-xr-x 1 root root 17160 Jul 7 2016 true
-rwsr-xr-x 1 root root 39544 Mar 9 2016 umount
-rwxr-xr-x 1 root root 19400 Jul 7 2016 uname
-rwxr-xr-x 1 root root 62 Mar 9 2016 zcat
sh-3.2# ls -a1l su
-rwsr-xr-x 1 root root 31604 Feb 1 2017 su
sh-3.2# exit
exit

D:\SDB\SDB260>sdb root off
Switched to 'developer' account mode

D:\SDB\SDB260>sdb shell
sh-3.2$ su
sh-3.2$ whoami
developer
sh-3.2$ su root
sh-3.2$ exit
exit

D:\SDB\SDB260>sdb shell
sh-3.2$ su
setgid: Operation not permitted
sh-3.2$ exit
exit

D:\SDB\SDB260>sdb root on
Switched to 'root' account mode

D:\SDB\SDB260>sdb shell
sh-3.2# mount -vo remount,rw /
/dev/mmcblk0p25 on / type ext4 (rw)
sh-3.2# cd /bin
sh-3.2# ls -a1l su
-rwxr-xrwx 1 root root 31604 Apr 22 2018 su
sh-3.2# chmod -v +sx su
mode of `su' changed to 6757 (rwsr-srwx)
sh-3.2# ls -a1l su
-rwsr-srwx 1 root root 31604 Apr 22 2018 su
sh-3.2# exit
exit

D:\SDB\SDB260>sdb root off
Switched to 'developer' account mode

D:\SDB\SDB260>sdb shell
sh-3.2$ su
sh-3.2$ whoami
developer
sh-3.2$ exit
exit

D:\SDB\SDB260>sdb root on
Switched to 'root' account mode

D:\SDB\SDB260>sdb shell
sh-3.2# cd /bin
sh-3.2# mount -vo remount,rw /
/dev/mmcblk0p25 on / type ext4 (rw)
sh-3.2# chmod -v 4755 su
mode of `su' changed to 4755 (rwsr-xr-x)
sh-3.2# exit
exit

D:\SDB\SDB260>sdb root off
Switched to 'developer' account mode

D:\SDB\SDB260>sdb shell
sh-3.2$ su
sh-3.2$ whoami
developer
sh-3.2$ su --root
su: unrecognized option '--root'
Usage: su [options] [LOGIN]

Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login make the shell a login shell
-m, -p,
--preserve-environment do not reset environment variables, and
keep the same shell
-s, --shell SHELL use SHELL instead of the default in passwd

sh-3.2$ su root
sh-3.2$ su app
Password:
crypt: Invalid argument
sh-3.2$ su system
Password:
crypt: Invalid argument
sh-3.2$ exit
exit

D:\SDB\SDB260>sdb root on
Switched to 'root' account mode

D:\SDB\SDB260>sdb shell
sh-3.2# su system
sh-3.2# whoami
root
sh-3.2# su -system
Cannot execute ystem: No such file or directory
sh-3.2# su --system
su: unrecognized option '--system'
Usage: su [options] [LOGIN]

Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login make the shell a login shell
-m, -p,
--preserve-environment do not reset environment variables, and
keep the same shell
-s, --shell SHELL use SHELL instead of the default in passwd

sh-3.2# exit
exit

https://gist.github.com/rossja/d65f6b31c8f47010700161bd90e24a6c

su Binary Download expired from this Link...

So I can not compare to see if I am toooooo dumb...

But for me this is NOT possible on my SM-Z130H nor on my SM-Z300H...

Maybe somebody could enlight my tiny stupid brain in 2020... why I can not su...

Still Computer + SDB:

sdb root on

This works fine. :good: :cool:

Type su in shell not work... :confused: :cyclops: :eek:

Best Regards