Fedora :: Allowing Root Level Commands

Oct 25, 2010

How would like to allow a user to run command such as mount fdisk and lspci which normally you would have to be root to do. How would i go about doing this.

View 4 Replies


ADVERTISEMENT

General :: How To Perform Root Level Commands - Fedora - Live Media

Jul 21, 2011

I need to use Live Media to make changes to a hard disk drive. I tried to sudo to no effect.

Seems like it would be troublesome to authorize root access on Live Media or have sudo allow commands such as pvcreate,lvcreate,vgcreate, especially if the hard disk is not encrypted.

View 1 Replies View Related

Fedora Installation :: F13x64 Can't Login To Root At Level 3

Aug 10, 2010

For some reason I can no longer login to root when I boot to runlevel 3. So I have to login to my user account then i could su root then login.

View 5 Replies View Related

General :: How To Give User Same Access Level As Root - Fedora 14 - KDE

Apr 9, 2011

First, I am new to linux I just finished installing Fedora 14 on a different PC which I will be using solely to explore Linux. However the first annoying problem I encountered was that I can't do a lot of things without Linux asking me for the root password. This has become really annoying, I want to stop fedora from asking for root authentication every time I want to explore something here and there.

Among the work-arounds that I've tried and didn't quite work for me are:
1. login as root on the kdm - I can login as root but because I am also encouraging my sister to explore fedora 14 she needs the same access as root too. We have our own preferences so we both need individual accounts that have same access level as root.

2. change userid to 0 (same as root) and modify groups to be exactly the same as root's groups - very bad solution, what it did was make my user a sort of "alias" for the root. It basically uses the same /root/ folder, same settings and all that stuff. Again, my sister and I need separate accounts for a more personal feel.

3. use terminal and go sudo, sudoers, etc - very bad idea, I want to explore using the kde gui. And again I want to eliminate the inconvenience of having to type things over and over again. I'd rather type the password over and over again than having to use terminal and sudo everything.

4. beesu, gksu - anyone knows how to make linux automatically wrap everything with beesu/gksu?

since we are just exploring, we are willing to trade the systems, integrity and security for the convenience of having freedom to explore everything in it. I don't care, it could blow up the pc for all I care (it's old and for experiment anyway).

This exploring linux of ours is a make or break for us to using linux. If there is no solution to this problem, we'll probably scrap the whole "migrate to linux" idea.

I thinking of making Linux recognize our user id the same way it recognizes uid 0 but I have no idea how to do this.

View 4 Replies View Related

Fedora Security :: Bash Commands As Root

Mar 3, 2010

I need to launch a bash file in Linux from an unprivileged user session, file that will run bash commands as root. But I do not want to create an user with root privileges to do that.

View 10 Replies View Related

Fedora :: Search Path - Yum & Rpm Commands Fail When Executed As Root

Jul 15, 2009

I've setup dimdim (opensource, centos 5.3) and noticed yum & rpm commands fail when executed as root because it uses librpmio from openoffice3 instead of /usr/lib (I'm running from memory so I may have misstyped). But sudo doesn't have this problem.

How can root's search path be different, especially after I state /usr & /usr/lib at the top of /etc/ld.so.conf.

View 2 Replies View Related

OpenSUSE Install :: Allowing Users Other Than Root To MOUNT Devices?

Dec 28, 2009

I have a non-super user on my box which I'd like to give it MOUNT and UMOUNT permissions but I don't know how.For example purposes, the user name is "USER".I don't want to make it into a SuperUser, just give it rights to be able to issue the MOUNT and UMOUNT commands at the terminal.

View 6 Replies View Related

General :: Allowing Read Write To Ext3 Partition To Non-root Users

Mar 18, 2010

I need to allow non-root users to read/write on an ext3 partition.

Below is the relevant output from fdisk -l

Code:

The partition in question is /dev/sda4 and it is mounted as /Data (setup during installation).

View 2 Replies View Related

Fedora :: Can't Switch To TTY Or Run Level 3 From Run Level 5

May 12, 2009

Hi Guys,
here is my scenario:

I am running F10 x86_64 with Nvidia Quadro FX 3400.
I installed the drivers and it worked just fine. No errors generated according to Nvidia log files.
However, while in run level 5 when I try to switch to run level 3 by typing "telinit 3" or "init 3" the X server goes down and I get a blank screen. Same thing happens when I try to switch to a different tty session by <ctrl>+<alt>+F2 (or any F key for that matter).
I also noticed that when I shut down my system I can't see any more the screen where services are shutting down and their status ([OK] or [failed]).

Would appreciate your help on solving this issue.

View 3 Replies View Related

Ubuntu :: Way To Trigger Root-level Process?

Jun 29, 2010

I have what I hope someone finds to be a simple problem. I am running a data acquisition computer for a research project, where multiple people use the same non-privileged user account to take data and save it to /incoming. Once the file has been closed, I would like to somehow copy the data into a more permanent location owned by root. Obviously giving the shared user account sudo permission would be a huge security hole.

I know that this should be possible using some sort of client/server connection, but writing my own server just for this little task seems a bit cumbersome, and is something I have no experience with. Nor have I ever written a daemon/init script before.

Does anyone have any ideas on a simple procedure I could use? Very few things are fixed in stone, but the copy operation is necessary - the final location is a RAID5 array, and the write speeds are too slow to keep up with the data stream.

If a client/server type of thing really is the best way to go, anyone have any links to good tutorials to make a simple server and daemonize it?

View 2 Replies View Related

General :: Perform Root Level Tasks While In GUI?

Oct 5, 2010

There must be a way to perform privileged tasks in the Gnome desktop (or actually Nautilus, I guess)...similar to using SUDO in a terminal window.

For example I want to change the rights to a file, but Nautilus tells me I can't because I'm not the owner.

View 8 Replies View Related

Ubuntu Networking :: Root Level Parent Directory - Mounting Windows Share?

Mar 26, 2010

I've mucked through and figured out how to mount a windows share. I can access the folders I was looking for, but the windows share was not what I thought it would be. I was looking for the specific shared folder. Instead I got a root level parent directory that included the folder I wanted, and a couple others.

smbclient -L <ipaddress> gives me a parent directory on the root

First question: Can I mount a specific folder within a share?
Second question: Could somebody define share? I thought it was the specific shared folder, but that doesn't seem to be the case.

View 1 Replies View Related

OpenSUSE :: Import In OS Level (system Wide) The CAcert Root Certificate And The Relevant Class 3?

Feb 5, 2010

How can I import in OS level (system wide) the CAcert root certificate and the relevant class 3?

View 3 Replies View Related

Security :: Run Commands As Root ?

Mar 4, 2010

I need to launch a bash file in Linux from an unprivileged user session, file that will run bash commands as root. But I do not want to create an user with root privileges to do that also the process must be silent (no password asked).

How can I do this without adding a user in sudoers and without giving rights to all users to execute the commands from that bash file?

I have tried SUID option witch would had been good as functionality but I understand that SUID doesn't work for script bash files.

View 14 Replies View Related

Security :: Log All The Commands Executed By Root ?

Aug 11, 2010

I want to get a of log all the commands executed by the root user with the following details :

incoming ip
username (thru which su was executed)
time and date
all the commands executed as mentioned above.

Also if user has managed to login as root, he should not be able to disable / delete the above info. Can this info be collected at some other physical server ?

View 5 Replies View Related

Programming :: Root Commands In SSH Script

Mar 1, 2011

I am trying to administer a small group of ubuntu desktops in my classroom. I can use ssh to perform administrative tasks one at a time on each machine, but I want to automate these tasks through a small number of scripts. I am having trouble with running root commands through a script.

On other distros, I think I would simply ssh into the root account, and run the script. But as an ubuntu user, I have only ever used sudo, and folks at ubuntuforums are understandably hesitant to recommend logging in as root. Instead I am seeing suggestions to disable the password requirement for each specific command I want to run, which does not seem like best practice.

Should I enable the root account, give it a password, and ssh to the root account to run the scripts? To be specific, the scripts will do things like install updates, install programs, add or delete users, configure the desktop, etc.

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

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

Security :: Ssh As Root To A Workstation And Then Run Commands As Another User?

Jun 10, 2009

Senario is we have a system where root has authorised keys set up so that it can do a passwordless ssh to $WORKSTATION. I then need to run a script on $WORKSTATION as user "bob" and NOT as user "root". I do not want to set up user "bob" to be allowed passwordless ssh so any ideas how I can do this?I have tried variations of (as user "root"):ssh $WORKSTATION "su - bob; ./my_script"

View 5 Replies View Related

Slackware :: Running Root Commands As User?

Nov 7, 2009

After a few hours work I have managed to set up pptd so that my daughter can log into her account at Imperial College. My problem now is that I need to have a script that she can run if she wants to log in. She will have to invoke a couple of root commands and I do not want to give her the root password What she needs to do to set up networking is:

Quote:

pppd call imperial dump debug logfd 2 nodetach require-mppe
/sbin/ip route add default dev ppp0

How can I enable things so that she can run this script as user?

View 12 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 :: Move Transparently Between Run Level 3 And Run Level 5 As Autologin User?

Aug 10, 2010

I've been able to kludge a kill script which finds the correct pid for the kdeserver (or gnome server) after my system comes up in run level 5 so I can drop back to run level 3 mode. Lots of experimentation showed me that using telinit 3 and telinit 5 would occasionally leave the video memory in a mess and I would have the black screen of death.

I set the security parameter setting to autologin for me since I am the only user of my machine, but I still have to kludge the default setting under sysconfig (the DEFAULT_WM) under Window Manager to pick a certain window manager, so it takes time to manually switch the desktop.

Right now I can leave the gui and drop back to cli, but painful experimenting showed me that killing the X server is a no no. Right now I kill the kde server, which sends the SIGTERM to the X windows manager, which then figures out that it has to shut down.

Questions: Is there a better way of doing this? Apparently openSUSE figures that we have multiple users logging into the gui desktop, so the gui is always kept running and a login window with the desktop manager option forces the user to login in. With autologin, this never happens, but no choice of desktop is possible on the fly.

Can some type of script be set up to painlessly enable this to happen? And what is the best way of bringing either the Gnome or KDE desktop manager down gracefully? I do get lots of error messages as the system attempts to recover and X shuts down. It appears that apparently the single user with autologin is left out in the cold.

View 4 Replies View Related

OpenSUSE Install :: Admin Level Software To User Level?

Feb 6, 2010

I want to install a software called TinyOS which is an operating system designed for wireless sensor embedded networks in my account. The problem is it has instructions to install the software as an administrator since i'm not an admin of the department network i can not able to install. Is there any method to install this software as an user level rather than admin level.

View 3 Replies View Related

Ubuntu :: Adjust Level At Which Battery Criticality Level Is Triggered?

May 8, 2010

How can I adjust the levels at which the battery is considered to be critically low?ight now it seems this is set at 5 or 10%. I want to make it 20 or 25%This is for Gnome. I am using Lucid x86

View 1 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 :: Initializing Run Level 4 At Inittab Default Level

Jan 15, 2011

hello everyone, im having a problem when my computer enters in the run level 4 as the default when i start slackware. The strange thing is that it not seems that is a X window problem, it looks like more like a configuration problem in some part of the kde script to initialize the log in, because if i manually start the X service it works fine, i dont know what is the source. Thank you in advance for the help.

View 3 Replies View Related

Programming :: Accessing SPI From Kernel Level And User Level

Jan 6, 2009

I want to know what are the advantages and disadvantages for accessing spi(serial peripheral inerface )from kernel level and user level. like methods of doing it, speed ,memeory utilization etc

View 1 Replies View Related

Software :: Execute Shell Commands That Require Root Password From PHP?

Jun 26, 2010

php. I am developing a web-interface for an application that sometimes needs root privs. Editting /etc/sudoers is not an option since the web interface needs to be portable to other users when they install my application. Is there any workaround ?PHP Code:

php code:$command = "./script.sh /dev/$DISKNAME &";$shellOutput = shell_exec($command); 
Code:

[code]...

View 2 Replies View Related

Software :: Sending Commands To A Screen Session Owned By Root

Jan 27, 2011

I am a linux newbie. I have a situation where I need to send a command line -X command to a screen session owned by root from a nonprivliged account. The command is executed by a shell script, which in turn is executed from a PHP script. Is there a way to make this work?

View 3 Replies View Related

SUSE / Novell :: Ran Rm -rf On Home Directory Unable To Run Commands As Root

Jun 13, 2010

Accidently ran rm -rf while the pwd was /home/user-name

Now I'm unable to run any command whatsoever as root, ls,vi,cnf whatever, they don't work.

However the commands work as normal user.

I can guess that the files with root ownership in the home folder were deleted but I would like to revert everything back to normal and would like to know how to solve this problem.

View 5 Replies View Related







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