Ubuntu :: Switch From Root (#) To Normal Non-root Prompt($)?

Mar 20, 2010

how do i switch from root (#) to normal non-root prompt($). I'm new to linux

View 3 Replies


ADVERTISEMENT

Ubuntu :: Get Root Script To Run A Command As Normal User?

Jun 8, 2010

Because I have a flaky wireless device, I occasionally get a hung connection and this script gets things running again in just a few seconds except obviously the boldfaced item, as it still tries to run in the root directory and gives errors:

Configuration file "/root/.kde/share/config/knetworkmanagerrc" not writable.
Please contact your system administrator.

So I am not sure how to get knetworkmanager to run as me, the user ubuntu in the /home/ubuntu directory

#!/bin/bash
service network-manager stop
sleep 1
killall -9 knetworkmanager

[code]....

View 1 Replies View Related

OpenSUSE :: Allow Normal User To Run Root Stuff?

May 19, 2010

I would like to allow normal users to run some root scripts (e.g the sound subsytem [alsa]) in cases sound is stuck. What is the best way to allow this to happen in opensuse? There are many ways to do that (and I do not know how to use any of them ) and I am not sure which one is more suse all right.

View 6 Replies View Related

General :: Restrict Root To SU To Normal User

Mar 11, 2010

Is there way we can restrict root to su to normal user. Or at least a way to prompt for the password when root tries to su <username>.

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

Ubuntu :: Scheduling A Task To Run Weekly As A Normal (non-root) User?

Apr 11, 2010

I'm trying to get my backup script to run every week, but as a normal user, and not as root as it is done when the script is placed in /etc/cron.weekly. Anacron fits my needs in the sense that it doesn't require my computer to always be on, as opposed to cron, and will just run my script when it can, but at the most each week. Cron fits my needs in the sense that I can run the script as the user I am logged in as. The particular script backs up my home directory with rdiff-backup, and it is very convenient that I am the owner of that backup, since when root performs the backup, I am unable to browse my own backup files and must use "sudo" to do this.

Is there a way to let me use the feature of anacron that allows my computer to not always be on, but still get a weekly execution, and also run the script as a normal (non-root) user?

View 2 Replies View Related

Security :: Lots Of CRON Spam From Root. Normal?

Jan 25, 2010

Take a peek at this:

Code:
Jan 23 20:15:01 localhost CRON[22629]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 23 20:15:01 localhost CRON[22629]: pam_unix(cron:session): session closed for user root

[code]....

View 3 Replies View Related

Software :: Login As Root Similar Normal User?

Dec 12, 2008

I need to login as root , when linux starts to show login window

But it shudnt be as
1) spawning a new terminal and do commands lik startx -- :3
2) without going in recovery mode

I need to login through login window as normal process

View 7 Replies View Related

Slackware :: Managed USB Pen-drive As Root But Cant Do It As A Normal User?

Apr 28, 2010

I am using Slackware 13.0 and i have managed to work with my USB pen-drive as root but i cannot do it as a normal user.

View 14 Replies View Related

Ubuntu :: Unresponsive Keyboard At Root Shell Prompt?

Jan 28, 2011

I have no user name or password and cannot log in. In recovery mode, I after I enter "drop to root shell prompt" my keyboard does not respond when I try to "give root password for maintenance" or try to enter "Control-D" at the blinking cursor.

View 3 Replies View Related

Fedora :: Mount As Normal User Without Entering Any Root Password

Oct 6, 2010

I am using fedora 12.I have two internal drives. Both are ntfs. Whenever i click on them it prompts to enter root password. But i want to mount them as normal user without entering any root password. How can i disable it so that i am not asked to enter root password everytime i mount the drives.

View 2 Replies View Related

Hardware :: Audio Fedora 12 As A Normal User But Works As A Root?

Sep 14, 2010

I'm using fedora 12 and modified the user login options(normal and super user login). I've been using the accounts for a while but i've bumped into a problem - audio not working as a normal user but works when logged in as root. Also, i'm not able to use VLC as a root user.

View 1 Replies View Related

Ubuntu Installation :: Change The Ownership Of All Home Stuff To Root Instead Of My Normal Username?

Dec 21, 2010

how I managed this, but somehow during a reinstall I changed the ownership of all my home stuff to root, instead of my normal username. So now nothing loads, unless I sudo it. I had to use sudo just to open firefox.

View 3 Replies View Related

Ubuntu :: Switch To Root User In Gui Of Live?

Sep 23, 2010

I need to access some things in "documents and settings" folders (my windows xp crashed). I believe I need to be root user in linux to do this. I am running a ubuntu linux live (uninstalled) cd. I am new to linux and I do not know if this is even possible. I want to copy some things from documents and settings folder to an external drive (as backup) but I cannot access them as things are now (linux gives me an error when I try) but I would like to do it in gui so I can physically "see" everything and look through it.

View 9 Replies View Related

General :: Sharing Configuration (.*rc Files) Between Normal User Account And Root

Oct 2, 2010

On a Fedora Core box, I have a normal non-privileged user and I also have sole access to the root account. Because I am the only administrator of this box, I frequently su over to root for administrative tasks. The problem is that many of the user configuration I've become accustomed to are only configured on my day-to-day account (.vimrc, .bashrc, .screenrc, etc). Other than giving my day-to-day user account privileges to perform administration tasks, how would I go about sharing configuration between these two accounts?

View 1 Replies View Related

General :: Detailed Description Of The Login Process For Both Root And Normal User?

May 19, 2010

i am looking for a detailed description of the login process for both root and normal user , also locally and remotely.i read some sentences that the files .bashrc and bash_profile are needed for this process. But that was very concise.

View 9 Replies View Related

Software :: Proftpd - 530 Login Error When Logging In Normal Mode - Root ?

Jun 8, 2010

I've been installing proftpd on a server running fedora 8. It is setup in standalone server type, and I checked that the process is running and listening to port 21.
When I try to login using a ftp client in Normal mode with root user & password , I receive first a 220, then a 530 login incorrect error.
Can you help me?

I've been pasting my proftpd.conf configuration file below

Code:

View 3 Replies View Related

General :: How To Switch To Root Account

Mar 11, 2010

I want to add a new user. For that purposeI switch to su and give root passwd. There I gave a command " useradd ". [smith@localhost smith]#adduser when i press enter key by typing adduser command it say me "Command not found" .Then i log off from my own account and login again from root account. The command "useradd" is then accepted.is there any way that without logging off from normal user account I may enter my roor accout and work as a root account instead to log off from normal user account.

View 5 Replies View Related

CentOS 5 :: Switch To Root In Terminal?

Oct 19, 2009

I just installed CenOS 5 on my server and am in the process of installing some software to the machine.

I understand repositories and was able to get it all set up for installation with the yum command.

My problem is that when I attempt the install, it says i need root access to install.

I tried using sudo commands to switch to root access, but after entering the password, it says my username isn't allowed root and that my actions will be reported.

I am the admin for the system and have total control, I just don't know how to switch to root in the terminal.

View 2 Replies View Related

Networking :: Run The Job Under A Root Account And Deny Read/write Access To A Normal User?

Jan 18, 2010

I'm setting up Ubuntu Karmic on my sister's old computer for my nephew, he's quite young so my sister asked to install some content filtering. I'll first setup an OpenDNS account and I've installed and managed to get dansguardian and squid working on a virtual machine to try it out. so far it's working pretty well, but I need to secure it form the inside out.

I was thinking of blocking specific outbound ports so he could not bypass the proxy. because by default the firefox configuration can be easily changed. so I have a couple of questions.

1. is it possible to block outgoing ports on Ubuntu?
2. is that the best method?
3. is there anything else I should be aware of to prevent subversion?

lastly, this question is probably unrelated to this board but I've set up a cron job to update a dynamic ip with OpenDNS, the problem is that the password is in clear text in the user's crontab, can I play with permissions? is it possible to run the job under a root account and deny read/write access to a normal user?

View 1 Replies View Related

Ubuntu Servers :: Prompt Root Password When Attempt To Manage Users And Groups Through The GUI

Mar 20, 2010

So i have a fresh install of the server edition of Karmic, i'm running the Xfce desktop. When I attempt to manage users and groups through the GUI, I am prompted for what I think is the root password, the reason I say this is because the account I am currently logged in has sudo privileges and it does not accept that password at all, but I read that by default the root account is 'locked,' (to be honest it was so long ago since I last installed Ubuntu I completely forgot if it is or isn't, my current desktop installation has su access) is it asking for the root password? why doesn't my current user account password work if the root account is 'locked'? I can perform all other administrative tasks with sudo no problem.

the funny thing is, I have the exact same setup in a virtual machine, the same problem happens, except for some strange reason after changing the password on the only account (besides root), the password required to administer users and groups stayed the same after the change. (at the time of installation I just put both the user and root password the same and now that it is setup), i'm now ready to change the passwords. except now I read that the root account is locked by default, but this strange problem occurs.

View 2 Replies View Related

Fedora :: Normal User In Sudoers Group But Can't Install Programs Without Root-users Password?

Jul 4, 2010

The normal user is now in the sudoers group. How can i allow it to install programs using it's own password rather than having to know the super-secret Root-Users password?

View 5 Replies View Related

CentOS 5 Networking :: Unable To Switch To Root After PermitRootLogin Set To No For SSH

Mar 11, 2010

I followed the instructions on this page ([URL]) in order to secure my sshd and prevent anyone form accessing the server directly as root. Therefore I changed the "PermitRootLogin yes" to "PermitRootLogin no" and restarted sshd. After that root access was denied directly but for some reason I am unable to switch to root from any of the normal user accounts with "su -" because I keep getting the "Incorrect password" errors. I am sure that the password is correct but for some, to me unclear, reasons I am unable to access the root account over SSH from a normal user account. I also noticed that after that I lost the ability to access the server as root over SFTP. why I am unable to generally use the root account after doing the named changes to sshd_config/ I am running CentOS 5.4 with the newest update.

View 7 Replies View Related

OpenSUSE Hardware :: Using Policy Kit To Restrict Removable Mounting To Prompt For Root Password?

May 26, 2010

i using policy kit to restrict removable mounting to prompt for root password, but on 11.2, I am unable to do so.i read out, ver 11.2 not longer using hal and policykit, rather sth like freedesktop.org policy.

View 9 Replies View Related

General :: No Prompt For Root Password After Attempting To Enter Single User Mode?

Jul 13, 2011

I followed instructions to enter single user mode by adding single at the end of kernel line but after that it doesn't ask for root password but brings up the sh# prompt. Isn't that supposed to be insecure? I understand for this the grub password can be applied but even after adding "single" it should ask for root password..or it should not..??

View 3 Replies View Related

Fedora Installation :: Unable To Boot Or Switch User To Root On Fc13

Aug 18, 2010

Having just installed fc13 and downloaded the KDE package I attempted to log out as user and back in as root, but I keep getting a message about the wrong password. This is odd as the same password works in terminal if I try to become a SuperUser. I have tried turning off SELinux to no avail. I cannot log in from cold as root,only as user.

View 1 Replies View Related

Fedora Networking :: Connecting Wired Connection 15 - SWITCH TO ROOT USER If Don't Have Privileges

May 26, 2011

Figured out a straight shot at connecting to the Internet in Fedora 15. Follow these commands.

1.)****** SWITCH TO ROOT USER if you don't have privileges*******
2.) cd /etc/sysconfig/network-scripts
3.) rm ifcfg-XXXXX (DO NOT REMOVE THE IFCFG-LO)
4.) system-config-network

-> Once in this screen, press the enter key on "Device configuration"
-> Configure your network statically. ( I did the following.) Name: leave as default Device: Leave as default DESELECT "Use DHCP" Set Static IP as 192.168.2.117 (or 192.168.1.117) Set NetMask as 255.255.255.0 Set "Default Gateway IP" AND "Primary DNS Server" to 192.168.2.1 (or 192.168.1.1)

[Code]..

View 4 Replies View Related

Ubuntu Multimedia :: Lucid 10.04 No Sound As Normal User / But Sound OK As Root

May 1, 2010

I've got a custom compiled kernel, just built on Lucid 10.04 from the kernel sources.System works fine, except for sound.When I log in as normal user and try to play a wav file using.The sound file is being played, but I hear no sound.However, when I do "sudo -s" and become root, execute the same mplayer command then I can hear the sound.My Sound preferences shows no input device and only "Dummy Output" as output device.On the generic kernel as came with the Lucid 10.04 CD, sound preferences shows different devices.The strange thing is: when I compiled my custom kernel, I changed nothing to the sound options in the kernel config file.

View 6 Replies View Related

Red Hat / Fedora :: Unable To "su" To Root When Logged In As A Normal User?

Jan 5, 2010

I have a Red Hat 4 server with Sungard Luminis installed on it. I was following some instructions on setting up Luminis to start at boot. One of the steps was modifying the sudoers file. Since modifying the sudores file, I am no longer able to "su" to root when logged in as a normal user. When doing so, I get su: incorrect password after putting in the password. I have another server with the exact same setup, broken one is test, the other is production, that works just fine. I made no changes to my production server. I've been looking at different things all day and the only difference I have found between the two are the results I get from running rpm -q --verify coreutils. Running that on my prodution server returns nothing. Results from my test server are below. Is this what is causing my problems? If so, what's the fix? I haven't found that yet. I've checked /etc/pam.d/su, both servers are the same.

rpm -q --verify coreutils
.....UG.. /bin/basename
.....UG.. /bin/cat
.....UG.. /bin/chgrp

[Code].....

View 2 Replies View Related

Ubuntu Installation :: 10 In NTFS Primary - "No Root Files" Prompt

May 30, 2010

I've had 8.04 installed in a 10 gb NTFS Primary partition with XP installed as my main OS in C:various times and now I have a new comp and set it up with my 7 standard partitions

Factory Recovery FAT 32
XP (C) NTFS Primary
Ubuntu NTFS Primary
APPS NTFS logical
FILES NTFS logical
MEDIA NTFS logical
BACKUP FAT logical

I wanted to install ubuntu to play around again but I can't get 10 to install and I'm not sure what I'm doing wrong. I get to the screen asking which partition to install in and after highlighting the partition I hit forward and get the 'No root files" prompt. I don't remember using Change/Delete or Revert but it's been awhile. What am I doing wrong? I have my C Drive iso'd in BACKUP but I'd rather not screw up my machine as this is my work machine and I'm busy. So, I thought I'd come for advice as I've already locked up the machine and the DVD when I tried installing from a 9.1 disk

View 4 Replies View Related







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