refs #4550 user admin added to lpadmin group
gitea/printnatura/pipeline/head This commit looks good Details

This commit is contained in:
Guillermo Bonet 2022-11-21 08:07:04 +01:00
parent fc81e68f52
commit e8d2b3bd5d
3 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,7 @@ salix:
url: http://localhost:3000 url: http://localhost:3000
user: user user: user
password: password password: password
# Printers with cutter (no print) # Excluded printers
printers: printers:
- labeler43 - labeler43
- labeler45 - labeler45

View File

@ -9,7 +9,7 @@ salix:
url: http://localhost:3000 url: http://localhost:3000
user: user user: user
password: password password: password
# Printers with cutter (no print) # Excluded printers
printers: printers:
- labeler43 - labeler43
- labeler45 - labeler45

View File

@ -1,6 +1,8 @@
#!/bin/bash #!/bin/bash
useradd admin
echo "admin:$CUPS_PASSWORD" | chpasswd echo "admin:$CUPS_PASSWORD" | chpasswd
usermod -g lpadmin admin
cupsd cupsd
exec $@ exec $@