OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: collywobbles on April 15, 2005, 08:34:36 am

Title: Su Problem
Post by: collywobbles on April 15, 2005, 08:34:36 am
On my C3000 I open a terminal and run "su". I have no root password set and I get the following error:

su: cannot set groups: Operation not permitted

and it boots me back to the zaurus user prompt.

I have the original Sharp rom. I am guessing that some package installation has screwed something up as it worked fine last week! Any suggestions on how I fix this?

Thanks
Russell
Title: Su Problem
Post by: collywobbles on April 27, 2005, 11:32:30 am
*bump*

I've still got this problem. Any chance someone could upload their /etc/group file so that I can compare it to mine.

Thanks
Russell
Title: Su Problem
Post by: KwaiFeh on April 27, 2005, 06:33:56 pm
I´m not sure if this is what you want (i'm a linux n00b):

The root password is what you have to type to access your Zaurus if you put the lock on it when it turns back on.

if you can tell me what the filename is, i can try to send it to you when i get home.

-Alberto
Title: Su Problem
Post by: stilter on May 01, 2005, 06:16:17 pm
fwiw: etc/group dump from my C3000.
(a root passwd has been set)

Enzoy!

-----------------------
root:x:0:
wheel:x:10:
bin:x:1:bin,daemon
daemon:x:2:bin,daemon
sys:x:3:bin,adm
adm:x:4:adm,daemon
tty:x:5:
disk:x:6:
lp:x:7:daemon,lp
mem:x:8:
kmem:x:9:
operator:x:11:
uucp:x:14:uucp
dip:x:40:
utmp:x:45:
www:x:63:
nobody:x:65534:
users:x:100:
qpe:x:500:
-----------------------

Quote
*bump*

I've still got this problem. Any chance someone could upload their /etc/group file so that I can compare it to mine.

Thanks
Russell
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77147\"][{POST_SNAPBACK}][/a][/div]
Title: Su Problem
Post by: collywobbles on May 04, 2005, 06:23:09 am
Quote
fwiw: etc/group dump from my C3000.
(a root passwd has been set)

Enzoy!
Thanks for posting this, still no joy for me, same error. I am going to try one of the new roms (OZ or Cacko) now.

cheers
Russell
Title: Su Problem
Post by: iamasmith on May 04, 2005, 06:34:07 am
If you haven't already changed you may want to just check the ownership and permission set on /etc/passwd and /etc/group... respectively they are (Sharp ROM).

-rw-r--r-- root:root /etc/passwd
-rw-rw-r-- root:root /etc/group

- Andy
Title: Su Problem
Post by: collywobbles on May 04, 2005, 07:35:57 am
Quote
If you haven't already changed you may want to just check the ownership and permission set on /etc/passwd and /etc/group... respectively they are (Sharp ROM).

-rw-r--r-- root:root /etc/passwd
-rw-rw-r-- root:root /etc/group

- Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78169\"][{POST_SNAPBACK}][/a][/div]
Thanks for the suggestion, mine are both owned by user zaurus, but with group root.
R.
Title: Su Problem
Post by: iamasmith on May 04, 2005, 07:39:21 am
They should certainly be owned by root.

I would try changing that first and see if that gets rid of your problem. Many of the security bits actively check ownership to make sure files haven't been tampered with.

Andy
Title: Su Problem
Post by: collywobbles on May 04, 2005, 08:17:26 am
Quote
They should certainly be owned by root.

I would try changing that first and see if that gets rid of your problem. Many of the security bits actively check ownership to make sure files haven't been tampered with.

Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78181\"][{POST_SNAPBACK}][/a][/div]
Did that...same result. Thanks anyway, I'm going to try your new Cacko soon, only got an SD card this morning. I have been following its progress closely but I am trying to decide whether to wait for the next version or jump straight in now!
Cheers
Russell
Title: Su Problem
Post by: iamasmith on May 04, 2005, 08:22:41 am
If you want to try soon I would use the beta1.

I'm not throwing out complete updates every week since that would certainly annoy people because of the need to reinstall everything on each new install. (please read the README file).

There are some quickfix things being posted (just added the Battery/Overclock applet) and when we nail some of the more serious issues like euroclie's GPRS card issue then we will think about a beta2 etc.

- Andy