Hi, Tito wrote:
> The Single UNIX ® Specification, Version 2 > #include <limits.h> > LOGIN_NAME_MAX > Maximum length of a login name. Minimum Acceptable Value: > _POSIX_LOGIN_NAME_MAX > _POSIX_LOGIN_NAME_MAX > The size of the storage required for a login name, in bytes, including the > terminating null. Value: 9 Thanks for your response. What I am doing has little to do with the "traditional mechanism" described in the Unix spec. I boot from an immutable image with no "human" users predefined, present a login prompt, accept username in the form user@host[:homedir], ssh to the given host to login a user there, if it succeeds, ssh-mount user's home directory, etc. Local user record with meaningless name is created temporarily just to keep the commands like who happy - there are almost no files (except for <privately mounted> tmpfs, and a few utilities) on the localhost a user accesses directly. PAM can do this all very well. I thought I could just reuse the existing login program, just with longer username buffer. Looks like my suggestion is not acceptable... Thanks. -- Dmitry Golubovsky Anywhere on the Web _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
