DIGIT-ARC read-only archive · snapshot: July 23, 2026

ubuntu root

3 posts · originally from https://geek.digit.in/community/threads/ubuntu-root.33470/

arunks
arunks Original post #1
Aug 6, 2006 at 9:19 PM
what is default root password in ubuntu..as it asks everytime if wanna change properties or delete add folders in mnt..

i havn't set it..

So plz tell me ..i think it is 7 letters long as shown by *s in root properties
JGuru
JGuru #2
Aug 6, 2006 at 11:55 PM
Ubuntu sets a random password during installation. Ofcourse, you don't need to
know Root password for administration of Ubuntu!! Use 'sudo', 'gksudo' commands
To create a folder Open the Terminal Window and type:
$ sudo mkdir /mnt/win_c
$ sudo mount /dev/hda1 /mnt/win_c

For copying files use the 'cp' command, for moving files use 'mv command.
Syntax:
cp <source> <destination>
You can use absolute path or relative path. '.' refers to current directory.
Similarly
mv <source <destination>
You can use absolute path or relative path. '.' refers to current directory.
Similarly
If you want to write Windows partition use 'sudo'
For eg.,
$ sudo cp /home/kamal/Docs/*.jpg /mnt/win_d
This copies all the JPEG files in the 'Docs' folder to the D drive (Ofcourse D drive
must be mounted in /mnt/win_d !!)
For editing Root file , use :
$ sudo gedit <path>
praka123
Aug 7, 2006 at 6:22 AM
IUW,can set root passwd as follows in a terminal:
Code:
sudo passwd root
and enter new root passwd.next time u can be root as using "su -"
for logging in as root user in GNOME,try running gdmsetup as root and allow local admin to login.:)