can you help me i have forgot password what can i do to get on my computer.<BR><BR><B><I>Andy <stude.list@googlemail.com></I></B> wrote:  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On 23/02/2008, Nikunj Kumar <NIKUNJ.KUMAR@FERMENTABIOTECH.COM>wrote:<BR>> We have a file which is owned by the 'root' user under /etc/. We want to<BR>> change the ownership of this file and give it red/write/execute permission<BR>> to all the users.<BR><BR>That could cause a security risk. If any user can change the file then<BR>they could alter it to contain malicious code which would execute with<BR>the privilege of whoever executed it.<BR><BR>It is normally to have the system executables owned by root and only<BR>writeable by root. They are normally readable and executable by all<BR>users.<BR><BR>If you are trying to allow a select group of users access to modify<BR>the executable you might want to add the required users
 to a group and<BR>then change the group ownership of the file and make it group<BR>writeable.<BR><BR><BR>> So the command we look forward to run as a 'root' user is:<BR>> chmod 777 <FILENAME><BR><BR>sudo <CMD here><BR><BR>Type in the users password (not the root password).<BR>The current user needs to be listed in the sudoers file.<BR><BR>> As I also understand in UBUNTU we cannot login as a 'root' user so using<BR>> 'su' is the only option left.<BR><BR>Logging in as root is disabled by default as it poses a security risk.<BR>It can be enabled but it is not recommended unless you know what your are doing.<BR><BR>Andy<BR><BR>-- <BR>Computers are like air conditioners. Both stop working, if you open windows.<BR>-- Adam Heath<BR><BR>-- <BR>ubuntu-users mailing list<BR>ubuntu-users@lists.ubuntu.com<BR>Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users<BR></BLOCKQUOTE><BR><p>



      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>