mentby.com
Blog | Jobs | Help | Signup | Login
loading
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."
Last week I was able to run alsamixer as a user on the Sony Vaio; this

-- It's not clear whether or not the alsamixer executable file actually
exists because you say root has no problems and the user perms are set to
755. Is there an alsamixer file in  /usr/bin that can be executed as the
root user?

As a test can you execute "amixer" as a non-root user?

Read more »

<snip>
   I'd like to set things up so that

-- I typed "smb password windows 7 ubuntu 10.04" into the Google search
bar. This was the 2nd hit. After a cursory review of the article, it seems
very applicable and and also very well documented.

"Now I made complete tutorial on samba configuration to share you data from
Ubuntu to Windows and also Windows to Ubuntu. Share data from Linux Ubuntu
with/without permissions. Permission is up to you, if you want to set
permission or not."

http://www.noobslab.com/2012/03/configure-samba-sharing-betw[..]