Re: [LAU] getting sound working -- user id problems

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rustom Mody <rustompmody@...>
Cc: lau <linux-audio-user@...>
Date: Monday, May 19, 2014 - 9:07 am

On 19 May 2014 14:38, Rustom Mody wrote:

The usual way to do this is to use the usermod command -u and -g to
change UID and GID for all the /etc database files and files in the
users home directory, . This is what you should have done on the Deb64
system. Read the man page warnings first. So you could undo what you
did and then run:

# usermod -u -g

Just make sure that you dont use a value that collides with one
that was already in use in that database. Specific example, dont do
'usermod -u 1001 -g 1001 ' on the Deb64 system if 1001 is
already in use on the Deb64 system.

(all examples are untested)

You can see the numeric values with 'ls -n'

Check /etc/passwd and /etc/groups, and check first with

# find / -user
# find / -group

The <...> values can be symbolic or numeric.

To change the ownership of files outside of the home directory you can
either use 'find' like:

# find -user -group -execdir chown -c
: '{}' \;

Or you can use 'chown' recursively like

# cd && chown -c -R --from=: : *
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] getting sound working -- user id problems, Rustom Mody, (Mon May 19, 4:39 am)
Re: [LAU] getting sound working -- user id problems, David, (Mon May 19, 9:07 am)
Re: [LAU] getting sound working -- user id problems, Rustom Mody, (Mon May 19, 11:56 am)