Debian :: Can't Get Sudo / Admin Privileges

Jan 11, 2016

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.

View 14 Replies


ADVERTISEMENT

Security :: Ubuntu 10.10 Is Not Allowing Amin Privileges To Admin User, Even Tho Sudo Works?

Feb 21, 2011

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

Quote: Originally Posted by firefox error console

Error: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: file:///usr/lib/firefox-3.6.13/components/nsSessionStore.js :: sss_writeFile :: line 2944" data: no][code]...

i have sudo priveleges and can install via update manager. i read somewhere that compizfusion might affect access permissions and i do use compiz and emerald at the same time.

View 9 Replies View Related

General :: What Are The Privileges Of Admin Vs. Root.

Mar 15, 2011

Also, how can I change between the two?

View 4 Replies View Related

Ubuntu :: End Admin Privileges Before 10 Min.s Are Up In Lucid Lynx?

Nov 12, 2010

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?

View 3 Replies View Related

General :: Create User With Non Admin Privileges?

May 6, 2011

i have centos5.3 i want to create user with non admin privileges he is unable to see contents of server only he will able to login nothing else

View 12 Replies View Related

Ubuntu :: Admin Privileges - Permission Denied Error

May 11, 2010

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?

View 1 Replies View Related

Ubuntu :: Setup .BAT From Windows Asks For Admin Privileges?

Nov 5, 2010

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....

Screenshot-1.jpg

then shows this, pressing return closes the window

Screenshot-2.jpg

i am using Ubuntu 10.04 LTS - Lucid Lynx

View 3 Replies View Related

General :: Samba PDC + New Windows 7 Machines Admin Privileges Not Working?

Dec 17, 2010

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.

View 2 Replies View Related

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).

View 3 Replies View Related

Ubuntu Installation :: Multiple Admin Passwords - Opration Requires Root - Administrative - Privileges

Jan 10, 2011

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?

View 9 Replies View Related

Ubuntu :: No Users With Sudo Privileges?

Apr 15, 2010

I was adding me and my bud to a new group I created, but I used -G instead of -g as the tutorial suggested, I think this removed me from all other groups and put me in the new one. The same with my bud. Now I dont have sudo privileges, nor does my bud, and we have not set a password for the root account.

Code:
sudo ls -l
USER@SERVER:/var$ sudo password for USER:
USER is not in the sudoers file. this incident will be reported.
USER@SERVER:/var$

View 2 Replies View Related

Server :: Reduce Privileges Sudo Users

Jul 31, 2010

i want to create a sudo user, sudo user should not start or stop the service. as like a normal user i created a user called root2 and i edited the user with visudo command and added the below line to the user root2 and got the full privilages.

root2 ALL=(ALL) ALL

i commented the below line ##Cmnd_Alias SERVICES = /sbin/service, /sbin/chkconfig eventhough the sudo user root2 can start and stop the service which i dont want to give that privilage.

View 3 Replies View Related

Ubuntu Security :: Sudo Versus SU And Superuser Privileges

Jul 19, 2011

So, I'm not quite sure what the difference is? Is it that sudo allows you to "borrow" superuser privileges, whilst su allows you to actually log in as superuser? Also, when I sudo [command] and get prompted for a password, after I input it, things work just fine, but if I su, and then get prompted for a password, I can't log in as superuser... Why is this?

View 9 Replies View Related

Ubuntu :: Can't Get Sudo Users-admin To Run

Aug 2, 2011

I can't get sudo users-admin to run. This is the error I get:

Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported aborting...

View 2 Replies View Related

Fedora Security :: Limiting Sudo - Giving Full Privileges To The Wheel Group In The Sudoers File

Feb 15, 2011

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:

# Defaults specification
Defaults:Troy timestamp_timeout=0, passwd_tries=3

Will that really work to limit the elevated privilege so I don't have elevated privileges lingering about, or is there a better way to do so?

View 3 Replies View Related

Ubuntu :: No SUDO Access When Admin User Created Through Kubuntu User Manager?

Jan 6, 2010

Original HOWTO can be found at: [URL]... So the other day I was in IRC and someone had brought up a problem where they created a new Administrative user, but didnt have rights to use sudo. Looked into the problem a little bit to figure out what was wrong, and it turns out that when you create a new user through the user manager (in kubuntu, anyways. Havent tested in Gnome.) the user gets added to the adm group, however, a quick look at the sudoers file shows that its looking for users in the admin group to allow the use of sudo. So, to solve the problem we do the following: If youre on the new admin user (which Im assuming you are) use the following commands:

Code:
su [insert username of old account without brackets]
sudo usermod -G admin [username of new admin account without brackets]
exit

Then simply logout, and then log back in (not always necessary, but the easiest way to flush the permissions.)

Code:
su [insert username of old account without brackets]
Means were going to Switch User to the old admin account
Code:
sudo usermod -G admin [username of new admin account without brackets]
This simply adds the admin group to the secondary group list for the new user
Code:
exit
Pretty self explanatory

View 4 Replies View Related

Ubuntu :: Make Sudo Act More Like The Debian Sudo?

Jul 2, 2011

I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password

View 8 Replies View Related

Debian :: How To Sign In Or Install For Root Privileges

Feb 28, 2015

I used Zorin, Ubuntu, and Kubuntu. Even though Kubuntu was my favorite because of the KDE platform, it still didn't have what I was looking for. With Debian, the KDE platform works great, it uses KDM instead of LightDM, (you can do more with that), and the choices of software for setting it up as a server is great. The problem I having right now is with the root privileges. With the other Debian based systems I used, root privileges was not a problem. When I signed in, it was with my user name and my root password.

Every time I did updates or installed software, it ask me for authentication which is my root password. And if I had to use su or sudo commands in the terminal it ask for my password. I had no problem with that. I'm just as big with security as any Unix based system users. And Linux has that. That's one of the big reasons I left Microsoft Windows for Linux. There was times when I had to have full root privileges for just a short time, and my favorite command was sudo nautilus. This was perfect.

For example, sometimes I had to get in to the opt folder for a brief moment to past a web page in it. Opt is a root folder. It can be opened with out a root privilege, but you just can't past files to it. Sudo nautilus was perfect for this because it is a temporary root privilege. Close the terminal and the root privilege session ends. This is great. You don't want root privileges all the time you're log in. That can be dangerous because it's a high security risk.

With Debian, I have not been able to get any root privileges. And without root privileges, I can't load much needed software, can't access my second hard drive, matter of fact, the second hard drive doesn't even show up. I can't really do much of anything. Is there something I can do when I am installing Debian to fix this or how do I get the root privileges I need?

View 3 Replies View Related

Debian :: Grant Apache 2 Write Privileges To A Directory

Feb 15, 2011

i want /mydata to be read/write by the web server. What group and user showld i use?

View 2 Replies View Related

Debian :: Screen Session Loses Write Privileges After Logging Out?

Sep 11, 2010

When I start a screen session over SSH, I can edit and save files from within the screen session before I log out of the SSH session. But after I log out and log back in, I find that the screen session has lost write privileges, so that I can no longer edit or create any files, even within my home directory. How do I prevent this from happening?

View 1 Replies View Related

Debian Configuration :: Shutdown/restart Privileges Under Gnome On Squeeze?

Mar 14, 2011

in configuring a fresh install of Squeeze. I discovered that it is possible to power off the system under gnome simply by pressing the power button or by selecting the "Shut Down" entry on "System" menu.However I need to restrict this option only to root. How can I do that?

View 7 Replies View Related

Debian Multimedia :: ESATA + Thunar: You Do Not Have Privileges To Mount <volume>

May 16, 2011

how to get thunar with xfce 4.6 to mount external hard drives. Thunar with xfce 4.8 uses udisk, and all external and internal hard disks show up in the sidebar.With thunar in debian squeeze, though, no internal or external hard drives show up.

I can live without internal hard drives showing up, but I'd like to be able to mount my eSATA drive automatically. So far I've been completely unsuccessful in getting an entry to show up in thunar (like when a usb flash disk or cd is inserted), so I've added an entry to fstab:

LABEL=LIBRARY   /home/library   ext4   noauto,defaults,users And that doesn't seem to do anything. With and without the fstab line, I get a popup saying something like "Unable to mount volume "LIBRARY". You do not have priviliges to mount LIBRARY."

Everything else seems to mount fine. It's just that thunar/hal/whatever thinks that my eSATA drive is an "internal" hard drive and so doesn't treat it as removable.ALL of my drives, internal and eSATA, show up in the gtk "places" menu that is used in file-roller, iceweasel, etc. If I could find a way to get thunar to do this (like it can wtih xfce 4.8 and udisks) that would be GREAT.

EDIT: I also wanted to add that they show up in pcmanfm, but it also tells me "Not authorized" when I try to mount them.

View 4 Replies View Related

Debian Hardware :: Insufficient Privileges For Mobile Broadband Dongle

Dec 9, 2014

I've just installed Debian 7.6.0 with KDE onto my laptop and now I want to connect to the internet with my Mobile Broadband dongle. When it's plugged in, I follow the icon in the taskbar to the Network Connections window.

Then I try to add a MBB instance with the pop-up assistant. After I've answered all the questions another pop-up tells me:-

"Insufficient privileges"

What's going wrong here and how do I get Debian to work the dongle (which works on my Desktop Debian 7.5.0 that uses Gnome)?

View 0 Replies View Related

Debian :: Assign An Admin Account To FTP?

May 1, 2010

I just installed ProFTPD. So I want to create a user namely ftpadmin. He belongs to the new usergroup ftpuser that I just created.

sudo groupadd ftpuser
sudo useradd -s /bin/false -g ftpuser -d /var/www ftpadmin
sudo passwd ftpadmin
.....
chmod -R g+w /var/www

and when I followed the tutorial

chown -R ftpadmin /var/www/*, chgrp -R users /var/www/*

it returned an error "invalid mode: ftpadmin " why?I want my users to login my server via FTP

View 1 Replies View Related

Debian :: Non Admin Login LDAP

May 18, 2015

I'm new to LDAP. I've installed LDAP Server and I stated:

Code: Select allaccess to * by * write

I can login with admin and anonymous, but when I try non-admin user ldap respond:

Code: Select all conn=1137 op=2 RESULT tag=97 err=49 text=

Is there any requirements for creating a non-admin login user, because the "user", that I've created is not ObjectClass: Posix-Account, but ObjectClass: person, organizationalPerson?

Also I've tried to add ObjectClass shadowAccount and SimpleSecurityObject, but without any success...

View 0 Replies View Related

Debian :: Edit File As Admin?

Apr 2, 2011

I logged on, opened the terminal an logged on as su no problem Could not open the document I wanted to edit. I am trying to switch from USB 0 to USB 1 so I can listen to my Bose Speakers used to be Windows tech. Many years ago.

How do I open the file edit the file save the file. can I log on as admin and use text editor.

View 4 Replies View Related

Debian :: Running Admin Commands As Non-root

Apr 4, 2016

I use two separate systems both running Debian 8. On one (my main) I can't do some commands including ping, shutdown and reboot without running them as root user, however on my other system I can ping and reboot as a non-privileged user. The permissions on both systems are the same for /bin/ping and /sbin/systemctl (reboot). I thought at first it was something to do with what groups my main was in, but that doesn't seem to be the gase.

I know I can fix it by setting setuid for both, but my question is why is it different on both machines? Is there a global setting controlling this in /etc or perhaps an icmp setting?

View 7 Replies View Related

Debian :: Admin Can't Unlock User Account

Feb 7, 2016

I made the mistake of using the command 'adduser' on an already existing user. I was incrementing a name and mis-typed. Now the account refuses to recognize the users password. The user can get in.

I tried resetting the password as administrator (passwd 'user'), but when the user tries, the new password isn't recognized.

I tried expiring the account password (passwd -e user). The user gets prompted for a new password, but the new password still doesn't get recognized.

View 14 Replies View Related

Debian :: Modify To Automatically Grant Root Privileges And Execute Commands When Starts?

Aug 22, 2010

I'm connected to the internet using a wireless router. Each time I boot, I have to grant root privileges and type in a shell: iwconfig wlan0 essid linksys key dhclient wlan0 Isn't there a file(or location) that I can modify to automatically grant root privileges and execute these commands when debian starts? Something like autoexec.bat in windows.

Something else I'd like to mention is when I execute iwconfig.... for the first time, I get this incomplete result:

IEEE 802.11bg  ESSID:"linksys"
Mode:Managed  Access Point: Not-Associated   Tx-Power=27 dBm
Retry  long limit:7   RTS thr:off   Fragment thr:off
Encryption key***********
Power Management:off

[Code]...

View 4 Replies View Related

Debian Configuration :: Default Admin Password For Ntop

Feb 1, 2016

I installed it from the packages list and the eye candy has been good.

However, in trying to fix an error showing up in syslog

Feb 1 17:37:38 host ntop[30764]: **ERROR** Buffer too short @ dataFormat.c:144 (increase to at least 56) [230982 years, 187 days 7:107374]

I started looking at the configuration files; well attempted. It asks for a login. It isn't any user or root, but apparently is admin, but IO don't ever remember setting it.

Various web search suggests it is done at compile(downloaded compiled) /installation, but I have no recollection of entering any.

There is a Redhat/Centos wrinkle ntop -set-admin-passwd=password; but that puts out a lot of lines, then hangs and has no effect.

Note, despite message(old version of ntop), it is up todate in packages.

View 2 Replies View Related







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