-
-
Notifications
You must be signed in to change notification settings - Fork 274
/
Copy pathsuid.bats
1048 lines (838 loc) · 18.2 KB
/
suid.bats
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/usr/bin/env bats
load test_helper
@test "Ensure apt hasn't SUID/GUID set" {
run gotSGid apt
[ "$status" -eq 0 ]
}
@test "Ensure apt-get hasn't SUID/GUID set" {
run gotSGid apt-get
[ "$status" -eq 0 ]
}
@test "Ensure aria2c hasn't SUID/GUID set" {
run gotSGid aria2c
[ "$status" -eq 0 ]
}
@test "Ensure arp hasn't SUID/GUID set" {
run gotSGid arp
[ "$status" -eq 0 ]
}
@test "Ensure ash hasn't SUID/GUID set" {
run gotSGid ash
[ "$status" -eq 0 ]
}
@test "Ensure at hasn't SUID/GUID set" {
run gotSGid at
[ "$status" -eq 0 ]
}
@test "Ensure awk hasn't SUID/GUID set" {
run gotSGid awk
[ "$status" -eq 0 ]
}
@test "Ensure base32 hasn't SUID/GUID set" {
run gotSGid base32
[ "$status" -eq 0 ]
}
@test "Ensure base64 hasn't SUID/GUID set" {
run gotSGid base64
[ "$status" -eq 0 ]
}
@test "Ensure bash hasn't SUID/GUID set" {
run gotSGid bash
[ "$status" -eq 0 ]
}
@test "Ensure bpftrace hasn't SUID/GUID set" {
run gotSGid bpftrace
[ "$status" -eq 0 ]
}
@test "Ensure bsd-write hasn't SUID/GUID set" {
run gotSGid bsd-write
[ "$status" -eq 0 ]
}
@test "Ensure bundler hasn't SUID/GUID set" {
run gotSGid bundler
[ "$status" -eq 0 ]
}
@test "Ensure busctl hasn't SUID/GUID set" {
run gotSGid busctl
[ "$status" -eq 0 ]
}
@test "Ensure busybox hasn't SUID/GUID set" {
run gotSGid busybox
[ "$status" -eq 0 ]
}
@test "Ensure byebug hasn't SUID/GUID set" {
run gotSGid byebug
[ "$status" -eq 0 ]
}
@test "Ensure cancel hasn't SUID/GUID set" {
run gotSGid cancel
[ "$status" -eq 0 ]
}
@test "Ensure cat hasn't SUID/GUID set" {
run gotSGid cat
[ "$status" -eq 0 ]
}
@test "Ensure chage hasn't SUID/GUID set" {
run gotSGid chage
[ "$status" -eq 0 ]
}
@test "Ensure chfn hasn't SUID/GUID set" {
run gotSGid chfn
[ "$status" -eq 0 ]
}
@test "Ensure chmod hasn't SUID/GUID set" {
run gotSGid chmod
[ "$status" -eq 0 ]
}
@test "Ensure chown hasn't SUID/GUID set" {
run gotSGid chown
[ "$status" -eq 0 ]
}
@test "Ensure chroot hasn't SUID/GUID set" {
run gotSGid chroot
[ "$status" -eq 0 ]
}
@test "Ensure chsh hasn't SUID/GUID set" {
run gotSGid chsh
[ "$status" -eq 0 ]
}
@test "Ensure cobc hasn't SUID/GUID set" {
run gotSGid cobc
[ "$status" -eq 0 ]
}
@test "Ensure cp hasn't SUID/GUID set" {
run gotSGid cp
[ "$status" -eq 0 ]
}
@test "Ensure cpan hasn't SUID/GUID set" {
run gotSGid cpan
[ "$status" -eq 0 ]
}
@test "Ensure cpulimit hasn't SUID/GUID set" {
run gotSGid cpulimit
[ "$status" -eq 0 ]
}
@test "Ensure crash hasn't SUID/GUID set" {
run gotSGid crash
[ "$status" -eq 0 ]
}
@test "Ensure crontab hasn't SUID/GUID set" {
run gotSGid crontab
[ "$status" -eq 0 ]
}
@test "Ensure csh hasn't SUID/GUID set" {
run gotSGid csh
[ "$status" -eq 0 ]
}
@test "Ensure curl hasn't SUID/GUID set" {
run gotSGid curl
[ "$status" -eq 0 ]
}
@test "Ensure cut hasn't SUID/GUID set" {
run gotSGid cut
[ "$status" -eq 0 ]
}
@test "Ensure dash hasn't SUID/GUID set" {
run gotSGid dash
[ "$status" -eq 0 ]
}
@test "Ensure date hasn't SUID/GUID set" {
run gotSGid date
[ "$status" -eq 0 ]
}
@test "Ensure dd hasn't SUID/GUID set" {
run gotSGid dd
[ "$status" -eq 0 ]
}
@test "Ensure dialog hasn't SUID/GUID set" {
run gotSGid dialog
[ "$status" -eq 0 ]
}
@test "Ensure diff hasn't SUID/GUID set" {
run gotSGid diff
[ "$status" -eq 0 ]
}
@test "Ensure dmesg hasn't SUID/GUID set" {
run gotSGid dmesg
[ "$status" -eq 0 ]
}
@test "Ensure dmsetup hasn't SUID/GUID set" {
run gotSGid dmsetup
[ "$status" -eq 0 ]
}
@test "Ensure dnf hasn't SUID/GUID set" {
run gotSGid dnf
[ "$status" -eq 0 ]
}
@test "Ensure docker hasn't SUID/GUID set" {
run gotSGid docker
[ "$status" -eq 0 ]
}
@test "Ensure dpkg hasn't SUID/GUID set" {
run gotSGid dpkg
[ "$status" -eq 0 ]
}
@test "Ensure easy_install hasn't SUID/GUID set" {
run gotSGid easy_install
[ "$status" -eq 0 ]
}
@test "Ensure eb hasn't SUID/GUID set" {
run gotSGid eb
[ "$status" -eq 0 ]
}
@test "Ensure ed hasn't SUID/GUID set" {
run gotSGid ed
[ "$status" -eq 0 ]
}
@test "Ensure emacs hasn't SUID/GUID set" {
run gotSGid emacs
[ "$status" -eq 0 ]
}
@test "Ensure env hasn't SUID/GUID set" {
run gotSGid env
[ "$status" -eq 0 ]
}
@test "Ensure eqn hasn't SUID/GUID set" {
run gotSGid eqn
[ "$status" -eq 0 ]
}
@test "Ensure expand hasn't SUID/GUID set" {
run gotSGid expand
[ "$status" -eq 0 ]
}
@test "Ensure expect hasn't SUID/GUID set" {
run gotSGid expect
[ "$status" -eq 0 ]
}
@test "Ensure facter hasn't SUID/GUID set" {
run gotSGid facter
[ "$status" -eq 0 ]
}
@test "Ensure file hasn't SUID/GUID set" {
run gotSGid file
[ "$status" -eq 0 ]
}
@test "Ensure find hasn't SUID/GUID set" {
run gotSGid find
[ "$status" -eq 0 ]
}
@test "Ensure finger hasn't SUID/GUID set" {
run gotSGid finger
[ "$status" -eq 0 ]
}
@test "Ensure flock hasn't SUID/GUID set" {
run gotSGid flock
[ "$status" -eq 0 ]
}
@test "Ensure fmt hasn't SUID/GUID set" {
run gotSGid fmt
[ "$status" -eq 0 ]
}
@test "Ensure fold hasn't SUID/GUID set" {
run gotSGid fold
[ "$status" -eq 0 ]
}
@test "Ensure ftp hasn't SUID/GUID set" {
run gotSGid ftp
[ "$status" -eq 0 ]
}
@test "Ensure fusermount hasn't SUID/GUID set" {
run gotSGid fusermount
[ "$status" -eq 0 ]
}
@test "Ensure gawk hasn't SUID/GUID set" {
run gotSGid gawk
[ "$status" -eq 0 ]
}
@test "Ensure gcc hasn't SUID/GUID set" {
run gotSGid gcc
[ "$status" -eq 0 ]
}
@test "Ensure gdb hasn't SUID/GUID set" {
run gotSGid gdb
[ "$status" -eq 0 ]
}
@test "Ensure gem hasn't SUID/GUID set" {
run gotSGid gem
[ "$status" -eq 0 ]
}
@test "Ensure genisoimage hasn't SUID/GUID set" {
run gotSGid genisoimage
[ "$status" -eq 0 ]
}
@test "Ensure gimp hasn't SUID/GUID set" {
run gotSGid gimp
[ "$status" -eq 0 ]
}
@test "Ensure git hasn't SUID/GUID set" {
run gotSGid git
[ "$status" -eq 0 ]
}
@test "Ensure grep hasn't SUID/GUID set" {
run gotSGid grep
[ "$status" -eq 0 ]
}
@test "Ensure gtester hasn't SUID/GUID set" {
run gotSGid gtester
[ "$status" -eq 0 ]
}
@test "Ensure hd hasn't SUID/GUID set" {
run gotSGid hd
[ "$status" -eq 0 ]
}
@test "Ensure head hasn't SUID/GUID set" {
run gotSGid head
[ "$status" -eq 0 ]
}
@test "Ensure hexdump hasn't SUID/GUID set" {
run gotSGid hexdump
[ "$status" -eq 0 ]
}
@test "Ensure highlight hasn't SUID/GUID set" {
run gotSGid highlight
[ "$status" -eq 0 ]
}
@test "Ensure iconv hasn't SUID/GUID set" {
run gotSGid iconv
[ "$status" -eq 0 ]
}
@test "Ensure iftop hasn't SUID/GUID set" {
run gotSGid iftop
[ "$status" -eq 0 ]
}
@test "Ensure ionice hasn't SUID/GUID set" {
run gotSGid ionice
[ "$status" -eq 0 ]
}
@test "Ensure ip hasn't SUID/GUID set" {
run gotSGid ip
[ "$status" -eq 0 ]
}
@test "Ensure irb hasn't SUID/GUID set" {
run gotSGid irb
[ "$status" -eq 0 ]
}
@test "Ensure jjs hasn't SUID/GUID set" {
run gotSGid jjs
[ "$status" -eq 0 ]
}
@test "Ensure journalctl hasn't SUID/GUID set" {
run gotSGid journalctl
[ "$status" -eq 0 ]
}
@test "Ensure jq hasn't SUID/GUID set" {
run gotSGid jq
[ "$status" -eq 0 ]
}
@test "Ensure jrunscript hasn't SUID/GUID set" {
run gotSGid jrunscript
[ "$status" -eq 0 ]
}
@test "Ensure ksh hasn't SUID/GUID set" {
run gotSGid ksh
[ "$status" -eq 0 ]
}
@test "Ensure ksshell hasn't SUID/GUID set" {
run gotSGid ksshell
[ "$status" -eq 0 ]
}
@test "Ensure ld.so hasn't SUID/GUID set" {
run gotSGid ld.so
[ "$status" -eq 0 ]
}
@test "Ensure ldconfig hasn't SUID/GUID set" {
run gotSGid ldconfig
[ "$status" -eq 0 ]
}
@test "Ensure less hasn't SUID/GUID set" {
run gotSGid less
[ "$status" -eq 0 ]
}
@test "Ensure logsave hasn't SUID/GUID set" {
run gotSGid logsave
[ "$status" -eq 0 ]
}
@test "Ensure look hasn't SUID/GUID set" {
run gotSGid look
[ "$status" -eq 0 ]
}
@test "Ensure ltrace hasn't SUID/GUID set" {
run gotSGid ltrace
[ "$status" -eq 0 ]
}
@test "Ensure lua hasn't SUID/GUID set" {
run gotSGid lua
[ "$status" -eq 0 ]
}
@test "Ensure lwp-download hasn't SUID/GUID set" {
run gotSGid lwp-download
[ "$status" -eq 0 ]
}
@test "Ensure lwp-request hasn't SUID/GUID set" {
run gotSGid lwp-request
[ "$status" -eq 0 ]
}
@test "Ensure mail hasn't SUID/GUID set" {
run gotSGid mail
[ "$status" -eq 0 ]
}
@test "Ensure make hasn't SUID/GUID set" {
run gotSGid make
[ "$status" -eq 0 ]
}
@test "Ensure man hasn't SUID/GUID set" {
run gotSGid man
[ "$status" -eq 0 ]
}
@test "Ensure mawk hasn't SUID/GUID set" {
run gotSGid mawk
[ "$status" -eq 0 ]
}
@test "Ensure mlocate hasn't SUID/GUID set" {
run gotSGid mlocate
[ "$status" -eq 0 ]
}
@test "Ensure more hasn't SUID/GUID set" {
run gotSGid more
[ "$status" -eq 0 ]
}
@test "Ensure mount hasn't SUID/GUID set" {
run gotSGid mount
[ "$status" -eq 0 ]
}
@test "Ensure mount.nfs hasn't SUID/GUID set" {
run gotSGid mount.nfs
[ "$status" -eq 0 ]
}
@test "Ensure mtr hasn't SUID/GUID set" {
run gotSGid mtr
[ "$status" -eq 0 ]
}
@test "Ensure mv hasn't SUID/GUID set" {
run gotSGid mv
[ "$status" -eq 0 ]
}
@test "Ensure mysql hasn't SUID/GUID set" {
run gotSGid mysql
[ "$status" -eq 0 ]
}
@test "Ensure nano hasn't SUID/GUID set" {
run gotSGid nano
[ "$status" -eq 0 ]
}
@test "Ensure nawk hasn't SUID/GUID set" {
run gotSGid nawk
[ "$status" -eq 0 ]
}
@test "Ensure nc hasn't SUID/GUID set" {
run gotSGid nc
[ "$status" -eq 0 ]
}
@test "Ensure newgrp hasn't SUID/GUID set" {
run gotSGid newgrp
[ "$status" -eq 0 ]
}
@test "Ensure nice hasn't SUID/GUID set" {
run gotSGid nice
[ "$status" -eq 0 ]
}
@test "Ensure nl hasn't SUID/GUID set" {
run gotSGid nl
[ "$status" -eq 0 ]
}
@test "Ensure nmap hasn't SUID/GUID set" {
run gotSGid nmap
[ "$status" -eq 0 ]
}
@test "Ensure node hasn't SUID/GUID set" {
run gotSGid node
[ "$status" -eq 0 ]
}
@test "Ensure nohup hasn't SUID/GUID set" {
run gotSGid nohup
[ "$status" -eq 0 ]
}
@test "Ensure nroff hasn't SUID/GUID set" {
run gotSGid nroff
[ "$status" -eq 0 ]
}
@test "Ensure nsenter hasn't SUID/GUID set" {
run gotSGid nsenter
[ "$status" -eq 0 ]
}
@test "Ensure ntfs-3g hasn't SUID/GUID set" {
run gotSGid ntfs-3g
[ "$status" -eq 0 ]
}
@test "Ensure od hasn't SUID/GUID set" {
run gotSGid od
[ "$status" -eq 0 ]
}
@test "Ensure openssl hasn't SUID/GUID set" {
run gotSGid openssl
[ "$status" -eq 0 ]
}
@test "Ensure pdb hasn't SUID/GUID set" {
run gotSGid pdb
[ "$status" -eq 0 ]
}
@test "Ensure perl hasn't SUID/GUID set" {
run gotSGid perl
[ "$status" -eq 0 ]
}
@test "Ensure pg hasn't SUID/GUID set" {
run gotSGid pg
[ "$status" -eq 0 ]
}
@test "Ensure php hasn't SUID/GUID set" {
run gotSGid php
[ "$status" -eq 0 ]
}
@test "Ensure pic hasn't SUID/GUID set" {
run gotSGid pic
[ "$status" -eq 0 ]
}
@test "Ensure pico hasn't SUID/GUID set" {
run gotSGid pico
[ "$status" -eq 0 ]
}
@test "Ensure ping hasn't SUID/GUID set" {
run gotSGid ping
[ "$status" -eq 0 ]
}
@test "Ensure ping6 hasn't SUID/GUID set" {
run gotSGid ping6
[ "$status" -eq 0 ]
}
@test "Ensure pip hasn't SUID/GUID set" {
run gotSGid pip
[ "$status" -eq 0 ]
}
@test "Ensure pkexec hasn't SUID/GUID set" {
run gotSGid pkexec
[ "$status" -eq 0 ]
}
@test "Ensure pppd hasn't SUID/GUID set" {
run gotSGid pppd
[ "$status" -eq 0 ]
}
@test "Ensure pry hasn't SUID/GUID set" {
run gotSGid pry
[ "$status" -eq 0 ]
}
@test "Ensure psad hasn't SUID/GUID set" {
run gotSGid psad
[ "$status" -eq 0 ]
}
@test "Ensure puppet hasn't SUID/GUID set" {
run gotSGid puppet
[ "$status" -eq 0 ]
}
@test "Ensure python hasn't SUID/GUID set" {
run gotSGid python
[ "$status" -eq 0 ]
}
@test "Ensure rake hasn't SUID/GUID set" {
run gotSGid rake
[ "$status" -eq 0 ]
}
@test "Ensure readelf hasn't SUID/GUID set" {
run gotSGid readelf
[ "$status" -eq 0 ]
}
@test "Ensure red hasn't SUID/GUID set" {
run gotSGid red
[ "$status" -eq 0 ]
}
@test "Ensure redcarpet hasn't SUID/GUID set" {
run gotSGid redcarpet
[ "$status" -eq 0 ]
}
@test "Ensure restic hasn't SUID/GUID set" {
run gotSGid restic
[ "$status" -eq 0 ]
}
@test "Ensure rlogin hasn't SUID/GUID set" {
run gotSGid rlogin
[ "$status" -eq 0 ]
}
@test "Ensure rlwrap hasn't SUID/GUID set" {
run gotSGid rlwrap
[ "$status" -eq 0 ]
}
@test "Ensure rpm hasn't SUID/GUID set" {
run gotSGid rpm
[ "$status" -eq 0 ]
}
@test "Ensure rpmquery hasn't SUID/GUID set" {
run gotSGid rpmquery
[ "$status" -eq 0 ]
}
@test "Ensure rsync hasn't SUID/GUID set" {
run gotSGid rsync
[ "$status" -eq 0 ]
}
@test "Ensure ruby hasn't SUID/GUID set" {
run gotSGid ruby
[ "$status" -eq 0 ]
}
@test "Ensure run-mailcap hasn't SUID/GUID set" {
run gotSGid run-mailcap
[ "$status" -eq 0 ]
}
@test "Ensure run-parts hasn't SUID/GUID set" {
run gotSGid run-parts
[ "$status" -eq 0 ]
}
@test "Ensure rvim hasn't SUID/GUID set" {
run gotSGid rvim
[ "$status" -eq 0 ]
}
@test "Ensure scp hasn't SUID/GUID set" {
run gotSGid scp
[ "$status" -eq 0 ]
}
@test "Ensure screen hasn't SUID/GUID set" {
run gotSGid screen
[ "$status" -eq 0 ]
}
@test "Ensure script hasn't SUID/GUID set" {
run gotSGid script
[ "$status" -eq 0 ]
}
@test "Ensure sed hasn't SUID/GUID set" {
run gotSGid sed
[ "$status" -eq 0 ]
}
@test "Ensure service hasn't SUID/GUID set" {
run gotSGid service
[ "$status" -eq 0 ]
}
@test "Ensure setarch hasn't SUID/GUID set" {
run gotSGid setarch
[ "$status" -eq 0 ]
}
@test "Ensure sftp hasn't SUID/GUID set" {
run gotSGid sftp
[ "$status" -eq 0 ]
}
@test "Ensure sh hasn't SUID/GUID set" {
run gotSGid sh
[ "$status" -eq 0 ]
}
@test "Ensure shuf hasn't SUID/GUID set" {
run gotSGid shuf
[ "$status" -eq 0 ]
}
@test "Ensure smbclient hasn't SUID/GUID set" {
run gotSGid smbclient
[ "$status" -eq 0 ]
}
@test "Ensure socat hasn't SUID/GUID set" {
run gotSGid socat
[ "$status" -eq 0 ]
}
@test "Ensure soelim hasn't SUID/GUID set" {
run gotSGid soelim
[ "$status" -eq 0 ]
}
@test "Ensure sort hasn't SUID/GUID set" {
run gotSGid sort
[ "$status" -eq 0 ]
}
@test "Ensure sqlite3 hasn't SUID/GUID set" {
run gotSGid sqlite3
[ "$status" -eq 0 ]
}
@test "Ensure ssh hasn't SUID/GUID set" {
run gotSGid ssh
[ "$status" -eq 0 ]
}
@test "Ensure start-stop-daemon hasn't SUID/GUID set" {
run gotSGid start-stop-daemon
[ "$status" -eq 0 ]
}
@test "Ensure stdbuf hasn't SUID/GUID set" {
run gotSGid stdbuf
[ "$status" -eq 0 ]
}
@test "Ensure strace hasn't SUID/GUID set" {
run gotSGid strace
[ "$status" -eq 0 ]
}
@test "Ensure strings hasn't SUID/GUID set" {
run gotSGid strings
[ "$status" -eq 0 ]
}
@test "Ensure su hasn't SUID/GUID set" {
run gotSGid su
[ "$status" -eq 0 ]
}
@test "Ensure sysctl hasn't SUID/GUID set" {
run gotSGid sysctl
[ "$status" -eq 0 ]
}
@test "Ensure systemctl hasn't SUID/GUID set" {
run gotSGid systemctl
[ "$status" -eq 0 ]
}
@test "Ensure tac hasn't SUID/GUID set" {
run gotSGid tac
[ "$status" -eq 0 ]
}
@test "Ensure tail hasn't SUID/GUID set" {
run gotSGid tail
[ "$status" -eq 0 ]
}
@test "Ensure tar hasn't SUID/GUID set" {
run gotSGid tar
[ "$status" -eq 0 ]
}
@test "Ensure taskset hasn't SUID/GUID set" {
run gotSGid taskset
[ "$status" -eq 0 ]
}
@test "Ensure tclsh hasn't SUID/GUID set" {
run gotSGid tclsh
[ "$status" -eq 0 ]
}
@test "Ensure tcpdump hasn't SUID/GUID set" {
run gotSGid tcpdump
[ "$status" -eq 0 ]
}
@test "Ensure tcsh hasn't SUID/GUID set" {
run gotSGid tcsh
[ "$status" -eq 0 ]
}
@test "Ensure tee hasn't SUID/GUID set" {
run gotSGid tee
[ "$status" -eq 0 ]
}
@test "Ensure telnet hasn't SUID/GUID set" {
run gotSGid telnet
[ "$status" -eq 0 ]
}
@test "Ensure tftp hasn't SUID/GUID set" {
run gotSGid tftp
[ "$status" -eq 0 ]
}
@test "Ensure time hasn't SUID/GUID set" {
run gotSGid time
[ "$status" -eq 0 ]
}
@test "Ensure timeout hasn't SUID/GUID set" {
run gotSGid timeout
[ "$status" -eq 0 ]
}
@test "Ensure tmux hasn't SUID/GUID set" {
run gotSGid tmux
[ "$status" -eq 0 ]
}
@test "Ensure top hasn't SUID/GUID set" {
run gotSGid top
[ "$status" -eq 0 ]
}
@test "Ensure traceroute6.iputils hasn't SUID/GUID set" {
run gotSGid traceroute6.iputils
[ "$status" -eq 0 ]
}
@test "Ensure ul hasn't SUID/GUID set" {
run gotSGid ul
[ "$status" -eq 0 ]
}
@test "Ensure umount hasn't SUID/GUID set" {
run gotSGid umount
[ "$status" -eq 0 ]
}
@test "Ensure unexpand hasn't SUID/GUID set" {
run gotSGid unexpand
[ "$status" -eq 0 ]
}
@test "Ensure uniq hasn't SUID/GUID set" {
run gotSGid uniq
[ "$status" -eq 0 ]
}
@test "Ensure unshare hasn't SUID/GUID set" {
run gotSGid unshare
[ "$status" -eq 0 ]
}
@test "Ensure uudecode hasn't SUID/GUID set" {
run gotSGid uudecode
[ "$status" -eq 0 ]
}
@test "Ensure uuencode hasn't SUID/GUID set" {
run gotSGid uuencode
[ "$status" -eq 0 ]
}
@test "Ensure valgrind hasn't SUID/GUID set" {
run gotSGid valgrind
[ "$status" -eq 0 ]
}
@test "Ensure vi hasn't SUID/GUID set" {
run gotSGid vi
[ "$status" -eq 0 ]
}
@test "Ensure vim hasn't SUID/GUID set" {
run gotSGid vim
[ "$status" -eq 0 ]
}
@test "Ensure wall hasn't SUID/GUID set" {
run gotSGid wall
[ "$status" -eq 0 ]
}
@test "Ensure watch hasn't SUID/GUID set" {
run gotSGid watch
[ "$status" -eq 0 ]
}
@test "Ensure wget hasn't SUID/GUID set" {
run gotSGid wget
[ "$status" -eq 0 ]
}
@test "Ensure whois hasn't SUID/GUID set" {
run gotSGid whois
[ "$status" -eq 0 ]
}
@test "Ensure wish hasn't SUID/GUID set" {
run gotSGid wish
[ "$status" -eq 0 ]
}
@test "Ensure write hasn't SUID/GUID set" {