Click to See Complete Forum and Search --> : Root Privleges


pug
03-17-2002, 01:10 PM
HELP!! I have just installed Mandrake Linux 8.1 and would like to know how to give my account root privleges as everytime I want to do anything I get a prompt asking me for the root password very annoying!

In true windows stylie I have added my account to the root group but its not worked. how do you do it/ is it possible?

demian
03-17-2002, 01:23 PM
There is a reason why user's have restricted permissions. I urge you to consider the use of sudo for the things that need root access. Being logged in with root privileges all the time is a very bad thing to do.

However, in linux there is choice and if you so want to here's what you have to do: In /etc/passwd change the UID and GID of your user's account to 0

pug
03-17-2002, 01:47 PM
Thanks worked fine, will checkout Sudo.

This install of Mandrake is just for me to play with so if I do anything I shouldnt and brake linux then I will know not to do it again! Want to setup a secure FTP server eventually but need to play first to get to know my way around linux.

one more question, I used smb:// to try to access some windows shares on my XP box but it did not always show the folders tried to mount the share (d$) but was have not managed to get it to work yet?

Thanks