LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2009, 05:52 AM   #1
AeonX
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Rep: Reputation: 0
Unhappy admin problems


hi
i installed ubuntu side by side with vista.And the first user created by ubuntu is supposed to be the root but when i tried to create another account, it tells me that i need to be logged in as rootsomeone can clear this for me plz.
thx!
 
Old 09-30-2009, 06:01 AM   #2
shqnayaz
LQ Newbie
 
Registered: Sep 2009
Location: Bangalore
Distribution: RedHat Fedora Centos
Posts: 9

Rep: Reputation: 1
try with super user

Quote:
Originally Posted by AeonX View Post
hi
i installed ubuntu side by side with vista.And the first user created by ubuntu is supposed to be the root but when i tried to create another account, it tells me that i need to be logged in as rootsomeone can clear this for me plz.
thx!
try with super user that is
# sudo useradd xyz
 
Old 09-30-2009, 06:01 AM   #3
Trickie
Member
 
Registered: Sep 2004
Posts: 38

Rep: Reputation: 23
AFAIK Ubuntu does not set up root as the first user but rather sets up a user account with the name and password that you supplied when you installed it. This account also allows you to use sudo to administer the OS.

Richard
 
Old 09-30-2009, 06:15 AM   #4
AeonX
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Original Poster
Rep: Reputation: 0
thanks the sudo command worked.And there's more
When i run an update, it tells me:

"Not enough free disk space

The upgrade needs a total of 413M free space on disk '/'. Please free at least an additional 237M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'."

my partitions is not full but it tells me this. and when i try the "sudo apt-get clean" command, nothing happened!
 
Old 09-30-2009, 06:51 AM   #5
Trickie
Member
 
Registered: Sep 2004
Posts: 38

Rep: Reputation: 23
You say that the partition is not full but how much space *do* you have? What does fdisk report?

Richard
 
Old 09-30-2009, 06:56 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Paste the output for df -h command. It will give you how much space you have allocated for "/" and how you have used and how much is still empty for use.
 
Old 09-30-2009, 10:01 AM   #7
AeonX
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Original Poster
Rep: Reputation: 0
i guess that i've got to read a little more about partitions in linux
but i'll be glad to get an explanation of this part.the screenshot below is what i got when i used the "df -h" command.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	9
Size:	46.7 KB
ID:	1628  
 
Old 09-30-2009, 10:15 AM   #8
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 38
It is more common practice to copy and paste the text from the terminal into the forum (generally between [code] tags).

But, in any case, what df is telling you there is that your root partition (the top one) is nearly full. 2.3G is pretty small for a distro like ubuntu. It'd be possible to install and run in that space, but really I'd suggest at least 5GB, more ideally around 20.

This might well not be possible for you, in which case it'd be worth looking at ways to pare down the size of the installed OS. Ubuntu can be made to fit in that space, but it doesn't do it by default. The first step I'd take is to go through the Add/Remove Programs dialog and uninstall any applications you know you don't want.
 
Old 09-30-2009, 10:38 AM   #9
AeonX
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lordandmaker View Post
It is more common practice to copy and paste the text from the terminal into the forum (generally between [code] tags).
ok sorry

my hardisk size is 80gb and there's vista and ubuntu installed.i guessed that i made a mistake in choosing the partition when installing ubuntu
is there a way to resize the partition or do i need to install it all over again?
 
Old 09-30-2009, 08:11 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
If you've got any important data, back it up, then read up on the fdisk tool http://linux.die.net/man/8/fdisk.
Ubuntu may have a gui option, but I've never used it.
 
Old 10-02-2009, 11:23 PM   #11
shqnayaz
LQ Newbie
 
Registered: Sep 2009
Location: Bangalore
Distribution: RedHat Fedora Centos
Posts: 9

Rep: Reputation: 1
Quote:
Originally Posted by AeonX View Post
ok sorry

my hardisk size is 80gb and there's vista and ubuntu installed.i guessed that i made a mistake in choosing the partition when installing ubuntu
is there a way to resize the partition or do i need to install it all over again?
* if you would have tried lvm's then it would be a bit easy for you to resize from physical volume.
# just deleted the partitions and re install it again, and you find some hands on experience on it .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sys admin vs network admin sulekha Linux - General 5 01-11-2009 06:03 AM
admin login problems RRMJR Linux - Newbie 3 04-08-2008 11:21 PM
User admin and N/w admin on Gnome hangs ssrini *BSD 2 07-28-2005 08:55 AM
qmailadmin problems - no links to admin the server! jme Linux - Software 2 08-28-2004 07:15 AM
Help ME, having admin problems! Willew Linux - Security 2 10-19-2003 03:48 PM


All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration