Run the following command in a terminal; sudo passwd -aS
Read the man page for passwd especially the section explaining the section explaining the output of the -S command. If you are satisfied their is no password already set then run this command; sudo passwd root This will prompt you to enter a password and the confirm it. You should the be able to change you login to root by issuing the su (switch user) command. Be aware this an "off label" method for Ubuntu, you should prefer the sudo method when doing stuff that requires root. Cheers Ross Drummond On Sun, 09 Aug 2015 16:28:27 +1200 Davin Pearson <[email protected]> wrote: > I have recently purchased a laptop and have installed Lubunti > GNU/Linux onto it. > > I created a user called "davin" and a user called "www" for everyday > use. > > I need root access to do a chmod on /var/www/html > > How do I go about setting the "root" password? > > I can access commands like apt-get install apache2 from the "davin" > account. > _______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
