Re: Debian 1.3 ignores more than 2 groups.
Pedro Sanchez [EMAIL PROTECTED] writes: However, when user-name logs in and types groups he gets, $ groups user-name dialout Where is dip? In fact, I tested by adding user-name to more groups but to my surprise groups always returns the same two groups! My first guess would be that this is due to corruption in the /etc/group file somewhere between the group dialout (which works) and the group dip (which doesn't). Depending on the C library version, a bad line may cause the remainder of the file to be ignored. Look carefully at the /etc/group file between dialout and dip. Make sure every line is valid, that no colon is missing or misplaced. For example, early versions of Debian had the following error in the /etc/group file: sudo:*:27 :audio:*:29: dip:*:30: The colon at the start of the audio line should have been at the end of the sudo line. Kevin [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Debian 1.3 ignores more than 2 groups.
Pedro Sanchez wrote: After this, /etc/group is ok, with user-name added where appropriate. However, when user-name logs in and types groups he gets, $ groups user-name dialout Where is dip? In fact, I tested by adding user-name to more groups but to my surprise groups always returns the same two groups! Odd: [EMAIL PROTECTED]:/groups joey dialout cdrom floppy tape dos users pub network Were you running X? I think you have to exit X and restart after adding a group. You may have to log out and back in even if you're just on the console, for the changes to take effect, but I'm not sure about that. -- see shy jo -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Debian 1.3 ignores more than 2 groups.
On Thu, Dec 11, 1997 at 07:18:16PM -0500, Joey Hess wrote: Where is dip? In fact, I tested by adding user-name to more groups but to my surprise groups always returns the same two groups! Odd: [EMAIL PROTECTED]:/groups joey dialout cdrom floppy tape dos users pub network Were you running X? I think you have to exit X and restart after adding a group. You may have to log out and back in even if you're just on the console, for the changes to take effect, but I'm not sure about that. You do. Hamish -- Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Debian 1.3 ignores more than 2 groups.
That's it. I have to logout and login again for the new groups to take effect. I wasn't using X, just the console. Thank you for your answers. P. Sanchez -- In message Debian 1.3 ignores more than 2 groups., [EMAIL PROTECTED] writes: On Thu, Dec 11, 1997 at 07:18:16PM -0500, Joey Hess wrote: Where is dip? In fact, I tested by adding user-name to more groups but to my surprise groups always returns the same two groups! Odd: [EMAIL PROTECTED]:/groups joey dialout cdrom floppy tape dos users pub network Were you running X? I think you have to exit X and restart after adding a group. You may have to log out and back in even if you're just on the console, for the changes to take effect, but I'm not sure about that. You do. Hamish -- Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Debian 1.3 ignores more than 2 groups.
Hello, I have a fresh Debian 1.3 minimal installation, just the base packages and two or three more. As root I do # addgroup user-name dialout -- user user-name added to group dialout # addgroup user-name dip -- user user-name added to group dip After this, /etc/group is ok, with user-name added where appropriate. However, when user-name logs in and types groups he gets, $ groups user-name dialout Where is dip? In fact, I tested by adding user-name to more groups but to my surprise groups always returns the same two groups! I want user-name to have access to some utilities and I want to control this by adding him to several groups. But this doesn't work. Not only the groups command doesn't see the extra groups, but user-name is refused access to the utilities he is suppose to have access to. Any ideas? Can anybody try this out to see what you get? Thank you, P. Sanchez -- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .