diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog index 4ee34256fe..5599427955 100644 --- a/cpukit/libnetworking/ChangeLog +++ b/cpukit/libnetworking/ChangeLog @@ -1,3 +1,8 @@ +2002-10-02 Eric Norum + + * rtems/mkrootfs.c: As part of PR283, remove redundant code that + creates /etc/passwd and /etc/group. + 2002-09-16 Joel Sherrill * netinet/Makefile.am, netinet/udp_usrreq.c: Back off some of diff --git a/cpukit/libnetworking/rtems/mkrootfs.c b/cpukit/libnetworking/rtems/mkrootfs.c index eff49ff9a0..de258fc813 100644 --- a/cpukit/libnetworking/rtems/mkrootfs.c +++ b/cpukit/libnetworking/rtems/mkrootfs.c @@ -310,21 +310,6 @@ rtems_create_root_fs () default_directories[i].mode)) return -1; - /* - * /etc/passwd, /etc/group - * Maybe needed by some tools. - */ - - lines[0] = "root::0:0:root:/root:/bin/sh\n"; - - if (rtems_rootfs_file_append ("/etc/passwd", MKFILE_MODE, 1, lines)) - return -1; - - lines[0] = "root::0:root\n"; - - if (rtems_rootfs_file_append ("/etc/group", MKFILE_MODE, 1, lines)) - return -1; - /* * The TCP/IP stack likes this one. If DNS does not work * use the host file.