Re: Root user permission



are you sure your root? the default set up is that root has a random
password, so, unless you changed the root password, and then su'd to
root, odds are you are just a "regular" user, who has sudo rights.

to set a root password:

sudo passwd root
<it will prompt twice for a new password>

to become root:
su
<it will prompt for root password>

to change ownership of file/directories:
chown <options> <user>:<group> <files>

to change permissions:
chmod <options> <permissions to change to> <files>

however, you should avoid root at all costs. just using sudo <command>
should do the trick. I never actually su to root, except on the very,
very rare occasion where i want a root shell.


On Sat, 2006-10-28 at 01:00 +0530, Cheatah 0#@!^ wrote:
Inspite of me being the root user of my kubuntu 6.06, i dont have the
permission to access or change all the files in my kubuntu, like
/boot/grub/menu.lst and many others.
How can i change this so that i have the permission to access or
change each and every file in my system??

--
Matthew Nicholson <sjoeboo@xxxxxxxxxxx>
sjoeboo.com


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: debian and ubuntu - answer from user not pretending to be guru
    ... convenient, for most things, and I do not like the sudo that Ubuntu uses; ... prefer su - root. ... I'm not looking to criticize your choice, but the setting on Ubuntu to lock ... If you want to use a root password on Ubuntu, ...
    (Debian-User)
  • Re: Firefox 1.5.0.7 RPM
    ... I need root password to sudo. ... because sudoers can do just as stupid things as root. ...
    (alt.os.linux.suse)
  • Re: [root user] How to disable root account?
    ... >> root password in any way. ... > Actually that depends on how sudo is configured. ... > sudo does depend on the root password ... This session would be used only to reverse ...
    (Debian-User)
  • RE: SUDO
    ... Allowing sudo su - is a bad idea, ... If the user knows the root password, ... the user can already run the needed commands. ...
    (RedHat)
  • Re: probs with tar/ssh from server to server
    ... You tell the destination tar process to cd to /usr/share/fonts, ... Does your user on the remote machine have write permission for ... I don't want to do this as root. ... But if I try putting sudo in front of the 2nd tar, ...
    (comp.os.linux.misc)