OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Customizing Linux On Zaurus
Storm
post Mar 31 2005, 01:22 PM
Post #1





Group: Members
Posts: 156
Joined: 29-March 05
From: Virginia
Member No.: 6,736



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
Go to the top of the page
 
+Quote Post
iamasmith
post Mar 31 2005, 01:28 PM
Post #2





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



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 wink.gif lol.

- Andy
Go to the top of the page
 
+Quote Post
Meanie
post Apr 7 2005, 02:44 PM
Post #3





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



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
Go to the top of the page
 
+Quote Post
iamasmith
post Apr 8 2005, 12:34 AM
Post #4





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



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
Go to the top of the page
 
+Quote Post
Storm
post Apr 8 2005, 09:22 AM
Post #5





Group: Members
Posts: 156
Joined: 29-March 05
From: Virginia
Member No.: 6,736



QUOTE(iamasmith @ Apr 8 2005, 04:34 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
*


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 cool.gif I want to keep my keys on the Z, including gpg keys, etc.

Thanks,
--Storm
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th September 2014 - 01:48 PM