Questions #3: root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 12 September 2007 12:39:52 Thomas Leavitt wrote:
> What's the cleanest way to get this?
>
> Thomas
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users

For me and my way of thinking.  Install Xterm... Install openssh (as apposed 
to dropbear) from garage.  open Xterm and  do ssh root at localhost  use rootme 
as the password.  Add this line to /etc/sudoers  

user  ALL=(ALL)  NOPASSWD: ALL

Now give bother the user named user and root real passwords. Once you do this 
user, user can sudo su  to root whenever you need it to.   I also recommend 
removing the ability of root to ssh directly after you have confirmed that 
you can sudo.

James


-- 
READ CAREFULLY. By [accepting this material|accepting this payment|accepting 
this business-card|viewing this t-shirt|reading this sticker] you agree, on 
behalf of your employer, to release me from all obligations and waivers 
arising from any and all NON-NEGOTIATED agreements, licenses, 
terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, 
non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) 
that I have entered into with your employer, its partners, licensors, agents 
and assigns, in perpetuity, without prejudice to my ongoing rights and 
privileges. You further represent that you have the authority to release me 
from any BOGUS AGREEMENTS on behalf of your employer.



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux