lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 26 Nov 2008 11:27:33 +0000
From:	Mark Jackson <mpfj@...c.co.uk>
To:	"H. Peter Anvin" <hpa@...or.com>
CC:	linux-kernel@...r.kernel.org, mrustad@...il.com
Subject: Re: Help using initramfs

Mark Jackson wrote:

<snip>

> My next problem is this ... below is a copy of my /init script ...
> 
> #!/bin/sh
> #Mount things needed by this script
> mount -t proc proc /proc
> mount -t sysfs sysfs /sys
> mdev -s
> echo "wibble"
> echo "qwerty" > /dev/console
> exec /sbin/init
> exit 0
> 
> And this is the console output ...
> 
> mount: permission denied. (are you root?)
> mount: permission denied. (are you root?)

<snip>

> Does /init not inherently run as root ?
> 
> If not, how do I fix the problem ?

Doh ... fixed.

I didn't had busybox owner set to root.

I'm now up and running !!

Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ