Subject: RE: SUID bit
To: 'collver@softhome.net' <collver@softhome.net>
From: Zaitsau, Andrei <AZaitsau@panasonicfa.com>
List: netbsd-help
Date: 12/26/2000 10:07:26
First of all,
Thanks for help !
But I do not have any users on the system and it's not going to be any. It's
a Gateway. I want to make it more secure by removing all SUID bits. (Just in
case) I log in to the system every week to check on how things are going,
and that's it.
If I understood you correctly it will affect /usr/bin/login ... Does It mean
I will be able to log in only as root? If so That's all that I need. Will
removing of SUID bits affect root in any way?
Thanks 


> 1). Is there is a way to find all files that contain SUID bit ?

find / -perm -u+s -print

> 2). If I remove SUID bit from some files, will it affect anything?
Daemons?
> Or is it really bad Idea to do if there are no users on the box?
> Thanks.

It will adversely affect some things like /usr/bin/login

Ben