Where do I put commands that I want executed immediately after bootup? In suse, I put them in /etc/rc.d/boot.local, but debian has no such directory or file. OK, I lied. Here's the real question. I have two linux installations on the same box (suse 7.2 and debian woody). How do I arrange permissions so that I can access the user's (my) home directory in the other installation without rebooting to that other installation? I notice that when I look at the home directory on the other system, the owner is listed by the user number rather than the name, so what I've done is to create a user in debian whose name is the same as the suse number for the same user, so that user owns the suse user's home directory, then change permissions so all users can read/write that directory. That's pretty ugly, and I have to change permissions when I reboot suse. There's gotta be an easier, cleaner way. Thanks, Greg
If I didn't get you wrong, you can edit the /etc/passwd files in both distributions, and set the user ID(UID) and group ID(GID) to same numbers, here is a sample: debian:x:500:100:,,,:/home/penguen:/bin/bash where 500 is the UID and 100 is the GID baris On Mon, 2003-11-24 at 13:48, Gregory Avedissian wrote:
Where do I put commands that I want executed immediately after bootup? In suse, I put them in /etc/rc.d/boot.local, but debian has no such directory or file.
OK, I lied. Here's the real question. I have two linux installations on the same box (suse 7.2 and debian woody). How do I arrange permissions so that I can access the user's (my) home directory in the other installation without rebooting to that other installation?
I notice that when I look at the home directory on the other system, the owner is listed by the user number rather than the name, so what I've done is to create a user in debian whose name is the same as the suse number for the same user, so that user owns the suse user's home directory, then change permissions so all users can read/write that directory. That's pretty ugly, and I have to change permissions when I reboot suse. There's gotta be an easier, cleaner way.
Thanks,
Greg
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Thanks. That worked once I figured out how to deal with a couple of conflicting ID numbers and the fact that Debian puts the user in a private group with the same name as the user, while SuSE puts everyone in the user group. Greg Baris Hasdemir wrote:
If I didn't get you wrong, you can edit the /etc/passwd files in both distributions, and set the user ID(UID) and group ID(GID) to same numbers, here is a sample:
debian:x:500:100:,,,:/home/penguen:/bin/bash
where 500 is the UID and 100 is the GID
baris
On Mon, 2003-11-24 at 13:48, Gregory Avedissian wrote:
Where do I put commands that I want executed immediately after bootup? In suse, I put them in /etc/rc.d/boot.local, but debian has no such directory or file.
OK, I lied. Here's the real question. I have two linux installations on the same box (suse 7.2 and debian woody). How do I arrange permissions so that I can access the user's (my) home directory in the other installation without rebooting to that other installation?
I notice that when I look at the home directory on the other system, the owner is listed by the user number rather than the name, so what I've done is to create a user in debian whose name is the same as the suse number for the same user, so that user owns the suse user's home directory, then change permissions so all users can read/write that directory. That's pretty ugly, and I have to change permissions when I reboot suse. There's gotta be an easier, cleaner way.
Thanks,
Greg
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
As a cross ref, I just thought I'd mention an upcoming meeting of the J2ME User Group on Dec 4th at 6pm in Cambridge. The topic of the evening will be the Sharp Zaurus PDA (running Linux, of course) and how to get Java apps, especially networked apps, running on it. Please register at the web site if you intend to come. http://www.altisimo.com/sigj2me.shtml
On Mon, Nov 24, 2003 at 01:48:33PM -0500, Gregory Avedissian wrote:
Where do I put commands that I want executed immediately after bootup? In suse, I put them in /etc/rc.d/boot.local, but debian has no such directory or file.
I just created a file called /etc/rc.d/local and ran "update-rc.d local defaults 99" (man update-rc.d for details) I don't know if that's "right" or not, but I know it works.
I notice that when I look at the home directory on the other system, the owner is listed by the user number rather than the name, so what I've done is to create a user in debian whose name is the same as the suse number for the same user, so that user owns the suse user's home directory, then change permissions so all users can read/write that directory. That's pretty ugly, and I have to change permissions when I reboot suse. There's gotta be an easier, cleaner way.
You're right. You'll want to choose one single uid-to-username mapping and configure both systems to use it. You can change the numbers in /etc/passwd and /etc/group then chown all the user directories like you've just said. (But in this case, you do it just once.) -Chuck
participants (4)
-
Baris Hasdemir
-
Chuck Homic
-
Doug Chamberlin
-
Gregory Avedissian