[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fileutils static
From: |
Alfred M. Szmidt |
Subject: |
Re: fileutils static |
Date: |
25 Apr 2002 14:12:25 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
* Russ Allbery writes:
> Brad Van Orden <address@hidden> writes:
>> Please forgive if this is a basic question, but is there a way to
>> compile the utilities such that they don't use dynamic libraries
>> under Solaris 7? I'm trying to get some static utilities (such as
>> 'ls') to use under some chrooted ftp accounts.
> It's not possible to build static on Solaris any binary that calls
> getpwnam or any other function that goes through the nsswitch
> mechanism.
Are you sure? Because on GNU and on GNU/Linux (actually, anything that uses
GNU libc) platforms you can make the whole thing go away if you make a
decent /etc/nsswitch.conf file. I guess something like:
passwd: files [NOTFOUND=continue]
Should work...
--
Alfred M. Szmidt