General :: Screwed Up Sudoers And Haven't Root Access?

Feb 11, 2011

This is the hard way to learn when you MUST use visudo. That's right. I did something stupid like:Quote:$ sudo vi /etc/sudoersand now have:Quote:

$ sudo
>>> /etc/sudoers: syntax error near line 79 <<<
sudo: parse error in /etc/sudoers near line 79

[code]....

View 3 Replies


ADVERTISEMENT

General :: Is It Necessary To Add Root To Sudoers?

Jan 8, 2011

Do I need it in /etc/sudoers? It's there by default and I don't know why does root need sudo.

View 5 Replies View Related

General :: Can't Execute Commands As Sudo Nor Access Sudoers File In Mandriva 2010.1

Aug 16, 2010

since a recent upgrade to Mandriva 2010.1 I am not able to 'sudo' as administrator or when I use the 'root' password. I am the only user on this machine (Dell Inspiron 530S multi-booted with Window's Vista Home Premium, Ubuntu 10.4, and Mandriva 2010.1). I can get into the 'Manage Users' section of the control center by authenticating as 'root' but I can't access 'sudoers file' from command line.

View 4 Replies View Related

Ubuntu :: Adding A Line To Sudoers File So That Every User Can Run A Particular Program As Root?

Mar 27, 2010

is it possible to do so? I mean, I want every user to be able to run '/bin/x' for example, as root without entering a password. I know the security risks, but I'm trying this in a risk-free environment which security does not matter very much.

View 2 Replies View Related

Server :: Sudoers Will Not Work - Error Says Sudu: Can't Open /etc/sudoers: Permission Denied

May 31, 2011

I have tried several things to attempt to fix my sudoers file however it is still coming up with errors. The error says

[code]...

the sudoers configuration file is set to the default as I have ran a dpkg on it, have also uninstalled and reinstalled it, and went over the configuration file ensuring it looked like the defaults I had seen online.

View 8 Replies View Related

Fedora :: Normal User In Sudoers Group But Can't Install Programs Without Root-users Password?

Jul 4, 2010

The normal user is now in the sudoers group. How can i allow it to install programs using it's own password rather than having to know the super-secret Root-Users password?

View 5 Replies View Related

General :: Haven't Been Able To Get Wireless Working Properly

Jan 31, 2010

I installed Kubuntu 9.10 this morning and haven't been able to get my wireless working properly. I can connect to my network (WEP 128bit key) and acquire an IP address without any problems. But as soon as it connects it stops talking to the router (about 4 pings after it connects). The pings then change from a reply to saying "Destination host unreachable", even though it works fine on the Windows box I'm sending this from.

View 1 Replies View Related

General :: Allow Root Access Over Ssh?

Jan 5, 2011

I've heard that you shouldn't allow root access over ssh; what's the big deal?if a user account who has sudo privileges is cracked already, what's the difference?I allow root access over ssh, but I use a 30 character random password and disable all other accounts. Is this unsafe?

View 12 Replies View Related

General :: Extract An ISO Without Root Access?

Aug 25, 2010

I have a large ISO file on a server, and I need to access the file in it, without having root access. Thus, I can't simply mount it. What should I do to be able to extract an ISO on LInux without root access?

View 6 Replies View Related

General :: Possible To Block Root Access?

Mar 17, 2011

it possible to block root access to a particular directory.

View 7 Replies View Related

General :: Get Root Access On Fedora 14?

Nov 9, 2010

Recently I have installed FEDORA 14 genome on my toshiba sat. L510 laptop.I am using windows 7 ultimate on the other end.My laptop in working fine with both OS.When I tried to install my mobile BB i.e. ZTE USB modem
We need 3 packages1. usb_modswitch2. usb_modswitch.data3. wvdialAfter that I tried to edit the /etc/wvdial.conf to put the[Dialer cdma] details........it asks for root access.I have tried to gain it from terminalused command

[localhost@arul]$su -l
login: root
password: arul315

[code]....

View 5 Replies View Related

General :: Root Access To Xmanager?

Dec 28, 2010

I am using RHEL 5, and I have configured VNCServer & XManager. can access through XMnanager using any username but not root. how can I grant permission to root ?

View 2 Replies View Related

General :: Screwed Up Gdm AND Kdm - Can't Even Get Into A Console?

Mar 19, 2010

Running Ubuntu 9.10. I was messing around with gdm/kdm and now BOTH of them are screwed up. It boots into "rescue" mode but none of the options work...not even droping into a console (the screen just goes black) I've also tried pressing CTL+ALT+F[1-9] ...still can't get a console. I AM, however, able to boot from the live CD and mount /dev/sda1 and...

Code:
root@livecd# chroot /mnt
Unfortunately...
Code:
root@chroot# dpkg-reconfigure gdm
Doesn't work...SO I tried using apt-get to reinstall gdm...the only problem is when I try getting the network up in the chroot enviroment I get an error saying.

[Code]...

View 5 Replies View Related

General :: Disposable Account With Root Access ?

Jul 12, 2010

I have a Web server issue for which I have hired a reputable local consultant (recommended by several people in our local Linux User Group).

For some of his tasks, he will need root access.

How do I build him an account, specifically for him that I can delete later, that will allow him both unprivileged and root access?

View 2 Replies View Related

General :: Build Mc For Kubuntu Without Root Access?

Mar 2, 2010

mc (Midnight Commander) in Kubuntu 9.10 (Karmic Koala) has a problem accessing .zip and other archives as a virtual file system. It has to do with a changed format of the output from unzip. Discussions offer a workaround, but that requires system (i.e. root) file access; my work box is locked down.

I have Ubuntu (without the K) 9.10 at home, and I downloaded the source package and made a code change that's a horrible hack (I would not dream of publishing) that would allow me to run my own correctly working copy of mc in a subdirectory of my $HOME. Alas, my "at home" box is configured differently, both in terms of processor(s) and KDE vs. Gnome; a transferred-over mc executable fails immediately with bus error.

[Code]...

View 2 Replies View Related

General :: Access As Root Staying In Another User?

Sep 20, 2010

i want to install a software in my linux machine staying in another user that i have created .It is asking for root access for some command to be execute during installation process.when I am trying to execute "sudo -s" its showing " is not in the sudoers file. This incident will be reported.".what next will i do.I am in my ubuntu machine.

View 3 Replies View Related

General :: Shut Down Xserver Without Root Access?

Jun 26, 2011

Is there any way to shut down the xserver on linux without root access? I tried ctrl-alt-f1. It seems there is still xserver running.

View 2 Replies View Related

General :: Commands To Use When Access The Parallelport Through Root

Oct 14, 2010

I have this project and it needs me to write a programe that will interface with a hardware device thruogh the parallelport.I did that, but I feel i might be using the wrong commands because when runing it i get a segmentation fault or a 'changing ownership of file ; operation not permitted.

View 2 Replies View Related

General :: PWD To Use Browser - Root Access With Dolphin SU

Jun 8, 2010

I have Mepis 8.5 and I can access root Dolphin etc. but I cannot get past the ID and pwd panel when I try to use Firefox to see my localhost sites. When I installed, I knew I should not have made using the browser to be password needed, but it was too late so I am stuck with it. As I haven't used it for a while I have fotgotten the user and pwd for this area. How can I find it or negate it so I have access once I put the localhost url in the broswer?

View 4 Replies View Related

General :: How To Give Access (same As Root) To Other User

Apr 18, 2010

How give all access (same as root) to other user because i need to run some application s/w from other user login.

View 2 Replies View Related

General :: Add User With Root Privileges And SSH Access

Nov 2, 2010

How to add user with root privileges and SSH access.

View 6 Replies View Related

General :: How To Gain Access To Root Filesystem?

Feb 1, 2011

When i installed ubuntu. I made a seperate partition so that i could copy an ISO image onto it of an up-to-date version of ubuntu. I wanted to then boot the ISO up so i could install the new version that way. I've already tried doing it through the update manager but it'll download, almost be done with installing and it freezes on me. so i figured this would be easier. However i do not know how to gain access to the other partition to copy the ISO image. Please help.

View 1 Replies View Related

General :: Yet Another Need To Access Forgot Root Password

Aug 13, 2010

I have tried: booting into single user mode (using '1' and 'single' in my bootloader edits) and it still ends up kicking me to the 'myBox login:' prompt booting from a live-CD with no luck - seems my CD drive is hosed, or the system just won't boot the CD

This is a system I set up, literally, years ago, with no need to touch it. It was originally set up as a file server, running SAMBA. I am wanting to add CUPS to it, and possibly a web server if it will handle the load. Currently, it is running Debian 4.0 without a GUI.

My next step, if I can't get into the root account, is to install a new OS (and try to salvage the file shares that exist). I just would rather keep the install that I have, but I need to hack/crack or change my root password.

View 15 Replies View Related

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

Debian :: Root Access And Desktop Disabled \ Couldn't Open The Root Terminal?

Feb 19, 2011

I was using the latest stable release of Debian, dual-booted alongside Windows Vista, with the GNOME desktop, installed via netinst, trying to build and install a library that I knew and trusted, when suddenly I couldn't open the Root Terminal. I clicked the link (in Applications->Accessories (I think, whatever the top one is)->Root Terminal), and in the taskbar I saw an item that said "Starting Root Terminal". A few seconds later, that went away, but the terminal still wasn't open. I tried the regular user terminal, to see the same thing happen. Unsure of what was happening, I tried restarting my computer, since that's always the first step you should take in computer problems.

When I restarted, GNOME wouldn't start. The screen would flash a bit for a few seconds, then a dialog box would appear over a background of static that said "The greeter application is crashing. Attempting another one...".t would then go back to the DOS-style kernel, wait a second, and then the same thing would happen. After several of that, I would get a blue screen which said something to the effect of "It has been detected that the desktop environment has crashed six times in the past 30 seconds.

Waiting two minutes before trying again." When it did that, I tried logging in as root to assess the problem. I gave it the correct password, but it said that it was an incorrect login. After several tries (to ensure I didn't mistype the password), I logged in as myself. Same problem. I tried the su command, with the correct password, and it said it couldn't authorise it.

After a lengthy conversation with a friend of mine who was very good with computers, he basically summarised that he had no clue, but that his best guess would be a virus. Upon running the Linux installer, I found the Repair option. Not being particularly familiar with Linux, I used it simply to backup my important files onto a flash drive. I then tried running the Install option, in an attempt to simply write over my existing Linux and make it new again. The installer, however, consistently froze up when trying to start the partitioner, on the "Checking disks..." stage. I figured it was a problem with my partition. In my naivete, I simply used the Windows tools to clear that partition... It destroyed GRUB too, so I couldn't run any OS. I figured my computer was pretty well screwed, and at that point just decided to bring it into the shop and have them completely wipe it.

my computer was backed up onto an external hard driven I brought it back, I reinstalled Windows. Upon restart, it said that it was still looking for GRUB, which made no sense to me. After messing around with it a bit, I decided to just reinstall Linux too. To my lack of surprise, that fixed the problem. Both OS' now ran just fine. The first thing I did on Debian was to install the Clam Anti-Virus, which I understood to be one of the best Linux anti-viruses. However, within about 10 hours, got the same problem as originally. I wasn't doing any of the same things, and between the lack of consistency in activities and the fact that I had an anti-virus running,figured it wasn't a virus. Not knowing what to do, I just left it and have been using Windows since.

View 8 Replies View Related

General :: User Access To Commands Having Root Privileges?

Oct 14, 2009

How to allow access to some commands having root privleges to be run by non root user. I am new to unix/linux and I have a major assignment. I have to find ways to run particular commands which can be run only by root from a non root user. I know sudo is one of the way but i need some different approach.

View 8 Replies View Related

General :: Enable Permissions For Pen Drive Access As Root?

Mar 20, 2011

when you attache a pen drive with windows you can drag from the pen drive to the desk top, and visa versa. with Linux logged in as normal user I can drag files from pen drive to Desktop but not the other way around. my pen drive is TITANIUM and at /dev/sdb1 mounted at /media/TITANIUM so I have to use

cp /home/user/Desktop/file /media/TITANIUM as root

If I log in as root I can drag files from pen drive to desktop and also from Desktop to pen drive. is there an easy way to give permissions for normal user. I had a look a groups and it has scanner, printer etc listed ,can I amend groups somehow to enable same permissions for pen drive access as root?

View 4 Replies View Related

General :: Limit Root Access To User Account?

Jun 24, 2010

I am a user of a cluster. I don't want root to see/copy files from my user account(obviously). Is that possible to limit the access of root to users account?

View 14 Replies View Related

General :: File Permissions And Ownership Getting Screwed Up

Sep 15, 2010

Is it possible to let users create the directory or files but only user "yat" can delete them.suppose other users are geller ross joe from group FH , who have privileges. whenever these users create file or dir , they should not able delete it.BottomLine: Group users should create file but should not be able to delete them.By the way using sgid bit didnt help .

View 14 Replies View Related

General :: Restore A Screwed-up Display In Svgalib?

Mar 14, 2010

My new computer loads the i915 video driver by default, which seems to disable normal VGA VESA and FB modes.When I use an svgalib client in VESA mode the screen gets screwed up. I can't recover. I have tried savetextmode & textmode, but those don't help. Everything else continues to work. I have to shutdown and restart to restore a normal screen mode.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved