LinuxQuestions.org
Visit Jeremy's Blog.
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 01-06-2008, 11:40 PM   #1
Inlovewithmymac
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
Server Problems


Hey Guys thanks for reading.


I am setting up a server and am having issues. I have looked it up online and have found some threads on my problem but they dont fix it. I am using Ubuntu server on my dell and am having trouble setting my IP, more specifically i cant access sudo. i type in sudo or sudopasswd root and it asks me for a password and then i type in my password and it says "username" is not registered for sudo this will be reported.
please help im totally lost
 
Old 01-07-2008, 01:00 AM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 2,281

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
You don't absolutely have to use sudo. That is a recommendation. You can use su also. Sudo is for people who might forget they are root, and run rm -rf from / accidently. Or you can add yourself to the sudo group.
 
Old 01-07-2008, 02:05 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by Inlovewithmymac View Post
Hey Guys thanks for reading.


I am setting up a server and am having issues. I have looked it up online and have found some threads on my problem but they dont fix it. I am using Ubuntu server on my dell and am having trouble setting my IP, more specifically i cant access sudo. i type in sudo or sudopasswd root and it asks me for a password and then i type in my password and it says "username" is not registered for sudo this will be reported.
please help im totally lost
Use the initial account you chose when you first
installed. That one will have the right to sudo.
Then you can use the elevated privileges to add
your other user account (the one that got the
warning) by editing /etc/group and adding their
name to the adm group.



Cheers,
Tink
 
Old 01-07-2008, 02:43 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by AwesomeMachine View Post
You don't absolutely have to use sudo. That is a recommendation. You can use su also. Sudo is for people who might forget they are root, and run rm -rf from / accidently. Or you can add yourself to the sudo group.
Does Ubuntu server enable the root account? Most *bunutus have root disabled so you have to use sudo (unless you've enabled it. I think Ubuntu server might be different, though.
 
Old 01-07-2008, 03:21 AM   #5
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,545

Rep: Reputation: 136Reputation: 136
i guess the root account is not touchable until a sudoer set a root password. tinksters advice will work probably...
 
  


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
NT4 Server as File Server, Mandrake 10.1 - Email problems makennyno1 Linux - Networking 0 03-22-2007 04:46 AM
X server not working after yum update & font server problems snow93 Linux - Software 1 08-02-2006 05:26 AM
MY ISP DNS SERVER IP ...is creating some problems for my mail server daaku_n01 Linux - Networking 2 01-23-2006 05:09 PM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 10:46 AM


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