laptop

DEVON AITKEN devonrose-Bm8TULXj0r/3fQ9qLvQP4Q at public.gmane.org
Thu Feb 24 02:21:02 UTC 2011


[TLUG]: Re: laptop writes: 

> On Thu, Feb 17, 2011 at 5:03 PM, DEVON AITKEN <devonrose-Bm8TULXj0r/3fQ9qLvQP4Q at public.gmane.org> wrote:
>> I bought a laptop a a couple weeks ago. When I bought the computer, I was
>> told there was only one account and that this account was the super-user.
>> But, I tried to delete a printer using "CUPS" (the printer manager) but I am
>> told this is forbidden. Can I make a root account from my account or somehow
>> get more control on my present account?
> 
> Devon: 
> 
> What's the make and model of the laptop? Do you know what Linux Distro
> they installed. 
> 
> Suggestion. Boot the system using a LiveCD and mount your drive. Then
> you should be able to remove root password from the /etc/shadow 
> 
> 2.3 Format of the shadow file 
> 
> The /etc/shadow file contains the following information: 
> 
>     username:passwd:last:may:must:warn:expire:disable:reserved 
> 
> Just leave the password area blank and then you will be able to login
> as root and change the root password. 
> 
devon at DLT:~$ sudo su
root at DLT:/home/devon# passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully 

I did this so now I have a root password. I will try to log in as root.
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list