Software :: Pam_start Error 26 \ Use Sudo Su And Add An Account To A Group What's Allowed To Use Sudo?

Jan 2, 2011

I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:

Code:
ldd /usr/bin/passwd
and

[code]....

View 4 Replies


ADVERTISEMENT

Ubuntu Security :: Apparmor Profiles - Sudo Aa-logprof / Path To Firefox Allowed All When Asked

Jul 29, 2011

I am using FF ver 5.0.1 from here After reading [URL] I did Code: sudo aa-logprof /path to firefox Allowed all when asked. But when I try to start FF in enforce mode I get

[Code]....

View 9 Replies View Related

Ubuntu :: Removed User From Sudo Group

Sep 23, 2010

I made a mistake on my friend's Ubuntu system when trying to get hard drive permissions right. I wanted to add a user to a certain group with usermod -G, but without realising I should also use -a, with the result that the user is now not longer in the sudo group. This is the only (regular) user on the system, which means I can not sudo usermod again to get it right. So what to do? The only solution I can think of is using a live disc to restore the group belongings, but I want to know if there's a quicker way. Also, I don't know what more groups the user was in. Is there a history? Or else, what are the default groups?

View 5 Replies View Related

OpenSUSE Network :: Add Windows AD Group SUDO Rights OS 11.2

Mar 30, 2010

I have joined the domain (server 2003) and can log in consistently now. Now I would like to give all the windows users in on specific group (domain power users) SUDO rights on the machines in question. I have found one way to add users on a pr. user basis, but adding 30 users will take some time.

View 4 Replies View Related

Ubuntu Servers :: Prevent Certain Group Of Users From Using Sudo At All

Jul 1, 2011

I have a box with about 30-40 users on it, and I need to prevent a certain group of users from using sudo at all. Is this even possible.

View 4 Replies View Related

Ubuntu :: Allow A Specific Group On Machine To Execute One Command With Sudo?

Aug 22, 2011

I'm trying to allow a specific group on my machine to execute one command with sudo without requiring a password, so what I want to do is add something like this to sudoers:

%groupName ALL = (ALL) NOPASSWD: /bin/bash /path/to/shfile.sh argument1 argument2

argument1 needs to be a url : http://subdomain1.subdomain2.domain.com

argument2 needs to be a path of the form /var/www/demo/SomeFolder/application/config/config.php

How do I put in a regex form that sudoers will understand ? I tried reading the sudoers manual, but it didn't help a lot .

View 1 Replies View Related

Ubuntu :: Sudo Ifconfig Eth0 Down Vs Sudo /etc/init.d/networking Stop

Jun 10, 2010

explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?

Code:
sudo ifconfig eth0 down
sudo /etc/init.d/networking stop

View 3 Replies View Related

Fedora Security :: Cannot Open /var/db/sudo After Sudo Package Upgrade?

Sep 16, 2010

A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.

View 1 Replies View Related

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

Jan 6, 2011

Kernel 2.6.21.5, Slackware 12.0

Code:

Code:

On the other hand

Code:

So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.

View 3 Replies View Related

Ubuntu :: Accidentally Changed CHGRP On User Account / Now Can't Sudo

Mar 10, 2010

I was recently messing around learning chgrp commands, and set my (only) user account to a different group. Now whenever I try to sudo a command, I get 'john is not in the sudoers file. This incident will be reported' message.I *seem* to have a root account (one is listed in System->admin->users and groups), but I'm almost certain that the password for it would be one of 3 things, and it's none of them.

View 2 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

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 Security :: Unable To Deny Sudo Access To Regular User Account.

Dec 19, 2010

I made a Desktop User account. When I went on that account, it allowed me to execute sudo as if I was an administrator. I don't know what might be causing this. I do have ufw set up and blocking incoming connections. Do you guys know what might be at the root of this?Also, when I used sudo from the user account (which I shouldn't have been able to do), I provided the password for my admin account.

View 9 Replies View Related

Fedora :: Where SUDO File At / Add Myself As A SUDO'er?

Oct 11, 2009

Where is the SUDO file at, and remind me how do I add myself as a SUDO'er?

View 3 Replies View Related

General :: What's The Difference Between Sudo Su - And Sudo -i

Jun 19, 2011

It is my understanding that they do the same: they ask for my password (if I am allowed in /etc/sudoers), and give me a login shell as root.

Is there any difference between them?

sudo su -
sudo -i

Also, what's the difference between

sudo su
sudo -s

I think that they both ask for my password, and give me a shell with my old environment variables.

View 1 Replies View Related

Server :: Sudo - Command Can't Run By Sudo

Jun 18, 2010

I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.

View 8 Replies View Related

Fedora Security :: Terminal Equivalent Of "sudo" Is It Still Sudo/KDEsudo

May 29, 2010

I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.

The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo

I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?

View 14 Replies View Related

CentOS 5 :: Apache: Sudo "can't Set Runas Group Vector"

Nov 12, 2009

I'm running out of ideas (and of forum threads to try), so here is my problem: I want to create a web page using perl to configure a router. The router is going to be used to limit bandwidth to some IPs and also to block some IPs. I'm using Centos 5.3 which comes with httpd and suexec pre-installed. The command I want to use are "route add -host ..." and "tc filter ...", these commands can only be run as root.

[Code]...

View 2 Replies View Related

Ubuntu Security :: Ubuntu Sudo Versus Windows 7 User Account Control

Jan 6, 2010

Is windows 7 UAC basically a user/system control system like sudo?

View 7 Replies View Related

Server :: Rsync Using Www As User Gives Ssh Error - User Www Not Allowed Because Account Locked

Feb 11, 2011

Apache is run as www as is all the files/folders. People are uploading via FTP, scp, so the problem is if I chmod so everyone can read, then rsync as a user it works until new files are added which then my ; if rsync fails with a permission denied. Now I can add a chmod in the script so everyone can read, but since www can already read, I figured I would just change my script to use www. I added the ssh key to his authorized_keys file, but when I try to just ssh in I see this in the secure file;

server sshd[29539]: User www not allowed because account is locked
sshd[29539]: Failed none for invalid user www from ip port 54983 ssh2

Now I read a few places already saying I need to add a password to the account, etc. but before I jump and try all I read, 1st major one, will this now break apache? Will this affect any startup things, etc. and .... will that unlock that user for ssh in or is there another preferred method?

View 6 Replies View Related

Ubuntu :: Error When Sudo Apt-get Updating?

Oct 5, 2010

When I do sudo apt-get update, this is what I get:

W: Failed to fetch [URL]... Unable to find expected entry lucid-backports/source/Sources in Meta-index file (malformed Release file?)

View 2 Replies View Related

Ubuntu :: Sudo Apt-get Update Error?

Feb 20, 2011

I'm getting an error when typing in

Code:
sudo apt-get update
I receive:
Code:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
I'm running Umbuntu 10.10 and am quite new to all this

View 9 Replies View Related

Ubuntu :: Sudo Apt-Get Update (GPG Error)

May 22, 2011

I can't check any update and can press button install Updates. I have this warning message. If I use terminal for update, I have this error (sudo apt-get update):
GPG error: [URL] natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 638ABCA0FA3A1271

View 3 Replies View Related

Debian Configuration :: Kdesudo Error (same For Sudo)

Sep 21, 2015

Seems like this is a running issue. also, sudo returns "The value user is not in the sudoers file. This incident will be reported" kdeusu just makes a noise and returns nothing.. In the past i had a workaround of using nautilus, but, nautilus seems to be missing from jessie repo (same for gnome files).

[URL] ... ssoo... this happened and it seems to be going somewhere, but, i can't really make sense of it, and there was no solution..

Also found this [URL] .... and the pathnames should be fine but i don't want to go around arbitrarly entering commands

There was also [URL] .... which only mentions using kdesu which... doesn't really 'exist' anymore.

View 4 Replies View Related

Ubuntu :: Error When Running Sudo-apt Get Update

Oct 17, 2010

When I go to terminal and run

Code:

It runs for a while, then at the end it gives me a error message that says:

Code:

Now what am I supposed to do to fix this problem?

View 7 Replies View Related

Ubuntu :: Error With Update Manager - Sudo Not Known

Oct 31, 2010

I just got this error message when Update Manager tried updating:
Could not initialize the package information
An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:
'E:Type 'sudo' is not known on line 56 in source list /etc/apt/sources.list'
I've been using Ubuntu for awhile, so I know my way around some stuff, but I'm completely lost on what to do here.

View 4 Replies View Related

Ubuntu :: Sudo Apt-get Update - Resulted In The Error

May 7, 2011

Recently sudo apt-get update (and all other apt-get commands) has resulted in the error:

Quote:

I have apt installed, and I don't know of any changes I've made (I booted a Freebsd install dvd but I didn't end up installing (i'm looking at putting it onto an external hdd).

Output of sudo find / -name "apt-get" -print:

Quote:

Quote:

Quote:

I still seem to be able to install/update from update manager and synaptic, but I rely on command line for apt-get update when I'm not at uni (which runs through a proxy).

View 8 Replies View Related

Ubuntu :: Error - Sudo: Unkown Uid: 1000

Jul 23, 2011

I deleted /etc/passwd.lock and /etc/gshadow.lock. Now when I run normal command installation, I receive this following error-

rocky@ubuntu:~/Downloads/Modified Oracle$ sudo apt-get install bc
sudo: unknown uid: 1000
rocky@ubuntu:~/Downloads/Modified Oracle$

I'm unable to use sudo, please let me know what did I messed up. And how I correct this mistake? Why unknown uid:1000 is coming?

View 7 Replies View Related

General :: Sudo Path Variable Error

May 28, 2010

I'm having a strange issue with the PATH variable when running the command 'sudo su'. When executing this command the PATH variable changes. No problems there, but it changes to:

Code:

Looking at this, there are two weird entries (//sbin and //bin) which should both start '/usr' instead. I'm not sure how I've managed to change this, or how a piece of software I'm using has done it (more likely it was me I expect), but could anyone suggest which file to look in to correct it? If it makes a difference the machine is running CentOS 5.

View 2 Replies View Related

Ubuntu :: Error: Sudo: /etc/sudoers Is Owned By Uid 1000, Should Be 0

Jan 4, 2010

I have a problem, I changed the own of all the etc folder, it was a mistake, but I can't change it again, now, I cant use "sudo" because root is not the own. When I try to use "sudo" this is the error: sudo: /etc/sudoers is owned by uid 1000, should be 0. so, the own is my user instead of the root. How can I change it again?

View 6 Replies View Related







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