On Sat, Mar 23, 2002 at 06:57:38PM -0300, Fernan Aguero wrote: > +----[ John R. Jackson ([EMAIL PROTECTED]) dijo sobre "Re: newbie questions": > | > | One possibility (although I know zip about FreeBSD) might be to set the > | shell to /bin/false and add /bin/false to /etc/shells (or whatever file > | they use to define what is valid). > | > +----] > > Tried it with no sucess. Set /bin/false and added it to /etc/shells. > The problem is that since /bin/false doesn't exist, a command like: > su amanda -c "amcheck normal" > fails. > >>> End of included message <<<
/bin/false is simply an exit <non-zero>. Create an executable somewhere, /bin/false, or /usr/local/bin/false with the lines: #!/usr/bin/sh exit 255 and try that in /etc/passwd and /etc/shells. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road (609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)