Subject: Re: SUID bit
To: Zaitsau, Andrei <AZaitsau@panasonicfa.com>
From: None <collver@softhome.net>
List: netbsd-help
Date: 12/26/2000 07:42:05
> 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?

Well, I tried removing the SUID bit on /usr/bin/login and was able to log
into my machine as a normal user.  init runs getty as root, and it looks
like getty also runs login as root.

I have no idea whether you can remove suid on everything.

Ben