08-10-2011
That is a prompt, like a fullscreen terminal, so you're already logged in and don't need to open a terminal. Try typing 'sudo grub' on it like it says. You might not even need sudo if it's a root prompt.
10 More Discussions You Might Find Interesting
1. Solaris
I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies
2. Ubuntu
Hi,
I have installed Ubuntu 5.04 on my second Hard Drive. My first HD contains windows.
When i make my 2nd HD as boot device, i see GRUB Menu (i.e. stage 2).
On trying to boot Ubuntu, I get an Error 15: File missing problem. The FS shown was FAT.
On trying to boot Windows, I am presented... (5 Replies)
Discussion started by: karthikb23
5 Replies
3. UNIX for Dummies Questions & Answers
at the end of October i upgraded the distro to 8.10 at first it seemed fine until i restarted my machine the boot seqence started i logged in after that nothing? tried booting again and the same thing happened did i do something wrong during the upgrade to 8.10 did everything the computer asked me... (1 Reply)
Discussion started by: ksnovice
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am using Ubuntu 10.4 and I want to change the boot loader option to boot Windows 7 by default. Every time I update Ubuntu some extra lines appears at the boot menu. I want to remove them also. Please help me (1 Reply)
Discussion started by: dearanik
1 Replies
5. UNIX for Dummies Questions & Answers
I have installed ubuntu desktop on my hard drive and I gave it all the hard drive.
Now I want to repatriate the hard disk and give half of it to anther ext4.
How do I do that?
Can I do it fron with in the ubuntu?
Second when I install the centos, how can I make to recognize the ubuntu and... (0 Replies)
Discussion started by: programAngel
0 Replies
6. Android
Hi,
i came across this android x86 OS Link. there is a live cd and HD installation. i try the live cd and HD installation in the virtualbox and its working fine. im interested with this x86 platform. since i had a viewsonic viewpad 7 android 2.2.Does anyone try to dual boot this Android x86 OS... (0 Replies)
Discussion started by: jao_madn
0 Replies
7. Ubuntu
Hi all,
I am using ubuntu 10.04 x64, kernel 2.6.32.32. Yesterday I installed updates to 2.6.32.33 and rebooted the system today. Since then, the system is not booting up and is throwing the following message:
Alert /dev/disk/by-uuid/<disk_id_here> does not exist. Dropping to a shell!
... (0 Replies)
Discussion started by: morningSunshine
0 Replies
8. Ubuntu
Hello all,
I am looking for a way to copy the existing Ubuntu server 12.04 to a USB (with all the packages and such) and make it boot from the USB.
I have seen other threads about copying the CD image to the USB, which is not exactly I am looking for.
Before I start diving into anything I... (4 Replies)
Discussion started by: br1an
4 Replies
9. Ubuntu
Hi;
I had Windows Server 2003 and performed a fresh Ubuntu Server 15 installation.
After installation, Ubuntu server not booting
I guess there is boot problem conflicting with my old Windows Server.
This is my pastebin:
http://paste.ubuntu.com/13851828/
Any help to start my new... (1 Reply)
Discussion started by: gc_sw
1 Replies
10. Ubuntu
Hello,
I installed ubuntu desktop just recently in aim to create a RAID1 configuration using software RAID MDADM.
I have the following configuration as fdisk -l reports:
Disk /dev/sda: 223,6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size... (5 Replies)
Discussion started by: Reol
5 Replies
LEARN ABOUT LINUX
sudo_root
sudo_root(8) System Manager's Manual sudo_root(8)
NAME
sudo_root - How to run administrative commands
SYNOPSIS
sudo command
sudo -i
INTRODUCTION
By default, the password for the user "root" (the system administrator) is locked. This means you cannot login as root or use su. Instead,
the installer will set up sudo to allow the user that is created during install to run all administrative commands.
This means that in the terminal you can use sudo for commands that require root privileges. All programs in the menu will use a graphical
sudo to prompt for a password. When sudo asks for a password, it needs your password, this means that a root password is not needed.
To run a command which requires root privileges in a terminal, simply prepend sudo in front of it. To get an interactive root shell, use
sudo -i.
ALLOWING OTHER USERS TO RUN SUDO
By default, only the user who installed the system is permitted to run sudo. To add more administrators, i. e. users who can run sudo, you
have to add these users to the group 'admin' by doing one of the following steps:
* In a shell, do
sudo adduser username admin
* Use the graphical "Users & Groups" program in the "System settings" menu to add the new user to the admin group.
BENEFITS OF USING SUDO
The benefits of leaving root disabled by default include the following:
* Users do not have to remember an extra password, which they are likely to forget.
* The installer is able to ask fewer questions.
* It avoids the "I can do anything" interactive login by default - you will be prompted for a password before major changes can happen,
which should make you think about the consequences of what you are doing.
* Sudo adds a log entry of the command(s) run (in /var/log/auth.log).
* Every attacker trying to brute-force their way into your box will know it has an account named root and will try that first. What they do
not know is what the usernames of your other users are.
* Allows easy transfer for admin rights, in a short term or long term period, by adding and removing users from the admin group, while not
compromising the root account.
* sudo can be set up with a much more fine-grained security policy.
* On systems with more than one administrator using sudo avoids sharing a password amongst them.
DOWNSIDES OF USING SUDO
Although for desktops the benefits of using sudo are great, there are possible issues which need to be noted:
* Redirecting the output of commands run with sudo can be confusing at first. For instance consider
sudo ls > /root/somefile
will not work since it is the shell that tries to write to that file. You can use
ls | sudo tee /root/somefile
to get the behaviour you want.
* In a lot of office environments the ONLY local user on a system is root. All other users are imported using NSS techniques such as
nss-ldap. To setup a workstation, or fix it, in the case of a network failure where nss-ldap is broken, root is required. This tends to
leave the system unusable. An extra local user, or an enabled root password is needed here.
GOING BACK TO A TRADITIONAL ROOT ACCOUNT
This is not recommended!
To enable the root account (i.e. set a password) use:
sudo passwd root
Afterwards, edit the sudo configuration with sudo visudo and comment out the line
%admin ALL=(ALL) ALL
to disable sudo access to members of the admin group.
SEE ALSO
sudo(8), https://wiki.ubuntu.com/RootSudo
February 8, 2006 sudo_root(8)