Server :: Make A Normal User Execute Commands Of The Super User's?

Jul 3, 2010

I have a question that i want to make a normal user to execute the commands which the root user is able to execute, say if i have a user named siru and when i logged in using siru i cannot run commands like tracert,nmap@loccalhost and all but i can run when i have logged into root account so my question is how to make siru to run the command tracert,nmap@localhost.I have even edited the .bash_profile of siru's home directory from

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then

[code]...

View 1 Replies


ADVERTISEMENT

General :: Give Permission To Execute Process As Super User?

Jul 27, 2010

I have a program(that is written by me) which need super user permission to execute it. But I need to let the normal users to execute it without using 'sudo ./executable' and just './executable'. how i can set the program to execute by the normal users without using 'sudo' or password prompting.

View 2 Replies View Related

Red Hat / Fedora :: Make An AD Domain User To Be A Super?

Dec 31, 2010

I have a very stupid case, I have to use a domain user to install one software in RHL4.8, but this software need a super-user permission but not root.
So I need a domain user who has super-user permission.
Not use su, sudo.
If I use su or sudo ,the software will be installed under root. The requirement is the software must be installed under a domain user.
How can I do?

View 4 Replies View Related

General :: How To Allow User To Execute All Commands Without Sudo

Apr 30, 2010

Customer asked me to create a menu for linux he also asked me to do this: Open like a command like where a user can execute commands...so for this the users have sudo enabled. The code below works OK. But it has an issue when a command is executed but the command does not need sudo

Like for instance
Code:
cd /
sudo: cd: command not found

How can I allow a user to execute all commands when a command does not need sudo
Code:
echo -e "Press Control+C to finish"
#echo -e " "
while true;
do
read whichcmd?"Insert Command: "
sudo $whichcmd
done

View 3 Replies View Related

General :: Script Which Will Login To Particular User And Execute Some Commands?

Mar 19, 2011

I am trying to write one script. Purpose of my script is that it will login to particular user and it will execute some set of commands.What I was trying....


#!/bin/bash
su - tom
ls -lrt

[code]...

View 6 Replies View Related

Software :: Vim Plugin - Edit A File As A Normal User - Commands Won't Work

May 4, 2011

I was looking at some Vim plugins, and I installed one called Abolish. The page from where I got it [URL] only says:

install details
Extract in ~/.vim or ~vimfiles

So I extracted it in ~/.vim. Now, the issue is that, if I edit a file as root, I am able to use the commands; however, when I edit a file as a normal user, these commands won't work. So... could this be a permissions issue? Or should I copy the plugin in some other directory, maybe?

View 6 Replies View Related

Ubuntu :: Can't Write Super User Password In Console / Make It Possible?

Feb 21, 2010

When i try to write the password this happens

http://s890.photobucket.com/albums/a...Screenshot.png
spawn this black thing and i cant write.
any idea?

View 9 Replies View Related

General :: Write A Shell Script That Allows Only User 1 And User 2 To Execute A Program?

Feb 25, 2010

I've looked everywhere but I can't find where to change the default box for incoming mail, or am I on the wrong track. It's a nuisance having to change folders and I can't configure wastebin to empty on exit.And I can't get kmail to import from evolution. Do I have to go to the evolution storage and do it manually, and if so, how do I do that?

View 1 Replies View Related

General :: Execute My Scripts (example.sh) Files Like Other Normal Commands From Command-line?

Jun 23, 2010

I just want to know that how can I execute my scripts (example.sh) files like other normal commands from command-line. Please describe the full method

View 5 Replies View Related

Server :: Login Root From Normal User?

Aug 4, 2010

When I try to login root from my normal user, I can see this:

Code:
Cannot exec /usr/libexec/openssh/sftp-server: File or directory doesn't exist
(Translateted from my nativ language)

I think that is my bad shell configuration so I check file /etc/ssh/sshd_config and see in the end (this lines couse this bug):

Code:
Match User root
ChrootDirectory /home
AllowTCPForwarding no
X11Forwarding no

[Code].....

View 2 Replies View Related

Server :: Command Mtr Access As Normal System User

Oct 23, 2010

I am using vicidialnow 1.2 VERSION: 2.0.4-122 and BUILD: 81011-0855 (CEntos Based Dialer). In all the way, it is working fine. I want to give the access of command /usr/sbin/mtr to a Normal System USer, which is not working according to my wish. I have make the entry in as sudo or make the soft link of /usr/sbin/mtr to /bin. But all in vain. And i am not in the condition to give the root access to the user.

View 4 Replies View Related

Fedora :: Instant X Server Restart When Logging In As Normal User With 9

Feb 10, 2009

My X server restarts as soon as I log in as a regular user. Root user has access. I can log in both root and normal user in terminal and over SSH. I tried rebuilding and installing the proprietary NVIDIA driver, as it builds it's own config file for X. I've had no previous problems with X on this system. The last major change to the system before the last log out was the installation of MCNP5. MCNP5 was installed under the regular user; no root privledges were needed.

View 8 Replies View Related

Server :: Get IP And Commands Executed By User

Jan 3, 2011

i have a linux server, the Operating system is SUZE 9 but i need to see all commands executed by any users connected on the server and the ip of the host in a log file.the history file does not contain all info that i need .please is there a way to write a script in order to save this problem .

View 2 Replies View Related

Ubuntu Networking :: Mount A Server Partition With Normal User Access?

Jan 26, 2010

I need to mount a partition that is on a server (via samba).

I am doing the following in my fstab

Quote:

//server/www /media/www cifs rw,user,allow_other,default_permissions,credential s=/root/.smbcredentials,iocharset=utf8,dir_mode=0777,file_ mode=0777 0 0

I can mount it but it just allows me to access with the root user. How can I do it to get access with any user?

Additional Data: I added "rw,user,allow_other,default_permissions" because I thought that would solve de problem but it didn't.

View 1 Replies View Related

Server :: AD User Login To Nagios - Unable To Execute CGI Scripts In Apache

Apr 25, 2011

I have a nagios server monitoring around a 1000 hosts in our office. To make things easier, i've integrated apache into Active Directory for the website authentication. This works perfectly, however the Nagios website uses alot of CGI scripts to display information I get the message below when trying to show CGI scripts with an AD user. Local users work fine. 403 Forbidden You don't have permission to access /nagios/cgi-bin/status.cgi on this server. I tried adding the AD users to the cgi.conf file within Nagios (which works for local accounts) but it doesn't seem to work even with this change.

View 4 Replies View Related

CentOS 5 Server :: Login As Postgres User And Enter Commands?

Sep 10, 2010

I've had a server setup working perfectly for the last 2 years. Today we installed a newer version of postgresql and recompiled apache/php.

Postgresql will not start now.

"service postgresql start" = /var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first. To initdb we need to be as user postgres.

"su - postgres" = "no file or directory"

In /etc/passwd = postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash

how i can login as postgres user and enter these commands?

View 2 Replies View Related

Ubuntu :: Unable To Log In As A Super User?

Apr 22, 2010

Recently I installed Ubuntu using WUBI. During installation it asked for a user name and password which I filled in. That user name and password are the same that I now use to log into ubuntu. But now I am unable to log into super user using the terminal. When I try to log in to the super user account it says that the password is wrong. During the whole installation process only once did wubi ask me to enter password and I am using the same password. My windows user name and password are the same as what I entered during installation.

View 3 Replies View Related

CentOS 5 :: Create A Super User?

May 16, 2009

I understand how to create a super user, but I do not understand how to create a password for that user. Can someone tell me how to please? Also when do I do this? Logged in as who?

View 1 Replies View Related

Programming :: Write A Perl Script Which Will Give An Interactive Session To A User To Execute Command On The Server

Feb 25, 2011

I am trying to write a perl script which will give an interactive session to a user to execute command on the server. I have written a small script to do this :

Code: !/usr/bin/perl -w
use strict;
use Net::SSH::Perl;
my $host = '192.168.1.1';
my $username = 'user';
my $login_passwd = 'test123';

[Code]...

View 2 Replies View Related

General :: Run Systemsettings In Super User Mode In Kde 4.3.4?

Jan 24, 2010

I am trying to set up samba server on my box, and the easiest way seems to be to use the kde4 samba setting dialog. I need to run it as super user though. I tried

su -
systemsettings

but the window doesn't seem to appear on the screen.

View 1 Replies View Related

Ubuntu :: Folder Has Locked - Cant Log As Super User?

Nov 24, 2010

i gave the permission (chmod 647) to etc folder without thinking much. and now i cant log as root and cant do anything.

View 6 Replies View Related

Ubuntu :: Run A Program As Super User (root)?

Feb 15, 2011

I have been trying to run the program unrevoked so that I can flash and root my phone. I want to do this on Linux, but this requires me to run the program as root and I don't know how to do this. I looked it up online and it told me to simply type sudo reflash or gksudo reflash and I tried both, sudo says it can't find the program and gksudo does something then nothing appears to happen.

View 4 Replies View Related

OpenSUSE :: Launching KDE Applications From Dolphin Super User?

Mar 8, 2010

In Dolphin Super User mode trying to launch an application such as Kwrite gives the alert

KDEInit could not launch '/usr/bin/kwrite

"use Konqueror super user"
"launch from terminal su"

This is present in Opensuse 11.2 with KDE 4.3.5

View 4 Replies View Related

OpenSUSE Install :: Super User Account List

Mar 22, 2011

Yast->Users and Group Administration->set filter: system users.I get a very long list, including an account called "nobody".

View 3 Replies View Related

Ubuntu :: How Is Super User In Authentication Prompt Determined

May 3, 2010

How is the super user determined for the dialog box that pops up when trying to perform administrative tasks, "An application is attempting to perform an action that requires privileges. Authentication as the super user is required to perform this action."? Does it always ask for the password of the default user created during the OS install, or should it prompt for the current user's password if that person is an administrator?I use likewise-open for windows domain authentication, so I typically log in as a windows user that likewise-open has added to the list of users on this system. I have given this user sudo access and added the user to all the same groups as the default user, yet whenever I perform an administrative task in gnome I am prompted for the password of the default user. Is this normal? It seems like the behavior would be to ask for the current user's password if that user is an administrator, and if so what determines that the current user is an administrator?

View 4 Replies View Related

Ubuntu :: Firefox Plugins Only Work For Super User?

May 12, 2010

I'm running Ubuntu 10.04 minimal with Openbox; far from a standard install but nearly everything works the way it should.

The problem appears quite simple:

Firefox does not recognise installed plugins (i.e, Flash) when running as the standard user; if I run the command 'sudo firefox' however, Firefox loads in plugins just as it should.

I've checked about:plugins in both instances and this has confirmed what is stated above. The list is populated when running as the super user, and empty when running as standard.

View 1 Replies View Related

Debian :: Root / Super User Access On KDE Version

Mar 16, 2009

After a week of working with Debian, I decided to install the KDE3 version straight from an NetInstall CD. This fixed some issues for me as well as made networking and folder sharring a snap! But now its time to add all the extra packages I need.

Here's the problem: Using any kind of Package Manager yields the same results:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (var/lib/dpkg/), in another process using it?
RESULT=100

I've tried apt-get from root command line and the KPackage Manager that comes with KDE3 with same results. I have only one user that was created during Debian install. I'm having some other problems, from what I've seen on the net, they all seem to point to not having proper Super User access (I'm guessing here). What could cause this error? AND/OR How do I make sure I have top level access to the configure the system? (I tried logging in as "root", but the login errored out saying that this was not allowed).

View 8 Replies View Related

OpenSUSE Install :: System Does Not Accept The Super User Password?

Jul 6, 2010

I am trying to be a super user in terminal but I can't. I am sure that I type the correct password, I check also the caps lock button and the language. Also I can't go to the yast. note that the root password is exactly the same as user password

Code:
nobani@linux-m9c6:~> su
Password:
Permissions on the password database may be too restrictive.
su: incorrect password
nobani@linux-m9c6:~>
I am using KDE 4.3.5 on openSUSE11.2

View 9 Replies View Related

Ubuntu Installation :: Cant Access Super User Even With Correct Password

Dec 11, 2010

After updating my system yesterday my laptop will no longer connect to my wifi connection, in fact the network manager doesn't appear on the screen. I cant access super user even with the correct password. Some programs fail to load e.g. hardware drivers.I'm online now using my ethernet cable. I cant update grub due to errors in etc/grub.d/README.I'm logged in as root now instead of my own user account.

View 1 Replies View Related

OpenSUSE :: Application Runs Very Slowly When Using Dolphin In Super User Mode

Apr 20, 2011

In graphic interface, when I use dolphin to view the files in super user mode, this application runs very slowly, and react dull at each request!

View 7 Replies View Related







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