General :: Set-up Of SUDO Access / Options?

May 31, 2011

I want to know how to setup SUDO, here is exactly what I mean. I have Zorin which is a ubuntu build, I have it upgraded to the newest 11.04 - My main user is Hevithan and I have a seperate user account called GUEST for anyone who wants to use my laptop. Hevithan I guess was setup to have max root powers cause when I type sudo in terminal with no option specified it returns:

Code:
Hevithan has access to
all (ALL)
all (ALL)
all (ALL)

I want to setup my GUEST account to have virtually no powers (no installing files or programs, no using Ubuntu software,no altercation of anything on the Hevithan account,etc), But I want anyone using it to be able to fix things using the terminal if need be (such as my cousins or girlfriend). To what things should they be allowed to do to able to fix but not alter? And if I want them to not be able to install programs or download porn (video at least) and $#!+, but still get things like MP3s and wallpaper images is that possible?

View 5 Replies


ADVERTISEMENT

General :: How To Add SUDO Access

Jul 13, 2010

How do I give a regular user account sudo access?

I'm using CentOSv5 (essentially Red Hat Enterprise 5).

View 11 Replies View Related

General :: Provide Sudo Access To Oracle User?

Dec 9, 2010

I need to provide sudo access to Oracle User, run only this particular "SRVCTL" command.

Do I need to edit "sudoers" file .if so where do I need to add these two lines in sudoers file.

1. apps/opt/grid/bin/srvctl

2. /apps/opt/oracle/product/11.2.0/db_1/bin/srvctl

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

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 :: Unable To Access Sound Options

Jan 28, 2010

I had some horrible issues with pulseaudio so I deleted it and am using alsa. This is working well, however there are two issues now.

1. I am unable to access the sound options on System/Preferences/Sounds. When I click the icon it states "waiting for the sound system to respond" and that's where is stays.

2. I lost the volume control in gnome when pulse was deleted. I can see it in the system monitor as "sleeping" and when I try to initiate it in the terminal, I get the same response "waiting to the sound system to respond". Did I delete something I shouldb't have when deleting pulse? I followed the tutorial on it and did nothing on my "intuition".

View 7 Replies View Related

Ubuntu :: Get Access To Other Site NO SUDO

Aug 13, 2010

I've got my username on Ubuntu (I can't remember version number, but its 6 months old aprox)..

I'm the sole user (& admin)..

I have /home/myusername/ & can edit all files (without using sudo), but if I want to edit a file in another directory - i need to use Sudo..

I'm setting up a website /home/website/

(this is the same structure as the external website I'm going to edit, i want the directory structure to be the same..)

is there a way, I can allow FULL access to the /home/website/ directory - While logged in as /myusername/

(IE So I do not need sudo (or any 'admin' command), to edit the files )

View 7 Replies View Related

Ubuntu :: Get Root User Access Without Using Sudo?

Apr 23, 2010

It's been a few years since I last installed Ubuntu. I searched the forums and can't seem to find the answer. I want to be able to do a "su root" and have root access. I know Ubuntu wants you to do the sudo command, and I know you can really mess things up being root. I know I got this to work before. What do I need to do?

View 3 Replies View Related

Ubuntu :: Only User Cannot Gain Sudo Access

May 11, 2010

I'm the only user, can login (meaning I know my pass). But cannot Sudo. I'm on Ububtu Studio, the latest release. Doesn't make any sense.

View 2 Replies View Related

Ubuntu :: Programs Can't Call For Sudo Access?

Sep 29, 2010

Let me see if I can put this coherently: Programs that require super user authentication AFTER they have been launched (for instance,in the time settings applet, you have to sudo authenticate to update the clock, but not just to open the applet. Another instance is Ubuntu-Tweak, which requires admin rights for some of it's functions.)

[Code]...

Any other information provided on request. I'm using Ubuntu 10.04.1, all updates applied.

View 3 Replies View Related

Ubuntu :: Installing Packages Without Sudo Access?

Nov 24, 2010

I do a lot of testing and developing on an Ubuntu machine at my university, and I don't have sudo access to the machine. It hasn't been a problem so far because the tools I've needed have been installed.

However, I have to build OpenCV, which has a lot of dependencies, some of which (notably, libbz2-dev) aren't installed.

I have access to localtmp on the local drive, and of course my own home folder (which is on NFS). Is there a way for me to install a local version of the tools I need using apt-get without sudo access? If not, is there another way to install them? I've been using CMAKE_INSTALL_PREFIX=/localtmp for some builds, but I'm not sure if this is the way to go, or if there is a better way.

tl;dr Is there a way to install applications locally without the ability to sudo?

View 5 Replies View Related

Ubuntu :: Making Shortcuts With Sudo Access?

Mar 8, 2011

Sorry if this is on the forums some where but I couldn't find what I needed, and not even with Google's mighty help. Basically I have a game, called Age of Conquest III, which I got working just fine, but it won't save any setup or game files unless I run it as sudo from the terminal, example in terminal: Sudo /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III" Now I created a short cut with the command being just: /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III"

What command do I put in my shortcut command to get it to open up like in my terminal command? I tried: Sudo /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III" but this won't open anything.

View 6 Replies View Related

Security :: Sudo Access For An User To A Script?

Jan 18, 2011

I am trying to get a non-root account on one of our servers to run a script with sudo capability. To that end, I went into the /etc/sudoers file, and added the following syntax:

Code:
## Enable the nagios user to run the check_iptables.sh script as root
nagios ALL=NOPASSWD: /usr/local/nrpe/libexec/check_iptables.sh, /sbin/iptables

I restarted the nagios service, and tested the results. The results were the user account still could not run the script due to the user, nagios, not having permission to run the iptables binary.

Is there another step(s) that I need to take in order to get the sudo access available to the user account?

View 1 Replies View Related

Slackware :: Sudo Does Not Allow Access To Root Commands

Feb 22, 2011

In order to allow me to shutdown my PC from within fluxbox without being root I ran "visudo" and added the following line:

Code:

psionl0 ALL=(ALL) NOPASSWD: ALL

A check that the line had been accepted showed all ok:

Code:

bash-4.1$ sudo -l

User psionl0 may run the following commands on this host:

(ALL) NOPASSWD: ALL

Yet when I tested it out, I got nowhere:

Code:

bash-4.1$ sudo pkgtool
sudo: pkgtool: command not found
bash-4.1$ sudo shutdown -h now
sudo: shutdown: command not found
bash-4.1$

Have I done something wrong or isn't sudo meant to be used this way?

View 12 Replies View Related

OpenSUSE Install :: Forgot Root Password - No Access To Boot Options

Jun 27, 2011

I forgot root password. I read that I have to access boot options during start up. I have two choices "desktop", "failsafe". There is boot options below but I cannot access it.

View 5 Replies View Related

Programming :: MHC Modula-2 - Cannot Access The Command Line Options And The Environment Variables

Jul 2, 2010

Anyone else using the Mill Hill & Canterbury (MHC) Modula-2 to Java compiler?

[URL]

I cannot access the command line options and the environment variables.

View 2 Replies View Related

Security :: Limit Sudo Access - No Password Prompt

Feb 17, 2011

I have been reading guides for a while now and so far have not found an exact solution to my problem.

I want a linux user (dave) to be able to switch to another account (patrol) without a password prompt, but dave must still be denied access to root. Patrol must also be denied root access.

In the sudoers file

Code:
User_Alias Patrol=dave,john
root ALL=(ALL) ALL
Patrol ALL=(patrol) NOPSSWD: ALL

[Code].....

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

Security :: Using Sudo To Give Read Access To Specific Directory?

Apr 29, 2011

I have a log server that collects logs from all the cisco devices on our network.he company policy states that any logs should only be accessible by root. So I have the following permissions set on the directory, as well as everything inside the directory where the cisco logs are kept.

Code:
drwx------ 65 root root 4096 Apr 29 7:38 rsyslog
The cisco folks are requesting access to these logs, which is allowed by company policy.

[code]...

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

Ubuntu Installation :: Installer Options - Can't Select Any Of The Menu Options Except For Boot From First Hard Drive

Mar 19, 2010

So I have the burned ubuntu CD, and I'm attempting to install it on a system that has one HDD with XP/Vista on it, and another that is completely formatted and unpartitioned. However, when I boot to the ubuntu CD, I can use the menus from the bottom, and select the language when initially prompted, but I can't select any of the menu options except for boot from first hard drive.

View 1 Replies View Related

Ubuntu Servers :: Webdav + Nautilus = Forbidden - DON'T Have "Options Indexes" In Apache Config File When Try To Access Via Firefox

Feb 20, 2010

I've installed webdav on my server and I can access it fine through cadaver. However, when I try to access it via nautilus, I get Forbidden. It is NOT secured (SSL). When I try to access it via firefox, I get an error since I DO NOT have "Options Indexes" in my apache config file. If I add this option in, then I can browse the root direction and webdav folder via firefox, but still not from nautilus. what other information you need. I've googled and searched the forums for awhile, but not "solutions" I found have worked for me. I want the webdav folder to just be a single folder within the direction, so this is how I have my config file setup:

[Code]....

As a side-note...when I included "Option Indexes", it allowed me to view the passwd.dav file from firefox!That doesn't seem very good...

View 4 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 :: The "sudo Cp -r" Command Set The Destination Folder To Only Root Access?

Feb 27, 2010

Before, the "sudo cp -r" command automatically set the permissions to make the directory / files can be accessed by others.

But, after I reinstall Ubuntu 9.10 and apply all the latest updates, "sudo cp -r" command set the files to be accessible by root only.

After I copy the codecs directory to /usr/lib by using the above command, not only I cannot view the files inside, SMPlayer and other player software cannot access the directory.

To fix this, I have to run the chmod command to change the permissions.

Does anyone face this problem? Was it caused by the installation of latest updates?

View 6 Replies View Related

Ubuntu :: Shortcut To Access Sudo Nautilus (gksudo Nautilus) From The Current Window

Feb 11, 2011

Is it possible to change my current nautilus window to have sudo capabilities,? e.g. to delete locked files. It may be lazy but if it takes a lot of navigation then it would be handy to somehow activate sudo from the open window without the terminal command (gksudo nautilus) which always begins at root.

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

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

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

General :: What Are The NFS Options

Jun 17, 2011

I am having a system with NFS SERVER's and NFS client's. In my system, NFS Client transfer data when NFS server crash or network crash. NFS SERVER wait more than 10 minutes (I don't know real waiting time).My question is how to control that waiting time ?. can i set that time is 5 minutes. then NFS server will wait for 5 minutes after NFS server crash.after 5 minutes NFS client will give a error message ( to APPLICATION)

View 1 Replies View Related







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