Author Topic: Customizing Linux On Zaurus  (Read 5830 times)

Storm

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • http://
Customizing Linux On Zaurus
« on: March 31, 2005, 04:22:41 pm »
I was wondering what effects on Zaurus apps that customizing certain aspects of the Linux installation on the Zaurus would have. I know the hostname shouldn't matter, but what about changing the username/UID/GID for the user zaurus? I'm guessing for application purposes, the GID needs to be 0, but do apps use the name or UID for anything?

Thanks,
--Storm
Zaurus SL-5500/Hentges OZ 3.5.4.1
Ambicom WL1100-CF wireless card
Desktop: Debian/GNU Linux (unstable)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Customizing Linux On Zaurus
« Reply #1 on: March 31, 2005, 04:28:57 pm »
Until you know a lot about it I would suggest don't.

The important UID/GID other than root (0) is zaurus:qpe or 500:500 respectively.

The permission set over the QtPalmtop directories is set using those UID/GIDs and if you  changed the UID/GID then you will lose access to that.

Also the qpe startup scripts launch Qtopia with the user name zaurus as a parameter.

...there again you might be quite comfortable with a prompt and vi.. apm -s might come in handy  lol.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Customizing Linux On Zaurus
« Reply #2 on: April 07, 2005, 06:44:35 pm »
You cannot change uid for root (0) but you can for zaurus if you know what you are doing and do the appropriate chown to the files afterwards. If you want to change the zaurus username then you will need to hack around and change a few scripts. There isn't much security this would add despite what some security howtos tell you unless you are using NIS on your network
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Customizing Linux On Zaurus
« Reply #3 on: April 08, 2005, 04:34:49 am »
Oh BTW: IPKs are tarballs carrying the installation tree of files.

If there are elements installed for 'user configuration' in an IPK then chances are that they are owned with UID:GID 500:500 (zaurus:qpe).

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Storm

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • http://
Customizing Linux On Zaurus
« Reply #4 on: April 08, 2005, 01:22:31 pm »
Quote
Oh BTW: IPKs are tarballs carrying the installation tree of files.

If there are elements installed for 'user configuration' in an IPK then chances are that they are owned with UID:GID 500:500 (zaurus:qpe).

- Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74202\"][{POST_SNAPBACK}][/a][/div]

Okay, cool. So I could change the user zaurus to, say, storm without any ill effects. The reason I would like to do this is a) so ssh works without having to change /etc/ssh/ssh_config on every box I have or typing ssh zaurus@collie every time; and  I want to keep my keys on the Z, including gpg keys, etc.

Thanks,
--Storm
Zaurus SL-5500/Hentges OZ 3.5.4.1
Ambicom WL1100-CF wireless card
Desktop: Debian/GNU Linux (unstable)