Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 1998 20:54:20 +0200
From:      Ruslan Shevchenko <Ruslan@Shevchenko.kiev.ua>
To:        Alexandre Snarskii <snar@paranoia.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Is FreeBSD UNIX?
Message-ID:  <34BE5B59.978C9A21@Shevchenko.kiev.ua>
References:  <Pine.3.89.9801151337.A21235-0100000@netcom18> <34BE2D83.36F7DA23@Shevchenko.kiev.ua> <19980116185037.17831@nevalink.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexandre Snarskii wrote:

> On Thu, Jan 15, 1998 at 05:38:44PM +0200, Ruslan Shevchenko wrote:
> ?
> ? http://www.xopen.org for references.
> ?
> ? Look at http://UNIX-systems.org  for online single-unix specification.
> ?
> ? FreeBSD is not full compability with standart, (for example  have no
> ? uid_t and gid_t),
>
> Really ? :)
> bash# grep uid_t /usr/include/sys/types.h
> typedef unsigned long   uid_t;          /* user id */
> bash# grep gid_t /usr/include/sys/types.h
> typedef unsigned long   gid_t;          /* group id */
>

Hmm, it means that FreeBSD have "internal standart bugs"

definition from ?pwd.h>:
 (on 2.2-STABLE:

struct passwd {
        char    *pw_name;               /* user name */
        char    *pw_passwd;             /* encrypted password */
        int     pw_uid;                 /* user uid */
        int     pw_gid;                 /* user gid */
        time_t  pw_change;              /* password change time */
        char    *pw_class;              /* user access class */
        char    *pw_gecos;              /* Honeywell login info */
        char    *pw_dir;                /* home directory */
        char    *pw_shell;              /* default shell */
        time_t  pw_expire;              /* account expiration */
        int     pw_fields;              /* internal: fields filled in */
};

}

SUID requirements:

      char    *pw_name   user's login name
      uid_t    pw_uid    numerical user ID
      gid_t    pw_gid    numerical group ID
      char    *pw_dir    initial working directory
      char    *pw_shell  program to use as shell


send_pr ?

P.S. I add hackers in CC --- may be anybody from commiters want to fix
this  ;)

> FreeBSD 2.1.5 - i have no older one installed about...
> But, if you really interested, i can check 1.1.5.1 -
> there are old CD on the wall.. .
> --
> Alexandre Snarskii
> the source code is included



--

    @=
     //RSSH                              mailto://Ruslan@Shevchenko.Kiev.UA






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34BE5B59.978C9A21>