diff options
author | Phil Blundell <philb@gnu.org> | 2004-07-04 12:57:47 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-07-04 12:57:47 +0000 |
commit | 5abdcf5b3df201622ffa824fa0d5af8a6402afe4 (patch) | |
tree | 1961e440dd749898d70feedada62a2227dc78d9a /meta/gpe-image.oe | |
parent | 7e981888d7437dfd016c8d671743b549b3bddf71 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into dixie.nexus.co.uk:/home/pb/oe/oe-packages
2004/07/04 13:57:37+01:00 nexus.co.uk!pb
disable root logins initially in gpe-image
BKrev: 40e7fecb8nt2kHw6tyKoOOmLgxDSZw
Diffstat (limited to 'meta/gpe-image.oe')
-rw-r--r-- | meta/gpe-image.oe | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/gpe-image.oe b/meta/gpe-image.oe index 6998873f66..04d830c775 100644 --- a/meta/gpe-image.oe +++ b/meta/gpe-image.oe @@ -8,4 +8,11 @@ export IPKG_INSTALL = 'task-bootstrap xserver-kdrive-fbdev \ gpe ttf-bitstream-vera pango-module-basic-x pango-module-basic-fc \ glibc-gconv glibc-gconv-iso8859-1 gdk-pixbuf-loader-png' +zap_root_password () { + sed 's%^root:[^:]*:%root:*:%' < ${IMAGE_ROOTFS}/etc/passwd >${IMAGE_ROOTFS}/etc/passwd.new + mv ${IMAGE_ROOTFS}/etc/passwd.new ${IMAGE_ROOTFS}/etc/passwd +} + +IMAGE_POSTPROCESS_COMMAND = "zap_root_password" + inherit image_ipk |