add NIS user to local group

This is a discussion on add NIS user to local group within the Linux Networking forums, part of the Linux Forums category; I simply need to add a NIS user to a local group (floppy, cdrom). Is this possible without spending an ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-18-2005
bmgz
 
Posts: n/a
Default add NIS user to local group

I simply need to add a NIS user to a local group (floppy, cdrom). Is
this possible without spending an hours worth of uid/gid BS?

I was hoping it would be something simple like:

local /etc/group:
....
floppy:x:25:user1,user2,+nisuser
cdrom:x:25:user1,user2,+nisuser
....

which obviously doesn't work. Any ideas?
Reply With Quote
  #2 (permalink)  
Old 08-20-2005
Hans-Juergen Lange
 
Posts: n/a
Default Re: add NIS user to local group

bmgz wrote:
> I simply need to add a NIS user to a local group (floppy, cdrom). Is
> this possible without spending an hours worth of uid/gid BS?
>
> I was hoping it would be something simple like:
>
> local /etc/group:
> ...
> floppy:x:25:user1,user2,+nisuser
> cdrom:x:25:user1,user2,+nisuser
> ...
>
> which obviously doesn't work. Any ideas?


Hi,

how you checked that it doesnt work?

BR
Hans-Juergen Lange
Reply With Quote
  #3 (permalink)  
Old 08-20-2005
bmgz
 
Posts: n/a
Default Re: add NIS user to local group

Hans-Juergen Lange wrote:
> bmgz wrote:
>
>> I simply need to add a NIS user to a local group (floppy, cdrom). Is
>> this possible without spending an hours worth of uid/gid BS?
>>
>> I was hoping it would be something simple like:
>>
>> local /etc/group:
>> ...
>> floppy:x:25:user1,user2,+nisuser
>> cdrom:x:25:user1,user2,+nisuser
>> ...
>>
>> which obviously doesn't work. Any ideas?

>
>
> Hi,
>
> how you checked that it doesnt work?
>
> BR
> Hans-Juergen Lange


MANUALLY editing the group file works fine. I just didn't want to b0rk
anything..
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:59 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0