LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 02-15-2011, 09:53 AM   #1
_spectrum_
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Rep: Reputation: 0
romfs and su


hi all,

i am working actually on a custom ColdFire MCF5307 board,
uClinux version 2.6.36.2 (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,

[SUID]
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.

regards,
angelo
 
  


Reply


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


All times are GMT -5. The time now is 02:23 AM.

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