add printeri nstructions
This commit is contained in:
12
README.md
12
README.md
@@ -36,4 +36,16 @@ sudo pam-auth-update
|
|||||||
Make sure everything saved
|
Make sure everything saved
|
||||||
```bash
|
```bash
|
||||||
echo "account required pam_access.so" | sudo tee -a /etc/pam.d/common-account
|
echo "account required pam_access.so" | sudo tee -a /etc/pam.d/common-account
|
||||||
|
```
|
||||||
|
|
||||||
|
## Printer stuff
|
||||||
|
|
||||||
|
enable sharing to remotes
|
||||||
|
```bash
|
||||||
|
sudo cupsctl --share-printers --remote-admin --remote-any
|
||||||
|
```
|
||||||
|
|
||||||
|
add user to admin
|
||||||
|
```bash
|
||||||
|
sudo usermod -aG lpadmin $USER
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user