/usr/bin/alsamixer: file not found (for user) [FIXED]
Wed, 20 Mar 2013 11:45:10 -0700 Post Comments
Since Linux is a not thankfully not M$ Windoze, I wondered why you
would have to force user to logout to affect this change. If one did
this as a Linux Admin where developers were knee deep in work this
would not be very well received.
The way to do this without disrupting the user is to use the "newgrp" command:
$newgrp - audio
"The newgrp command is used to change the current group ID during
a login session.
If the optional - flag is given, the user's environment will be
reinitialized as
though the user had logged in, otherwise the current
environment, including
current working directory, remains unchanged.
newgrp changes the current real group ID to the named group, or
to the default
group listed in /etc/passwd if no group name is given. newgrp
also tries to add
the group to the user groupset."
would have to force user to logout to affect this change. If one did
this as a Linux Admin where developers were knee deep in work this
would not be very well received.
The way to do this without disrupting the user is to use the "newgrp" command:
$newgrp - audio
"The newgrp command is used to change the current group ID during
a login session.
If the optional - flag is given, the user's environment will be
reinitialized as
though the user had logged in, otherwise the current
environment, including
current working directory, remains unchanged.
newgrp changes the current real group ID to the named group, or
to the default
group listed in /etc/passwd if no group name is given. newgrp
also tries to add
the group to the user groupset."
