LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-08-2008, 07:40 PM   #1
RRMJR
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
admin login problems


Created "admin" account on install (or i thought i did) but Ubuntu locks everything and will not let me change anything or write to my two storage drives. What could be wrong ?????
 
Old 04-08-2008, 08:04 PM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
The installer is the admin acount

If user fred installed ubuntu, then the install puts fred in the admin group. In order to do anything admin-ish, you need to prefix the command with sudo, and respond with fred's password.

As to the other things you cannot do, it would help to split each problem out and have some more detail.
 
Old 04-08-2008, 09:23 PM   #3
RRMJR
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Original Poster
Rep: Reputation: 0
admin problems

i understand that i am supposed to be in the admin group but i dont seem to have admin premissions.

i have installed several programs using the sudo command and it does exactly what it is supposed to.

The thing is this, i have 3 drives in the machine ---

40 gig is the OS

160 for storage
160 for storage

the 40 gig seems to be ok as in i can rw to it in the "home" directory, but anything else it seems that i dont have to right to make any changes.

Formated one of the 160 gig drives ok, but it set it to read only and i can not change the premissions, says i dont have premission to do that.

Found a file (fstab) where i can go in and change it but it wont let me save it, says i dont have premission to do this.
 
Old 04-08-2008, 11:21 PM   #4
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
editing the /etc/fstab file is the right way to go. kudos to you for finding that! it's a protected system file, so you need to use sudo to edit it. how are you opening it right now? here are some examples (all from the command line):

sudo pico /etc/fstab
sudo nano /etc/fstab
sudo vim /etc/fstab
sudo emacs /etc/fstab


personally I use vim, but a lot of people find pico or nano easier to get the hang of.

once you have the file open and can make changes, you need to find the line(s) that refer to the filesystem you want to change. usually the format is:

Code:
device     mount     type     options
you need to add "users" to the options. for example, here is a windows fileshare that I mount automatically when my computer boots:

Code:
//10.0.1.146/c$         /mnt/windows            cifs    credentials=/home/mcd/.cifscreds,users  0 0
don't worry about most of that, but the "users" at the end is what gives my user account permission to add, remove, and change files. post up if you run into more trouble.
 
  


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
login has expired,please contact system admin )(*&^%$#@! Zenwalk 1 04-09-2007 07:12 AM
Mandriva 2007, login help - I am being locked out of my admin and root accounts uzimadawa Linux - Newbie 7 01-28-2007 03:04 PM
How do i login as admin elion Linux - General 6 09-15-2006 08:09 AM
KDE 3.4.1 Login Manager won't enter admin mode rgingels Debian 12 11-09-2005 04:20 PM
Remote Login / Admin volvodriver Linux - General 3 10-24-2003 10:30 AM


All times are GMT -5. The time now is 12:37 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