Hello, We have some computers from a lab that the operating system is ubuntu and are in the domain. I need the "alunos" group to have permissions in the tty and dialout group, since they need to use some arduinos. I have tried the following: net groupmap add ntgroup=alunos sid=1121 type=domain unixgroup=tty net groupmap add ntgroup=alunos sid=1121 type=domain unixgroup=dialout But only maps the dialout. Is there another way to do this? -- Elias Pereira
On 04/06/2019 14:51, Elias Pereira via samba wrote:> Hello, > > We have some computers from a lab that the operating system is ubuntu and > are in the domain. > > I need the "alunos" group to have permissions in the tty and dialout group, > since they need to use some arduinos. > > I have tried the following: > > net groupmap add ntgroup=alunos sid=1121 type=domain unixgroup=tty > net groupmap add ntgroup=alunos sid=1121 type=domain unixgroup=dialout > > But only maps the dialout. > > Is there another way to do this? >The syntax is 'rid=int|sid=string', you seem to have mixed them up, '1121' is undoubtedly a RID Rowland
Mandi! Elias Pereira via samba In chel di` si favelave...> Is there another way to do this?For this task normally i use 'pam_group': https://linux.die.net/man/8/pam_group -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)