Ubuntu :: Restoring Root Privileges (admin Group) In Lucid Lynx?
May 1, 2010
After freshly installing Lucid Lynx and tinkering for some time to get everything just how I like it, I managed to somehow remove myself and all other users from all groups. Now, obviously, I've restarted and I don't have root privileges as I am no longer a member of admin group. So I am somewhat stuck. I've looked at this page: [URL]. But annoyingly, there is no grub menu appearing on boot up (unlike previous Ubuntu versions). So I'm appealing for your help to either:
a) Show me how I can bring up the grub menu so I can access ubuntu in safe mode
b) Show me another way of accessing the system with root privileges. (Would using chroot from the Live CD work? I just thought of that now so I'll try it).
I recently installed Maverick Meerkat on a hand me down laptop. And noticed that when I entered the password for admin privileges to install from the update manager, a key icon appeared on the top bar. I moused over it and saw I could use THAT to end privileges before the 10 minute grace was up. I should have thought of it before, and, small as it is, I thought this was a great feature.So, when I upgraded from Karmic Koala to Lucid Lynx on my desktop, I thought that feature would be there, but it's not.So first I'm wondering if it's there, but just not default. If so, how do I get that icon to appear? If not, how do I otherwise end admin privileges early?
I downloaded a driver for my printer today and I opened it in the terminal. Then a window popped up saying "This opporation requires root (administrative) privileges. Please enter the administrative password below:" I typed in the same password that I use when authorizing the installation of programs from the Ubuntu Software Center and I tried it multiple times. Each time, it rejects the password. I even tried downloading something else from the software center, just to make sure the password was correct, but the system had no problem with the password when downloading from the software center. So, is my software center password different from my administrator password?
A bit of an oddity that I've recently run into with my storage folder in my system; it's a newly installed drive that I've set to mount at /storage. When I first tried to use it, programs that I used that attempted to write to it tossed Access Denied errors at me in their own way. Checking the permissions (at the Terminal, ls -l / | grep storage) showed that /storage was set to 'rwxrwxr--'--Owner and Group were given full read/write/execute, but Others could only read. However, my logon to my system is a member of group root. Why, then, with the above bits set, would I not be able to write to it? Changing Others permissions to rwx (and presumably rw would have worked out for me since I don't leave anything executable there) allowed me to write to it, but I don't understand why that would have been necessary. So far as I'm aware, the prior drive that was in my system--mounted at the same location--did not need this treatment.
receive bash notice: "jim is not in the sudoers file."Just finished my first Debian install several hours ago, my first go around w/Debian. Installed 8.2 DVD ISO on USB. Had this issue from my first use in BASH, not a forgotten password problem. So 2 questions:
1) I'll be installing Debian again, and want to avoid this in future. There were 2 inputs on setup for name (my full name) and user (installer offered my first name which I accepted). 2 inputs for Password as well: I used the same password both times (have done this w/Mint & Ubuntu w/out issue).
2) How to fix this? Tried this: URL...however, neither keystroke got me to "rescue" prompt as article suggests. Several other articles presume an admin with privileges has sudo access to modify sudoers file.
I have multi-boot setup in BING environment (MBR, not EFI). I am booting from a GRUB2 ISO using grub commands as I still need GRUB installed in my boot partition until I can get cmd line access. I'm able to get a session on boot with the same password I used in setup.
I'm having a permissions problem with Ubuntu and apache. There are two users, I'll just call them A and B. All of the files belong to A and group root. I'm logged in as B and I have admin privileges. My website is working just fine but when I create a directory in the web root, change the owner to A on the directory and all files I still get a Permission Denied error when I try to access it from the web. I've also set permissions to rxwr-xr-x on the directory and all the files. So I don't understand what's going on. Why am I still getting a permission denied error?
i have a program from windows that requires a .bat file for installation, i open it with Wine Windows Program Opener and opens the CMD, if i opened this in windows it would install because i am on the admin account but will not if i am not admin, opening it on here it thinks i am not admin, how can i make it think i am? here are screen grabs,
it shows this for a few seconds....
then shows this, pressing return closes the window
I have a pdc with a samba file share and have multiple xp workstations that can install programs from the server and share files, but I have 2 new windows 7 machines that I have edited the registries on and joined the domain with but cannot install programs from the pdc even though they have root accounts. I have tried to change folder privileges from the workstations but I am not allowed.
i am relatively new to ubuntu. Just recenty i have not been able to access certain files(for example the history and bookmarks in the firefox folder), download files individually from the internet(music,fonts,etc), recieving an error message
Twice today, and several times recently, I have had a sudo command rejected with the dreaded message "<user> is not in the sudoers file..." It's because my user -- which is the main user, the one you create on Ubuntu installation -- has "fallen out of" the admin group. I can fix it because there are other users defined which are still in the admin group and I can su to one of them and add myself back.But why is it happening? I'm doing software development, and use sudo mainly to do benign things like copying new versions of Perl programs into the application library: I'm not going anywhere near the security subsystem, for instance. I'm worried that one day whatever-it-is will choose to drop all the users out of admin and then I'll have to resort to live CD hacking to fix it.
I run ProFTPd with TLS authentication on my Debian Lenny server. My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root directory, too.
I have previously set up sudo via adding my name to the wheel group and then giving full privileges to the wheel group in the sudoers file. Now I choose to learn to limit that. Had noticed the most frequent use I have of sudo is to run yum update. This got me thinking, could I remove the wheel group privileges and add the following line in sudoers to limit the privilege to simply running yum, and furthermore, make it so I could run yum without a password:
## Allow root to run any commands anywhere rootALL=(ALL) ALL Troy ALL= NOPASSWD: /usr/bin/yum
I think that would in fact work (if I understood one of the pages here, it will work). However, upon further thinking I realized that in such a case then anyone sitting at my computer could then use yum, without a password, to install or remove any file on my system � probably not a good idea. As a result I have to ask, can I tighten the privilege even further such that the only privilege so given was to run �yum update� and nothing else? (for example if they ran �yum install� it would fail). If you can do it, how?
Last, I was going to limit the privilege, time wise and try wise, by adding the following to the sudoers file:
I am trying to install Lucid on my Laptop but can't get the live cd to boot correctly. At the moment, it's giving me a purple screen with a white logo at the bottom, then a black screen with the underscore character blinking, and then nothing. (I have an HP tm2, with a USB DVD/CD drive. 64bit intel core 2 duo. I am using the Ubuntu 10.04 Desktop AMD64 .iso. I also tried the i386 .iso)
Ubuntu 10.04 is unable to set up my Canon Pixma IP 6000D printer.So earlier tonight when my wife wanted 2 recipes she saw on this am's Today Show, I had to restart my computer with a Fedora 13 live CD in the drive. F13 quickly installs my Canon printer and I am able to print the recipes.But this sure is a convoluted way of printing 2 short text files.to get my printer to work with Ubuntu.I've been using Ubuntu almost 2 years now, and love it, love it, love it, except for this one little thing.
The new Wacom Bamboo Pen (CTL-460) doesn�t work in Ubuntu Lucid out-of-the-box. You need a newer kernel module than the one that comes with Lucid by default. It�s pretty easy to get it working though, you just need to know how.
First, install some compiling tools and header files:
Now unpack, configure compile and install it:
# I know this is the wrong version, but it's the highest available and it works
The tablet should work now. You can also add the module name to /etc/modules to automatically load it on boot.
He also says (and I can confirm) that the gray lines are the new borders of the tablet. A little annoying, but I imagine one could configure that, too.
I upgraded from Karmic to Lucid yesterday and today today I've noticed that I can no longer apt-get update through the terminal. I'm behind a corporate firewall, so up till now I've always exported the proxy address like so:
Code: export http_proxy=http://user:password@address:port This hasn't worked under Lucid. I did some searching and found that Lucid did away with
I have tried out Lucid Lynx Beta 1 back in march. During the installation I was announced that support for bluetooth was dropped. I installed anyway, thinking it would be back in the Final Release. Meanwhile (between March and April) I reinstalled Karmic because I really needed the bluetooth. I can see in the upgrade that bluetooth still isn't available. What should I do about this? Is there a way to keep Lucid Lynx and bluetooth? Or will I have to stay on Karmic until the end of times?
Is there someone from Dallas, Texas, USA area? I've got a friend there with lucid lynx on a netbook - and she says something's gone wrong with it - she cannot boot. Maybe someone could maybe somehow meet with her and see if there is a possibility to fix it? As i don't really know what's wrong but I am on another end of the world and have no chance to figure it out.
I've got a generic USB keyboard (not wireless) that works perfectly on WinXP, the BIOS and the GRUB boot menu. As soon as Ubuntu 10.04 loads, however,he keyboard stops working. Tried different ports, still nothing. I haven't tested on previous versions of Ubuntu or other Linux distros. A PS/2 keyboard works great on Ubuntu except the one I have is broken, hence why I'm using this USB keyboard. Any ideas on how to fix this? It's the only thing holding me back from leaving Windows for good. lsusb:Quote:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
When I try logging in using any user name, ubuntu just returns to the login screen. I cannot actually log in. I used the recovery mode to create a new login with password 123456, and the same thing happens. What could it be? Ubuntu worked just fine for a while, then DKMS started causing problems, I had errors with upgrades, software installs/uninstalls, then my sound went. I found a great fix for the sound (https://help.ubuntu.com/community/SoundTroubleshooting), the sound came back, but then I could not log back in again. I cannot find any help for this issue, and had to install 9.10 Karmic Koala, and that's what I have been using for the past couple of days.10.04 has been fairly buggy for me and I am considering staying with 9.10, or going to another Linux distro.