Quote |
Sep 12 16:54:47 box authpriv.info usermod[1223]: add `dsl' to group `lp' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `dialout' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `fax' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `voice' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `cdrom' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `floppy' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `tape' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `sudo' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `audio' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `dip' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `video' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `games' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `users' Sep 12 16:54:47 box authpriv.info usermod[1223]: delete `dsl' from group `usb' Sep 12 16:54:47 box authpriv.info usermod[1223]: add `dsl' to shadow group `lp' |
Code Sample |
$ sudo usermod -a -G lp dsl usermod: invalid option -- a usage: usermod [-u uid [-o]] [-g group] [-G group,...] [-d home [-m]] [-s shell] [-c comment] [-l new_name] [-f inactive] [-e expire ] [-p passwd] [-L|-U] name |