Date: Thu, 2 May 1996 01:19:34 -0400 (EDT) From: "Brian T. Schellenberger - Personal Account" <babbleon@mercury.interpath.com> To: freebsd-questions@freebsd.org (FreeBSD Questions) Subject: Groups ; Setuid Message-ID: <199605020519.BAA12169@mercury.interpath.com>
next in thread | raw e-mail | index | archive | help
Ok, I first used BSD way back in 1981, but I've been wandering in the land of the lost (sys5-ish systems) for many years now, and I don't quite "get it" about permissions and BSD, so . . . 1. I want to be able to su to root from my ID, but did not originally give myself root perms. When I tried to edit (via vipw) the password file to just change my group, it didn't seem to "take" somehow, so I switched it back. If I understand the theory, though, I should be able to be in multiple groups. How? It doesn't seem to be in the handbook or the FAQ, and my perusal of man pages hasn't show anything. I admit I'm not on speaking terms with info yet, but I don't think that FreeBSD favors it anyway. 2. I want to be able to setuid a "script" to root and have it jolly well do whatever I can do logged in as root. In particlar, I want to have scripts to slattach and associated "stuff" to various places and I want to allow non-root folks to do so. I can make some stuff work with suidperl, but even then it barfs if I try to invoke an extermal command that's a shell. Sure, it's a security risk, but this is a home system; it just doesn't need to be *that* secure. Or is there a better way to do this sort of thing? -- Brian T. Schellenberger, the Man from Babble-On. "Someday I'll get around to importing all the cool quotes from my other account's .sig files." http://mercury.interpath.com/~babbleon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605020519.BAA12169>