System/Kernel


sunny@sunday:~$ file /bin/bash ; uname -a ; cat /etc/*release
/bin/bash:      ELF 64-bit LSB executable AMD64 Version 1 [SSE2 SSE], dynamically linked, not stripped
SunOS sunday 5.11 11.4.0.15.0 i86pc i386 i86pc
NAME="Oracle Solaris"
PRETTY_NAME="Oracle Solaris 11.4"
cpe_name="cpe:/o:oracle:solaris:11:4"
ID=solaris
VERSION=11.4
VERSION_ID=11.4
BUILD_ID=11.4.0.0.1.15.0
home_url="https://www.oracle.com/solaris/"
support_url="https://support.oracle.com/"
                             Oracle Solaris 11.4 X86
  Copyright (c) 1983, 2018, Oracle and/or its affiliates.  All rights reserved.
                            Assembled 16 August 2018

Networks


sunny@sunday:~$ netstat -anup
Net to Media Table: IPv4
Device   IP Address               Mask      Flags      Phys Addr
------ -------------------- --------------- -------- ---------------
net0   10.10.10.2           255.255.255.255          00:50:56:b9:6c:92
net0   10.10.10.76          255.255.255.255 SPLA     00:50:56:b9:17:ce

Users & Groups


sunny@sunday:~$ cat /etc/passwd ; ls -lasht /home
root:x:0:0:Super-User:/root:/usr/bin/bash
daemon:x:1:1::/:/bin/sh
bin:x:2:2::/:/bin/sh
sys:x:3:3::/:/bin/sh
adm:x:4:4:Admin:/var/adm:/bin/sh
dladm:x:15:65:Datalink Admin:/:
netadm:x:16:65:Network Admin:/:
netcfg:x:17:65:Network Configuration Admin:/:
dhcpserv:x:18:65:DHCP Configuration Admin:/:
ftp:x:21:21:FTPD Reserved UID:/:
sshd:x:22:22:sshd privsep:/var/empty:/bin/false
smmsp:x:25:25:SendMail Message Submission Program:/:
aiuser:x:61:61:AI User:/:
ikeuser:x:67:12:IKE Admin:/:
lp:x:71:8:Line Printer Admin:/:/bin/sh
openldap:x:75:75:OpenLDAP User:/:/usr/bin/pfbash
webservd:x:80:80:WebServer Reserved UID:/:/bin/sh
unknown:x:96:96:Unknown Remote UID:/:/bin/sh
pkg5srv:x:97:97:pkg(7) server UID:/:
nobody:x:60001:60001:NFS Anonymous Access User:/:/bin/sh
noaccess:x:60002:65534:No Access User:/:/bin/sh
nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/:/bin/sh
sammy:x:100:10::/home/sammy:/usr/bin/bash
sunny:x:101:10::/home/sunny:/usr/bin/bash
total 30
  21 drwxr-xr-x  25 root     sys           28 oct 22 10:41 ..
   3 drwxr-xr-x   2 sunny    staff          8 Apr 13  2022 sunny
   3 drwxr-xr-x   2 root     root           3 Dec 19  2021 sammy
   3 dr-xr-xr-x   4 root     root           4 Dec 19  2021 .

SUIDs


sunny@sunday:~$ find / -perm -04000 -ls -type f 2>/dev/null
79640  643 -r-sr-xr-x   1 root     bin        631208 Aug 17  2018 /usr/lib/ssh/ssh-keysign
79175   13 -r-sr-xr-x   1 root     bin         12312 Aug 17  2018 /usr/lib/inet/mailq
78979   15 -rwsr-xr-x   1 root     adm         14184 Aug 17  2018 /usr/lib/acct/accton
87122  125 -r-sr-xr-x   1 root     bin        127348 Aug 17  2018 /usr/lib/fs/ufs/ufsrestore
87121  117 -r-sr-xr-x   1 root     bin        118728 Aug 17  2018 /usr/lib/fs/ufs/ufsdump
87148   25 -r-sr-xr-x   1 root     bin         24264 Aug 17  2018 /usr/lib/fs/smbfs/umount
87146   26 -r-sr-xr-x   1 root     bin         25896 Aug 17  2018 /usr/lib/fs/smbfs/mount
104097    9 -r-sr-xr-x   1 root     root         8360 Dec 19  2021 /usr/lib/vmware-tools/bin/i86/vmware-user-suid-wrapper
68852   20 -r-sr-xr-x   1 root     bin         19080 Aug 17  2018 /usr/lib/utmp_update
14401   25 -r-sr-xr-x   2 root     bin         24424 Aug 17  2018 /usr/bin/uptime
13636   44 -rwsr-xr-x   1 root     sys         44104 Aug 17  2018 /usr/bin/atrm
14079   57 -r-sr-sr-x   1 root     sys         57392 Aug 17  2018 /usr/bin/passwd
14221   42 -r-sr-xr-x   1 root     bin         42232 Aug 17  2018 /usr/bin/rcp
13674   52 -r-sr-xr-x   1 root     sys         52632 Aug 17  2018 /usr/bin/chkey
14245   75 -r-sr-xr-x   1 root     bin         75768 Aug 17  2018 /usr/bin/rmformat
14099   50 -rwsr-xr-x   1 root     bin         50072 Aug 17  2018 /usr/bin/pfedit
13635   40 -rwsr-xr-x   1 root     sys         39600 Aug 17  2018 /usr/bin/atq
14401   25 -r-sr-xr-x   2 root     bin         24424 Aug 17  2018 /usr/bin/w
13666  107 -rwsr-xr-x   1 root     bin        108360 Aug 17  2018 /usr/bin/cdrw
13694   49 -r-sr-xr-x   1 root     bin         48952 Aug 17  2018 /usr/bin/crontab
14339   30 -r-sr-xr-x   1 root     bin         29680 Aug 17  2018 /usr/bin/sys-suspend
14242   35 -r-sr-xr-x   1 root     bin         34432 Aug 17  2018 /usr/bin/rlogin
14044   21 -rwsr-xr-x   1 root     sys         20104 Aug 17  2018 /usr/bin/newgrp
13634   82 -rwsr-xr-x   1 root     sys         82784 Aug 17  2018 /usr/bin/at
14332   49 -r-sr-xr-x   1 root     sys         48856 Aug 17  2018 /usr/bin/su
14045   20 -r-sr-xr-x   1 root     sys         19832 Aug 17  2018 /usr/bin/newtask
14333  259 -r-s--x--x   1 root     bin        238480 Aug 17  2018 /usr/bin/sudo
14259   25 -r-sr-xr-x   1 root     bin         24176 Aug 17  2018 /usr/bin/rsh
12168   49 -r-sr-xr-x   1 root     bin         48960 Aug 17  2018 /usr/xpg4/bin/crontab
12161   82 -rwsr-xr-x   1 root     sys         82888 Aug 17  2018 /usr/xpg4/bin/at
66597   49 -r-sr-xr-x   1 root     bin         48960 Aug 17  2018 /usr/xpg6/bin/crontab
68208   35 -r-sr-xr-x   1 root     bin         34360 Aug 17  2018 /usr/sbin/quota
68002   70 -r-sr-xr-x   1 root     bin         70520 Aug 17  2018 /usr/sbin/fmdump
68181   78 -r-sr-xr-x   1 root     bin         78760 Aug 17  2018 /usr/sbin/ping
68280   62 -r-sr-xr-x   1 root     bin         62080 Aug 17  2018 /usr/sbin/traceroute
68243   82 -r-sr-xr-x   1 root     bin         82456 Aug 17  2018 /usr/sbin/smbadm
68295   25 -r-sr-xr-x   1 root     bin         24528 Aug 17  2018 /usr/sbin/whodo

SGIDs


sunny@sunday:~$ find / -perm -02000 -ls -type f 2>/dev/null
79180 1283 -r-xr-sr-x   1 root     smmsp     1304560 Aug 17  2018 /usr/lib/inet/sendmail
13996  259 -r-x--s--x   1 root     mail       193328 Aug 17  2018 /usr/bin/mailx
14079   57 -r-sr-sr-x   1 root     sys         57392 Aug 17  2018 /usr/bin/passwd
14421   25 -r-xr-sr-x   1 root     tty         24328 Aug 17  2018 /usr/bin/write
14006  119 -r-xr-sr-x   1 root     mlocate    120792 Aug 17  2018 /usr/bin/mlocate
14375  101 -r-xr-sr-x   1 root     dialout    102816 Aug 17  2018 /usr/bin/tip
13994   79 -r-x--s--x   1 root     mail        79700 Aug 17  2018 /usr/bin/mail
68200   20 -rwxr-sr-x   1 root     sys         19504 Aug 17  2018 /usr/sbin/prtdiag
68293   21 -r-xr-sr-x   1 root     tty         20696 Aug 17  2018 /usr/sbin/wall
68290  106 -r-xr-sr-x   1 root     mlocate    107816 Aug 17  2018 /usr/sbin/updatedb
 7951   67 -r-xr-sr-x   1 root     sys         67600 Aug 17  2018 /usr/sbin/prtconf
68268   39 -r-xr-sr-x   2 root     sys         38992 Aug 17  2018 /usr/sbin/amd64/sysdef
68268   39 -r-xr-sr-x   2 root     sys         38992 Aug 17  2018 /usr/sbin/sysdef

Processes


sunny@sunday:~$ ps aux
USER       PID %CPU %MEM   SZ  RSS TT       S    START  TIME COMMAND
root       211  2.5  1.86218837608 ?        S 10:41:40  0:18 /usr/lib/rad/rad -sp
root       664  0.8  7.3185100152236 ?        S 10:41:51  0:35 /usr/lib/sstore/bin/sstored --events --repo-path /var/share/sstore/repo --max-repo-size 2048
webservd   682  0.6  1.03788419576 ?        S 10:41:51  0:04 /usr/apache2/2.4/bin/httpd -f /var/webui/conf/webui.conf -k start
sunny    28497  0.3  0.62552012704 ?        S 12:08:34  0:01 /usr/lib/rad/rad -m /usr/lib/rad/transport -m /usr/lib/rad/protocol -m /usr/lib/rad/module -m /usr/lib/rad/site
root         5  0.2  0.0    0    0 ?        S 10:41:23  0:09 zpool-rpool
webservd 28174  0.2  0.52780410416 ?        S 12:00:08  0:01 /usr/apache2/2.4/bin/httpd -f /var/webui/conf/webui.conf -k start
root      1153  0.2  0.419772 7976 ?        S 10:42:09  0:07 /usr/lib/vmware-tools/sbin/amd64/vmtoolsd
sunny    28403  0.1  0.115836 1060 ?        R 12:05:17  0:00 /usr/lib/ssh/sshd -R
sunny    28404  0.1  0.312680 4584 pts/1    R 12:05:17  0:00 -bash
root         3  0.1  0.0    0    0 ?        S 10:41:24  0:01 fsflush
root       527  0.1  0.321460 5768 ?        S 10:41:46  0:18 /usr/sbin/nscd
sunny    28860  0.1  0.210760 3956 pts/1    O 12:19:47  0:00 ps aux
root        15  0.0  1.27500825224 ?        S 10:41:25  0:28 /lib/svc/bin/svc.configd
root        76  0.0  0.212540 2820 ?        S 10:41:31  0:00 /usr/bin/bash /lib/svc/method/overwrite
root       679  0.0  0.1 3756  412 ?        S 10:41:51  0:00 /usr/apache2/2.4/bin/rotatelogs -l -f -n 5 /var/webui/logs/access_log 10M
root     28859  0.0  0.210612 3796 ?        S 12:19:42  0:00 /usr/gnu/bin/sleep 5
root       677  0.0  0.114412 2232 ?        S 10:41:51  0:00 /usr/apache2/2.4/bin/httpd -f /var/webui/conf/webui.conf -k start
root       990  0.0  0.527752 9212 ?        S 10:42:06  0:00 /usr/lib/sstore/bin/sysstatd --max-process-size=268435456
root         0  0.0  0.0    0    0 ?        T 10:41:24  0:01 sched
root         1  0.0  0.1 4600  516 ?        S 10:41:24  0:00 /usr/sbin/init
root         2  0.0  0.0    0    0 ?        S 10:41:24  0:00 pageout
root         6  0.0  0.0    0    0 ?        S 10:41:24  0:00 kmem_task
root         7  0.0  0.0    0    0 ?        S 10:41:24  0:00 intrd
root         8  0.0  0.0    0    0 ?        S 10:41:24  0:00 vmtasks
root         9  0.0  0.0    0    0 ?        S 10:41:24  0:00 postwaittq
root        13  0.0  0.434572 7640 ?        S 10:41:24  0:03 /lib/svc/bin/svc.startd
netadm      48  0.0  0.012140  200 ?        S 10:41:28  0:00 /usr/sbin/ibmgmtd
netadm      84  0.0  0.1 7276  608 ?        S 10:41:32  0:00 /lib/inet/ipmgmtd
daemon      87  0.0  0.011008   16 ?        S 10:41:32  0:00 /lib/crypto/kcfd
dladm       92  0.0  0.1 7248 1088 ?        S 10:41:33  0:00 /usr/sbin/dlmgmtd
root        94  0.0  0.1 3912  780 ?        S 10:41:34  0:00 /usr/lib/pfexecd
root       112  0.0  0.0 4820  204 ?        S 10:41:35  0:00 /lib/inet/in.ndpd
root       116  0.0  0.112940  528 ?        S 10:41:35  0:00 /lib/inet/in.mpathd
root       145  0.0  0.113608 2180 ?        S 10:41:38  0:00 /usr/sbin/sysobjd -d 0 -b 300 -t 300 -n 5
root       207  0.0  0.1 7428  608 ?        S 10:41:40  0:00 /lib/svc/bin/svc.periodicd
daemon     215  0.0  0.1 3508  592 ?        R 10:41:40  0:00 /usr/lib/utmpd
root       217  0.0  0.0 3740   56 ?        S 10:41:40  0:00 /usr/lib/hotplugd
root       220  0.0  0.0 5132   12 ?        S 10:41:40  0:00 /usr/sbin/vbiosd
root       229  0.0  0.0 4592   16 ?        S 10:41:40  0:00 /usr/lib/zones/zonestatd
root       239  0.0  0.111532  416 ?        S 10:41:40  0:00 /usr/lib/sysevent/syseventd
root       246  0.0  0.0 5488  244 ?        S 10:41:40  0:00 /usr/lib/dbus-daemon --system
root       340  0.0  0.416048 7416 ?        S 10:41:42  0:00 /usr/lib/devfsadm/devfsadmd
netadm     395  0.0  0.218320 3636 ?        S 10:41:43  0:00 /lib/inet/nwamd
root       466  0.0  0.012012  312 ?        S 10:41:44  0:00 /usr/lib/ssh/sshd
root       496  0.0  0.113312 2176 ?        S 10:41:45  0:00 /usr/lib/picl/picld
root       517  0.0  0.014476   20 ?        S 10:41:45  0:00 /usr/lib/smbfs/smbclntd
root       524  0.0  0.114016 1040 ?        S 10:41:46  0:00 /usr/lib/labeld
root       550  0.0  0.010776  296 ?        S 10:41:46  0:00 /lib/svc/method/iscsid
root       600  0.0  0.1 9832 1488 ?        S 10:41:48  0:00 /usr/lib/zones/svc.zones
root       618  0.0  0.215440 2812 ?        S 10:41:49  0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root       623  0.0  0.211196 3140 ?        S 10:41:49  0:00 /usr/sbin/cron
root       640  0.0  0.310548 4928 ?        S 10:41:49  0:00 /usr/lib/hal/hald --daemon=yes
root       645  0.0  0.1 6516 1228 ?        S 10:41:49  0:00 hald-runner
root       652  0.0  0.1 6000 1636 ?        S 10:41:50  0:00 /usr/lib/hal/hald-addon-acpi
root       678  0.0  0.1 3752  544 ?        S 10:41:51  0:00 /usr/apache2/2.4/bin/rotatelogs -l -f -n 5 /var/webui/logs/error_log 10M
root       686  0.0  0.1 6880 1048 ?        S 10:41:52  0:00 /usr/lib/rmvolmgr -s
daemon     695  0.0  0.2 6424 2448 ?        S 10:41:52  0:00 /usr/sbin/rpcbind -w
root       703  0.0  1.613635632220 ?        S 10:41:52  0:01 /usr/lib/fm/fmd/fmd
root       705  0.0  0.112388  932 ?        S 10:41:52  0:00 /usr/lib/autofs/automountd
webservd   711  0.0  0.426372 8220 ?        S 10:41:53  0:00 /usr/apache2/2.4/bin/httpd -f /var/webui/conf/webui.conf -k start
root       713  0.0  0.217356 3768 ?        S 10:41:53  1:09 /usr/lib/inet/inetd start
root       719  0.0  0.1 4488  692 ?        S 10:41:53  0:00 /usr/lib/devchassis/devchassisd
webservd   722  0.0  0.424684 6772 ?        S 10:41:53  0:00 /usr/apache2/2.4/bin/httpd -f /var/webui/conf/webui.conf -k start
webservd   736  0.0  0.324268 5352 ?        S 10:41:54  0:00 /usr/apache2/2.4/bin/httpd -f /var/webui/conf/webui.conf -k start
root       797  0.0  0.215588 3060 ?        S 10:42:01  0:00 /usr/sbin/syslogd
root       818  0.0  0.115424 1592 ?        S 10:42:01  0:00 /usr/sbin/auditd
root       822  0.0  0.1 3964  524 console  S 10:42:02  0:00 /usr/sbin/ttymon -g -d /dev/console -l console -m ldterm,ttcompat -h -p sunday console login:
root       846  0.0  0.1 3656  544 vt/1     S 10:42:02  0:00 /usr/lib/vtdaemon -c 16
root       850  0.0  0.1 3948  496 vt/2     S 10:42:02  0:00 /usr/sbin/ttymon -g -d /dev/vt/2 -l console -m ldterm,ttcompat -h -p sunday vt2 login:
root       866  0.0  0.1 3948  500 vt/4     S 10:42:02  0:00 /usr/sbin/ttymon -g -d /dev/vt/4 -l console -m ldterm,ttcompat -h -p sunday vt4 login:
root       882  0.0  0.1 3948  500 vt/3     S 10:42:02  0:00 /usr/sbin/ttymon -g -d /dev/vt/3 -l console -m ldterm,ttcompat -h -p sunday vt3 login:
root       898  0.0  0.1 3948  404 vt/5     S 10:42:02  0:00 /usr/sbin/ttymon -g -d /dev/vt/5 -l console -m ldterm,ttcompat -h -p sunday vt5 login:
root       899  0.0  0.1 3948  500 vt/6     S 10:42:02  0:00 /usr/sbin/ttymon -g -d /dev/vt/6 -l console -m ldterm,ttcompat -h -p sunday vt6 login:
noaccess  1169  0.0  0.112284 1392 ?        S 10:42:09  0:00 /usr/lib/fm/notify/smtp-notify
noaccess  1178  0.0  0.112380 1028 ?        S 10:42:09  0:00 /usr/lib/fm/notify/asr-notify
root      1182  0.0  0.012060  196 ?        S 10:42:09  0:00 /usr/bin/coremond
root      1272  0.0  0.116648 1784 ?        S 10:43:41  0:00 /usr/lib/inet/sendmail -bl -q15m
smmsp     1287  0.0  0.113320 1400 ?        S 10:44:07  0:00 /usr/lib/inet/sendmail -Ac -q15m
root     28397  0.0  0.315884 4480 ?        S 12:05:14  0:00 /usr/lib/ssh/sshd -R
sunny    28495  0.0  1.44995629324 ?        S 12:08:31  0:01 /usr/lib/rad/rad -m /usr/lib/rad/transport -m /usr/lib/rad/protocol -m /usr/lib/rad/module -m /usr/lib/rad/site

Cron & Systemd


 

Sudo Version


 

Glibc Version