Muszę jednemu użytkownikowi ustawić dostęp do polecenia:
Kod: Zaznacz cały
/etc/init.d/drbd status
Root - poprawnie
Kod: Zaznacz cały
/etc/init.d/drbd status
drbd driver loaded OK; device status:
version: 8.3.13 (api:88/proto:86-96)
m:res cs ro ds p mounted fstype
0:r0 Connected Secondary/Primary UpToDate/UpToDate C
1:r1 Connected Secondary/Primary UpToDate/UpToDate C
2:r2 Connected Secondary/Primary UpToDate/UpToDate C
3:r3 Connected Secondary/Primary UpToDate/UpToDate C
4:r4 Connected Secondary/Primary UpToDate/UpToDate C
5:r5 Connected Secondary/Primary UpToDate/UpToDate C
Użytkownik - niepoprawnie:
Kod: Zaznacz cały
m:res cs ro ds p mounted fstype
0:??not-found?? Connected Secondary/Primary UpToDate/UpToDate C
1:??not-found?? Connected Secondary/Primary UpToDate/UpToDate C
2:??not-found?? Connected Secondary/Primary UpToDate/UpToDate C
3:??not-found?? Connected Secondary/Primary UpToDate/UpToDate C
4:??not-found?? Connected Secondary/Primary UpToDate/UpToDate C
5:??not-found?? Connected Secondary/Primary UpToDate/UpToDate C