In Ubuntu the first user you create will have special privileges. This happens during the installation, at the step when you create the first user account, Ubuntu adds that user to several system groups to grant some special privileges such us running sudo, mount cdrom and usb drives. In particular the default system groups at the time of this writing: adm dialout cdrom plugdev lpadmin admin sambashare.
What if you want to add another user the same special privileges, for example to let your wife install packages and do other administrative stuff. Yeah I know it sounds crazy. Maybe think again. If you still want to do this, this one-liner will do:
for i in $(grep :boss /etc/group | cut -f1 -d:); do
sudo adduser wife $i; done
If you want to exclude some groups:
for i in $(grep :user1 /etc/group | cut -f1 -d: | grep -v adm); do
sudo adduser user2 $i; done
On most keyboards the CapsLock is at the perfect location for a Control key, something I use much more often, so the first thing I do after installing a new system is remap CapsLock to be a Control key instead.
I had a hard time finding this option in KDE4.
It’s in System Settings / Regional & Language
It would have been more intuitive in Keyboard & Mouse …
I needed mpg123 to burn an audio CD with cdrecord on my Fedora 11 system at home. Since it’s not in Fedora’s standard repos, googled for it, and found this.
So far so good, I just needed a few more libraries as dependencies, however, the package names were not really intuitive.
- libartsc – arts
- libaudio – nas-libs
- libportaudio – portaudio
It was mere luck that first I looked for libportaudio, and tried simply “portaudio” for little logical reason. Following the same package naming logic I could find “arts”. Finally found “nas-libs” with google.