querry: root password!
andrea phillips
homgirl177 at yahoo.com
Fri Feb 29 04:01:11 UTC 2008
can you help me i have forgot password what can i do to get on my computer.
Andy <stude.list at googlemail.com> wrote: On 23/02/2008, Nikunj Kumar wrote:
> We have a file which is owned by the 'root' user under /etc/. We want to
> change the ownership of this file and give it red/write/execute permission
> to all the users.
That could cause a security risk. If any user can change the file then
they could alter it to contain malicious code which would execute with
the privilege of whoever executed it.
It is normally to have the system executables owned by root and only
writeable by root. They are normally readable and executable by all
users.
If you are trying to allow a select group of users access to modify
the executable you might want to add the required users to a group and
then change the group ownership of the file and make it group
writeable.
> So the command we look forward to run as a 'root' user is:
> chmod 777
sudo
Type in the users password (not the root password).
The current user needs to be listed in the sudoers file.
> As I also understand in UBUNTU we cannot login as a 'root' user so using
> 'su' is the only option left.
Logging in as root is disabled by default as it poses a security risk.
It can be enabled but it is not recommended unless you know what your are doing.
Andy
--
Computers are like air conditioners. Both stop working, if you open windows.
-- Adam Heath
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
---------------------------------
Never miss a thing. Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080228/2ffec6f0/attachment.html>
More information about the ubuntu-users
mailing list