Re: Group ID conflicts between different distros: how to manage them with NIS?

2018-08-20 Thread Joao Roscoe
Excellent. Time to read about udev. Will do my homework, try a few tests, and will get back with results and, possibly, more questions :-D Thank you, everybody for your valuable help (and time). Best regards, João On Mon, Aug 20, 2018 at 2:54 AM Reco wrote: > Hi. > > On Mon, Aug 20, 201

Re: Group ID conflicts between different distros: how to manage them with NIS?

2018-08-19 Thread Reco
Hi. On Mon, Aug 20, 2018 at 12:51:24AM -0300, Joao Roscoe wrote: > Hmmm... > > If I create a NIS group (with a high ID), called serial_ports, dhould I > just, as root, chgrp /dev/ttyS0 so that it's group is serial_ports ? You could, and it may even work, but it would be temporary. To mak

Re: Group ID conflicts between different distros: how to manage them with NIS?

2018-08-19 Thread Joao Roscoe
Hmmm... If I create a NIS group (with a high ID), called serial_ports, dhould I just, as root, chgrp /dev/ttyS0 so that it's group is serial_ports ? João On Sun, Aug 19, 2018 at 12:47 PM Michael Stone wrote: > On Fri, Aug 17, 2018 at 02:48:56PM -0300, Joao Roscoe wrote: > >Right, that's best p

Re: Group ID conflicts between different distros: how to manage them with NIS?

2018-08-19 Thread Michael Stone
On Fri, Aug 17, 2018 at 02:48:56PM -0300, Joao Roscoe wrote: Right, that's best practice. But, what if I need to include a user who is defined in NIS in lp or ttyS0 group? Would going into /etc/group in *every* machine be unavoidable? That's one option. Another would be to create new centrally

Re: Group ID conflicts between different distros: how to manage them with NIS?

2018-08-17 Thread deloptes
Joao Roscoe wrote: > But, what if I need to include a user who is defined in NIS in lp or ttyS0 > group? Would going into /etc/group in *every* machine be unavoidable? your print server will be the only one to consider for lp group for example or just do something with ansible or puppet or what

Re: Group ID conflicts between different distros: how to manage them with NIS?

2018-08-17 Thread Joao Roscoe
Right, that's best practice. But, what if I need to include a user who is defined in NIS in lp or ttyS0 group? Would going into /etc/group in *every* machine be unavoidable? João On Fri, Aug 17, 2018 at 1:42 PM Greg Wooledge wrote: > On Fri, Aug 17, 2018 at 01:27:32PM -0300, Joao Roscoe wrote:

Re: Group ID conflicts between different distros: how to manage them with NIS?

2018-08-17 Thread Greg Wooledge
On Fri, Aug 17, 2018 at 01:27:32PM -0300, Joao Roscoe wrote: > However, it will not solve the problem on how to centrally manage system > resources access across distros. You don't manage OS-specific (or "distro"-specific if you prefer that term) group IDs in a network database. Those are managed

Re: Group ID conflicts between different distros: how to manage them with NIS?

2018-08-17 Thread Joao Roscoe
You are right, I forgot to state that yes, I do use NFS to share files - great tip, this GID / UID remapping thing - thanks a lot. However, it will not solve the problem on how to centrally manage system resources access across distros. Joao On Fri, Aug 17, 2018 at 10:49 AM wrote: > -BEGIN

Re: Group ID conflicts between different distros: how to manage them with NIS?

2018-08-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Aug 17, 2018 at 10:36:38AM -0300, Joao Roscoe wrote: > I have redhat and debian machines in the same network. Users and groups are > controlled via NIS > > I have realized that redhat and debian have different groups definitions > for system r

Re: Group ID conflicts between different distros: how to manage them with NIS?

2018-08-17 Thread Michael Stone
On Fri, Aug 17, 2018 at 10:36:38AM -0300, Joao Roscoe wrote: What would be the best way to manage this (other than managing groups on machines themselves, individually)? Different NIS domains for different distros? Is there any tutorial on managing multiple domains on the same NIS server, out the

Group ID conflicts between different distros: how to manage them with NIS?

2018-08-17 Thread Joao Roscoe
I have redhat and debian machines in the same network. Users and groups are controlled via NIS I have realized that redhat and debian have different groups definitions for system resources access control. For instance, redhat machines have group lp with GID 4, while debian states that lp group is

Re: nis user and group id conflicts with user and group id for libuuid on nis client

2008-10-22 Thread Boyd Stephen Smith Jr.
On Wednesday 22 October 2008, BERGY <[EMAIL PROTECTED]> wrote about 'nis user and group id conflicts with user and group id for libuuid on nis client': >I added a nis user 'sushmita' on the server. The server is running >cent os. She can login on the server (nat

nis user and group id conflicts with user and group id for libuuid on nis client

2008-10-22 Thread BERGY
Dear All, subject: user and group id for nis user conflicts with user and group d for libuuid on client running debian lenny We are having nfs + nis setup at our workplace. I added a nis user 'sushmita' on the server. The server is runni

Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-07-05 Thread David Barrett
Ok, so I have definitely confirmed that: 1) Both the db and www chroot periodically break 2) When broken, the www chroot can't send email from PHP 3) Each can be fixed by chrooting in with "ls /etc/group /etc/passwd" 4) Fixing one doesn't fix the other 5) Once the www chroot is fixed, PHP can sen

Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-07-02 Thread Daniel Burrows
On Wed, Jul 02, 2008 at 05:38:50PM -0700, David Barrett <[EMAIL PROTECTED]> was heard to say: > Wow, great observation: doing a "ls" of /etc/group and /etc/passwd fixes > it. How incredibly strange: I'd go for "jawdroppingly bizarre" myself. The only other thing I can think of is that may

Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-07-02 Thread David Barrett
Wow, great observation: doing a "ls" of /etc/group and /etc/passwd fixes it. How incredibly strange: [EMAIL PROTECTED] svn]# chroot staging/db id: cannot find name for group ID 0 id: cannot find name for group ID 1 id: cannot find name for group ID 2 id: cannot find name for gro

Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-06-30 Thread Daniel Burrows
On Mon, Jun 30, 2008 at 01:12:34PM -0700, David Barrett <[EMAIL PROTECTED]> was heard to say: > Basically, I go into staging/www, and it works fine. Then I go into > staging/db, and it has the problem. I immediately check the group > permissions, and note that now group IDs are being resolve

Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-06-30 Thread David Barrett
0 07:15:52 2008 from c-98-207-97-133.hsd1.ca.comcast.net [EMAIL PROTECTED] ~]# cd /svn [EMAIL PROTECTED] svn]# chroot staging/www [EMAIL PROTECTED]:/# exit [EMAIL PROTECTED] svn]# chroot staging/db id: cannot find name for group ID 0 id: cannot find name for group ID 1 id: cannot find name for gro

Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-06-30 Thread Daniel Burrows
On Mon, Jun 30, 2008 at 12:06:02AM -0700, David Barrett <[EMAIL PROTECTED]> was heard to say: > [EMAIL PROTECTED] svn]# chroot staging/www > id: cannot find name for group ID 0 > id: cannot find name for group ID 1 > id: cannot find name for group ID 2 > id: cannot find nam

Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-06-30 Thread David Barrett
d: Last login: Sun Jun 29 02:31:35 2008 from 99-204-40-118.area1.spcsdns.net [EMAIL PROTECTED] ~]# chroot /svn/staging/ [EMAIL PROTECTED] ~]# cd /svn [EMAIL PROTECTED] svn]# chroot staging/www id: cannot find name for group ID 0 id: cannot find name for group ID 1 id: cannot find name for group

Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-06-29 Thread Daniel Burrows
On Mon, Jun 30, 2008 at 10:42:53AM +0800, paragasu <[EMAIL PROTECTED]> was heard to say: > can you give the output of cat > /etc/group Actually, you don't want to do that since it will erase your group file! I think that the contents of /etc/group and /etc/nsswitch.conf, both when the system

Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-06-29 Thread paragasu
t; > [EMAIL PROTECTED] svn]# chroot staging/www > id: cannot find name for group ID 0 > id: cannot find name for group ID 1 > id: cannot find name for group ID 2 > id: cannot find name for group ID 3 > id: cannot find name for group ID 4 > id: cannot find name for group ID 6 > id: c

Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-06-29 Thread David Barrett
Can you suggest why I'm seeing the following error when entering a debootstrap chroot on a Fedora host, and why it spontaneously disappears a few minutes later? [EMAIL PROTECTED] svn]# chroot staging/www id: cannot find name for group ID 0 id: cannot find name for group ID 1 id: cannot

Re: Group ID

2003-02-19 Thread Russell Shaw
Michael Wardle wrote: On Thursday, February 20, 2003 08:14, Russell Shaw wrote: I set them all to my own user:group, but mozilla seems to have some 'stuck' settings. I found a useful command is: ps -eo pid,user,euser,fuser,group,egroup,fgroup,cmd Ah! So you're trying to set the correct

Re: Group ID

2003-02-19 Thread Russell Shaw
Michael Wardle wrote: On Thursday, February 20, 2003 08:14, Russell Shaw wrote: Colin Watson wrote: On Thu, Feb 20, 2003 at 03:04:25AM +1100, Russell Shaw wrote: If i had to regenerate a config file that a program uses, is it possible to detect what GID the program uses if it is se

Re: Group ID

2003-02-19 Thread Michael Wardle
On Thursday, February 20, 2003 08:14, Russell Shaw wrote: > Colin Watson wrote: > >On Thu, Feb 20, 2003 at 03:04:25AM +1100, Russell Shaw wrote: > >>If i had to regenerate a config file that a program uses, is it > >> possible to detect what GID the program uses if it is set from > >> within the pr

Re: Group ID

2003-02-19 Thread Russell Shaw
Colin Watson wrote: On Thu, Feb 20, 2003 at 03:04:25AM +1100, Russell Shaw wrote: If i had to regenerate a config file that a program uses, is it possible to detect what GID the program uses if it is set from within the program? Any particular reason it can't just be root:root -rw-r--r--

Re: Group ID

2003-02-19 Thread Colin Watson
On Thu, Feb 20, 2003 at 03:04:25AM +1100, Russell Shaw wrote: > If i had to regenerate a config file that a program uses, is it possible to > detect what GID the program uses if it is set from within the program? Any particular reason it can't just be root:root -rw-r--r-- (if it's in /etc) or owne

Re: Group ID

2003-02-18 Thread Richard Hector
On Thu, Feb 20, 2003 at 03:04:25AM +1100, Russell Shaw wrote: > > If i had to regenerate a config file that a program uses, is it possible to > detect what GID the program uses if it is set from within the program? If it changes its gid, you could watch for a call to setgid with strace. Richard

Re: Group ID

2003-02-18 Thread Michael Wardle
On Thursday, February 20, 2003 03:04, Russell Shaw wrote: > If i had to regenerate a config file that a program uses, is it > possible to detect what GID the program uses if it is set from within > the program? I think the easiest way(s) would be: 1. read the documentation 2. look at that config f

Re: Group ID

2003-02-18 Thread Russell Shaw
Michael Wardle wrote: On Thursday, February 20, 2003 01:05, Russell Shaw wrote: When a program access a config file, does it use the group ID of the programs own binary, or can it be set differently from within the program? If the SGID bit is not set on the executable (normal), the

Re: Group ID

2003-02-18 Thread Michael Heironimus
On Thu, Feb 20, 2003 at 01:05:56AM +1100, Russell Shaw wrote: > When a program access a config file, does it use the group ID of the > programs own binary, or can it be set differently from within the > program? Is there a way to check what group ID a program is using > or going to u

Re: Group ID

2003-02-18 Thread Michael Wardle
On Thursday, February 20, 2003 01:05, Russell Shaw wrote: > When a program access a config file, does it use the group ID of the > programs own binary, or can it be set differently from within the > program? If the SGID bit is not set on the executable (normal), the program inh

Group ID

2003-02-18 Thread Russell Shaw
Hi, When a program access a config file, does it use the group ID of the programs own binary, or can it be set differently from within the program? Is there a way to check what group ID a program is using or going to use? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: devfs changing group id for device

2002-09-19 Thread Dave Carrigan
On Thu, 2002-09-19 at 06:23, Lance Hoffmeyer wrote: > How do I change the group ID for a device with devfs? > Right now my scanner is on: > crwx--1 root root 21, 1 Dec 31 1969 >/dev/scsi/host0/bus0/target5/lun0/generic > > I have to go in and chmod 777 to

devfs changing group id for device

2002-09-19 Thread Lance Hoffmeyer
How do I change the group ID for a device with devfs? Right now my scanner is on: crwx--1 root root 21, 1 Dec 31 1969 /dev/scsi/host0/bus0/target5/lun0/generic I have to go in and chmod 777 to run the scanner as a user. I would like to set the device up as crwxrwx--- and

Re: Setting the group ID on execution on directories

2000-11-06 Thread Colin Watson
[EMAIL PROTECTED] wrote: >I have seen Debian's default behaviour is to set the group ID on >execution on directories. I don't really understand the effect this >has, could somebody please explain me? Looking in 'info chmod', 'File permissions', 'Mode st

Setting the group ID on execution on directories

2000-11-06 Thread Daniel de los Reyes
Hi I have seen Debian's default behaviour is to set the group ID on execution on directories. I don't really understand the effect this has, could somebody please explain me? -- Daniel de los Reyes [EMAIL PROTECTED]