Subject: Re: Switching from old-style getopt to new-style one
To: None <>
From: Simon Burge <>
List: tech-userlevel
Date: 11/02/2000 16:39:05
Greywolf wrote:

> On Thu, 2 Nov 2000, Simon Burge wrote:
> # Hmm
> # 
> # 	su root -c ls
> # 
> # login class "ls" ?
> No, command.

If the fancy getopt replacement pulls "-c ls" by looking at su's getopt
string (which has a ":c" in it), then it will set su's -c parameter to
"ls", not pass it to the shell as it should be...

> What are login classes all about, anyway?  Is that a scheduling/priority
> thing, or what?

No idea, but it was a simple example off the top of my head...

Simon Burge                            <>
NetBSD Sales, Support and Service: