Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 02-15-2011, 09:53 AM   #1
Registered: Jun 2009
Posts: 34

Rep: Reputation: 4
romfs and su

hi all,

i am working actually on a custom ColdFire MCF5307 board,
uClinux version (angelo@angel7) (gcc version 4.2.4) #45 PREEMPT Mon Feb 14 09:50:19 CET 2011

I have 2 users, root and test, and 2 groups, also root and test. Login works properly for both.
I tried tinylogin "su" and busybox "su", but there is no way to "su root" from "test".

i get "initgroups: Operation not permitted"

I also tried busybox.conf and [SUID] section, enabling SUID/SGID handling in the config,

su = ssx root.root

but trying to "su root" i have now a different permission error, this time by "setresgid", and still cannot su root.

Seems that "su" application must have "setuid" bit set (+s), but romfs don't allow this.
So i suspect using "su root" with romfs is not possible.

Every help is appreciated.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
no filesystem could mount root,tried: romfs kernel panic - not syncing: vfs: unable t Mrenigma Slackware 2 03-23-2010 12:47 AM
No filesystem could mount root, tried: cramfs squashfs romfs kkpal Linux - Distributions 0 01-09-2008 01:49 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 03:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration