I have Ubuntu 12.04 installed on my PC, recently I have edited /etc/passwd  and changeduser1:x:00:00:user1,,,:/home/user1:/bin/bashto give root permission to user1 and the system always need to login as root, for running some custom software.Now it seems the sound is not working, the volume icon is disabled. I understand that the pulseaudio demon can't be run as root that's why the audio is not working. How can I resolve it, like set the permission of pulseaudio to run as root. When I type the command  /usr/bin/pulseaudio --startGiving me the outputW: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).E: [autospawn] core-util.c: Home directory /home/user1 not ours.W: [autospawn] lock-autospawn.c: Cannot access autospawn lock.E: [pulseaudio] main.c: Failed to acquire autospawn lock
pulseaudio run as root
users;root;pulseaudio