Sudo issues with Ubuntu 7.10 Running on a Ultra SPARC Machine


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Sudo issues with Ubuntu 7.10 Running on a Ultra SPARC Machine
# 1  
Old 08-24-2011
Sudo issues with Ubuntu 7.10 Running on a Ultra SPARC Machine

I have a Sun Blade 1000 machine that I installed Ubuntu 7.10 SPARC onto. The only user configured (configure during install) cannot use sudo. When I try to issue a command using sudo (ex. sudo apt-get install) it asks me for my password and returns the error "user not found in sudoers file". I need the ability to sudo so I can finish install the software I want on the machine. with out sudo access on my only user account im basicly screwed. Any help is greatly appreciated.
# 2  
Old 08-24-2011
If you can't sudo or login to root, you can't sudo login to root, and can't fix the system from the inside.

You can fix it from the outside though, by booting a rescue CD of some sort, after which you can mount your partitions and edit your passwd files and so forth by hand. You might even be able to chroot into it: chroot /path/to/rootmountpoint /bin/sh and run passwd from there to change root's password, usermod ... to modify user groups, etc. Remember that, usually, to use sudo you have to be in the wheel group.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 08-24-2011
used visudo to edit the sudoers file. added username ALL=(ALL) ALL and that didn't work. I then tried enabling the no password option (i know that is a high UNrecommended option, but i just wanted to try it) and that didn't work. I get the same error :
"username is not in the sudoers file. This incident will be reported.
sendmail: fatal : open /etc/postfix/main.cf: No such file or directory"

I have been having many issues with installing a new OS on this Blade 1000. I'm pretty new to lLinux, but I'm beginning to suspect that I'm having issues with the partitions on my hard drive.

Ideas? Questions? Comments? Any help is appreciated.

---------- Post updated at 02:22 PM ---------- Previous update was at 01:48 PM ----------

When using a boot disk in rescue mode I cd into "boot" and saw that it was empty. What does that mean?
# 4  
Old 08-24-2011
Quote:
Originally Posted by swilso
used visudo to edit the sudoers file.
Ah, you have a working visudo, then?
Quote:
When using a boot disk in rescue mode I cd into "boot" and saw that it was empty. What does that mean?
It means there's nothing on that folder. Your partitions don't just mount themselves when booting a rescue CD, that's your job.

---------- Post updated at 12:47 PM ---------- Previous update was at 12:46 PM ----------

Quote:
Originally Posted by swilso
I have been having many issues with installing a new OS on this Blade 1000.
Like what?
# 5  
Old 08-24-2011
I solved the problem by running a rescue disk, then mounting my partition and using visudo to give my user sudo rights.
This User Gave Thanks to swilso For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Hardware

Sun Sparc Ultra 30 help

Hi all, I managed to salvage form work an old Sun Sparc Ultra 30. I have had it stored (controlled storage) for a few years and decided to get it home and boot it up. It starts up with a beep then I can hear disks spinning up, CDROM moving but nothing is displayed on the monitor. Can... (2 Replies)
Discussion started by: robbo007
2 Replies

2. Solaris

How to install PGX32 on Sparc 10 Ultra?

I'm trying to install a PGX32 video card on my Sparc 10 Ultra running Solaris 10. I've got the Oracle installation guide for it and I got as far as: "4. Insert the CD-ROM labeled “GFX OpenWindows for Solaris 2” into the drive." I don't have a CD-ROM by that name and a web search for that... (21 Replies)
Discussion started by: Michele31416
21 Replies

3. Ubuntu

GUI for Gutsy running a SPARC Machine

I am having a hard time trying to find a repository that supports Gutsy 7.10 SPARC (I'm running a Sun Blade 1000 with an Ultra SPARC processor). Any idea how i can get a gui on my machine? Thanks in advance for the help (2 Replies)
Discussion started by: swilso
2 Replies

4. Solaris

How much better performance is ultra SPARC IV+ 1.95GHz than 1.35GHz?

Dear Guru, My boss has a plan to upgrade cpu of server so he needs to know how much better performance(percentage) is Ultra SPARC IV+ 1.95 GHz than Ultra SPARC IV 1.35 GHz?. I am looking for documentation to reference but I didn't see anything close to my point. If who know,... (3 Replies)
Discussion started by: unitipon
3 Replies

5. Debian

Problem installing Debian5 on an ultra sparc machine

Comments/Problems: Machine boots from CDROM, starts SILO Version 1.4.13, display welcome message (welcome to Debian GNU/Linux lenny! built on 20081218-10:06 ). boot: Allocated 8 Megs of memory at 0x40000000 for kernel Loaded kernel version 2.6.26 Loading initial ramdisk... (3 Replies)
Discussion started by: mtk
3 Replies

6. Solaris

Null modem cable in Ultra sparc 10

Hi Gurus, Can I use null modem cable in Ultra sparc 10 workstation Thanks (3 Replies)
Discussion started by: kumarmani
3 Replies

7. Solaris

In Sparc Ultra 45 machine, how to enable bge1

In Sparc Ultra 45 machine, how to enable bge1 port, how to do if bge0 is down then bge1 should automatically up. Thanks & Regards (2 Replies)
Discussion started by: durgaprasadr13
2 Replies

8. Solaris

ultra sparc 2 no video - ok prompt access

I have an ultra sparc 2 with no video - I connect to it with hyperterm. Is there a way to get to the OK prompt? I have tried control/break and that does not work. If not is there a video card I can get to put in this box? I have Solaris 10 installed on this machine. Thanks (7 Replies)
Discussion started by: tribbles
7 Replies

9. UNIX for Advanced & Expert Users

Need Help , Ultra SPARC can not loading

Dear All, I have trouble, I have SPARC Machine and when start for loading, can not finish ! this is copy off message from my system Netra t 1120/1125 (UltraSPARC-II 440MHz), No Keyboard OpenBoot 3.31, 512 MB memory installed, Serial #12116535. Ethernet address 8:0:20:b8:e2:37, Host ID:... (4 Replies)
Discussion started by: heru_90
4 Replies

10. UNIX for Dummies Questions & Answers

Sun Ultra sparc 60

Hello everybody!! I need your help again. I am using Sun Ultra sparc 60 machine.Follwing are the types of files getting generated in /var/tmp. "windu_sm_o aaaa,baaa,caaa,daaa" etc. I am not able to locate which application is generating these files. Can I straightway delete these files ? or... (1 Reply)
Discussion started by: vikasdeshmukh
1 Replies
Login or Register to Ask a Question