Author Topic: Su Problem  (Read 4255 times)

collywobbles

  • Newbie
  • *
  • Posts: 19
    • View Profile
Su Problem
« 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

collywobbles

  • Newbie
  • *
  • Posts: 19
    • View Profile
Su Problem
« Reply #1 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

KwaiFeh

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • http://
Su Problem
« Reply #2 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
SL-C3000. PDAir Leather case.  1 GB Sandisk Ultra-II SD, Linksys WCF12 Wifi.

"Achievement: You Can Do Anything You Set Your Mind To When You Have Vision, Determination, And An Endless Supply Of Cheap Labor" -Despair Calendar 2004

stilter

  • Newbie
  • *
  • Posts: 5
    • View Profile
Su Problem
« Reply #3 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]

collywobbles

  • Newbie
  • *
  • Posts: 19
    • View Profile
Su Problem
« Reply #4 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

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Su Problem
« Reply #5 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
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

collywobbles

  • Newbie
  • *
  • Posts: 19
    • View Profile
Su Problem
« Reply #6 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.

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Su Problem
« Reply #7 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
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

collywobbles

  • Newbie
  • *
  • Posts: 19
    • View Profile
Su Problem
« Reply #8 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

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Su Problem
« Reply #9 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
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card