Thank you Michael. I have used fcopy to copy the sudoers file. I have also created a admin group who has the right to connect with sudo and added the user student to the group admin. I want just to specify that certain scripts provided with FAI fail during installation with exit code 1.
2011/2/7 Michael Tautschnig <[email protected]> > > Thank you Michael, i have customized the script scripts/DEMO/10-misc. > > But may i add the line "$ROOT_CMD adduser student sudo" at the end of > this > > script > > if i want after installation the user student will be in the sudoers > file. > > [...] > > User student will be in group sudo with this command, but that means just > about > nothing if your /etc/sudoers isn't providing a corresponding configuration > for > this group. You'll have to install a suitable /etc/sudoers file. See man > sudoers > for details about the syntax. > > Best regards, > Michael > >
