[nmglug] Add User / KDE problems

Karl Hegbloom karlheg at laclinux.com
Thu Dec 30 01:10:24 PST 2004


On Wed, 2004-12-29 at 16:47 -0700, Jason Davis wrote:
> On Wed, 2004-12-29 at 12:25, Tim Emerick wrote:
> > I am using debian/testing and kde latest version.  I can not get any sound
> > when logged in as a regular user but I can when I log in as root.
> 
> put yourself in the audio group

While you're at it, you should also put yourself in: 

  cdrom     access to CD device
  dialout   access to modem for terminal use (minicom)
  dip       access to dial up IP (ppp, "pon", "poff")
  adm       access to log files in /var/log and /dev/xconsole (cat it)
  games     access to high score files for some games*

* Game playing can be restricted by group membership also.  See "man
dpkg-statoverrides".  It is probably also possible to make it so they
can only play during certain times of day, using PAM features.  See
"/etc/security/time.conf".

I would add myself to all the groups at once like this:

 Ubuntu (or Debian with sudo configured for you):

  for g in cdrom dialout dip adm games; do sudo adduser MYNAME $g; done

 For Debian with no 'sudo' configured, become root first with 'su -',
then run the same command but omit 'sudo' from the command inside the
loop.

'adduserng' looks promising.  There's a way to add "hook" scripts that
can automatically perform actions like the above when you create a new
user.

See: man adduser, man useradd   --> try not to get them confused!

Also see the "PAM" documentation. (google)







More information about the nmglug mailing list