Browse Source

corretto errore in defaultGroups non impostava i gruppi! sigh, spiacente

tags/v7.8.10
Piero Proietti 10 months ago
parent
commit
6cafedb665
4 changed files with 21 additions and 7 deletions
  1. +0
    -5
      g4/g4log
  2. +1
    -1
      src/classes/incubation/buster.ts
  3. +1
    -1
      src/classes/incubation/focal.ts
  4. +19
    -0
      src/classes/incubation/modules/users.ts

+ 0
- 5
g4/g4log View File

@@ -1,5 +0,0 @@
#!/bin/bash
sudo cp /var/log/$1 ~
sudo chown live:live ~/$1
code ~/$1


+ 1
- 1
src/classes/incubation/buster.ts View File

@@ -306,7 +306,7 @@ export class Buster {
moduleUsers() {
const users = yaml.safeDump({
userGroup: "users",
defaultGroup: [
defaultGroups: [
"cdrom", "floppy", "sudo", "audio", "dip", "video", "plugdev", "netdev", "lpadmin", "scanner", "bluetooth"
],
autologinGroup: "autologin",


+ 1
- 1
src/classes/incubation/focal.ts View File

@@ -384,7 +384,7 @@ export class Focal {
moduleUsers() {
const users = yaml.safeDump({
userGroup: "users",
defaultGroup: [
defaultGroups: [
"cdrom", "floppy", "sudo", "audio", "dip", "video", "plugdev", "netdev", "lpadmin", "scanner", "bluetooth"
],
autologinGroup: "autologin",


+ 19
- 0
src/classes/incubation/modules/users.ts View File

@@ -0,0 +1,19 @@
let text = ``
text += `---\n`
text += `userGroup: users\n`
text += `defaultGroups:\n`
text += ` - cdrom\n`
text += ` - floppy\n`
text += ` - sudo\n`
text += ` - audio\n`
text += ` - dip\n`
text += ` - video\n`
text += ` - plugdev\n`
text += ` - netdev\n`
text += ` - lpadmin\n`
text += ` - scanner\n`
text += ` - bluetooth\n`
text += `autologinGroup: autologin\n`
text += `sudoersGroup: sudo\n`
text += `setRootPassword: false\n`

Loading…
Cancel
Save