Ubuntu :: Become A Root User Without Using Sudo?

Nov 6, 2010

How to become a root user without using sudo?So,that i can become super user to edit configuration files in etc directory.

View 1 Replies


ADVERTISEMENT

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 :: Can't Sudo From Desktop User After Adding Root

Feb 22, 2011

I recently re-installed my U10.04 and this time around, I added a root user and brought the permission levels of my default user to "Desktop User" as well as elevate the root permissions as explained elsewhere in these forums. Everything went fine until I wanted to "sudo" something from the Desktop User account terminal. I use Skype a lot and preferred to use the repos to get it loaded. Into synaptic where it asked me for the password. I entered the password and I was rejected. Ok, maybe I typed it in wrong. Tried again. The third time I checked in an editor to make sure I wasn't in all-caps. Third time OUT!

Switched user to root and there were no problems. Enabled the partner repos, installed Skype, as well as all the other stuff I use to run my home office. I have missed something, I know I have - perhaps a setting somewhere in the user permissions. I don't want to have to switch user every time I have to make changes to the system. Alternatively, if it's better practise to just leave my system as it is for security purposes I'm not running a server, but I'd like to have my system as secure as reasonably possible without elevating my problem to "paranoid security" level.......

View 5 Replies View Related

Ubuntu :: Cannot Use 'sudo' Command Either With Root Or User Passwords

Apr 19, 2010

I was wondering if someone had a logical reason and therefore complete, hopefully that makes total sense, for why when I install Ubuntu I cannot use the 'sudo' command either with root or user passwords. Even if I try to edit the permissions for sudoers, I still recieve an error message that says access is denied and so as the root user on my pc I don't understand why I can't put my name in the sudoers file or use the sudo command with the correct password.

View 9 Replies View Related

Fedora :: Sudo Running As Root Instead Of Specified User?

Jan 25, 2010

I have a weird question about the sudoers file. Currently, I am running "Red Hat Enterprise Linux ES release 4 (Nahant Update 8)".

I edited the sudoers file (via visudo) and added the following:

User_Alias RPTS2 = vtmtest

RPTS2 xxxxx = (jboss) /oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh

The user (vtmtest) issues the following command

sudo /oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh

and gets this message:

user vtmtest is not allowed to execute '/oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh' as root on xxxxx

When I look at the log, I see the following:

Jan 25 14:17:57 xxxxx sudo: vtmtest : command not allowed ; TTY=pts/12 ; PWD=/export/home/vtmtest ; USER=root ; COMMAND=/oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh

1. Why does sudo try to run as the root user, when I have specified in the command to run as jboss?

2. Do I need to specify anything else so that this command can run as the "jboss" user and not "root"?

View 2 Replies View Related

Fedora :: User Uses Root Password With Sudo

Sep 20, 2010

I want to use root password instead of adding my user to the list of sudoers,In Arch wiki ander Root password:Users can configure sudo to ask for the root password instead of the user password by adding "rootpw" to the Defaults line in /etc/sudoers: but that did not work for me. it asks for root password.Why do I want to do that:
1. I want to do that, I like sudo more than su -c 'some_command'.
2. sudo enables bash completion, su -c does not.
3. I don't want to add my user to sudoers list.

I found many users Suggesting alternatives and lowering the important of my need for this, when I asked this question in anther please.

View 8 Replies View Related

General :: Difference Between Sudo And Root User?

Feb 8, 2010

Can a sudo user do everything what a root user can do? I read sometimes expert say "You should run it as root rather than sudo user".

View 14 Replies View Related

Security :: Sudo Non-user/non-root Password?

Feb 19, 2010

Stumped on this one. I'm trying to set up limited sudo authority on a desktop with some sensitive user data, and as an extra precaution I wanted to configure sudo to use a password other than the user's or the root's. I'm not sure how to do this. From the manual, we have a few options, such as "runaspw" or "targetpw", but none seem quite what I'm looking for.For instance, "runaspw" could be used if I created a user for nothing other than sudo(ing) purposes, but it requires you set "runas_default", which means that said user would have to have authority to execute said commands in the first place. This is workable, but seems like a lot of extra configuration for each specific command that I want to run, as well as creating some issues with simply commands such as "shutdown" or "reboot". Also, "targetpw" can be used in conjunction with a sudo(ing)-only user if I set an alias, but, again, this isn't quite what I am looking for.

Ultimately, what I am really concerned about in this situation are keystroke loggers, so I would prefer to avoid repeated entering the user or root password when performing administrative tasks. Also, I would prefer not having to create a sudo(ing)-only user as mentioned above to prevent a comprimised password resulting in an attacker being able to log into my system.

View 3 Replies View Related

Software :: Sudo Is Not Switching To Root, Running As Same User Instead?

May 15, 2011

Take a simple requires-root option, such as:

Code:
[Leo@chessman ~]$ cat /etc/shadow
cat: /etc/shadow: Permission denied

[code]...

View 5 Replies View Related

General :: Sudo For Www User To Run Root Shell Script Via Browser?

Sep 7, 2010

I need sudo for www (apache) user to run a shell script('ip.sh' contains iptables rules) from cgi-bin directory via browser using a per script. I edit sudoers( www ALL=(ALL) NOPASSWD: ALL ),but when run the bellow command that's with err:

# sudo -u www sh /srv/www/cgi-bin/ip.sh

iptables v1.4.4: can't initialize iptables table `filter': Permission denied (you must be root) Perhaps iptables or your kernel needs to be upgraded. And:

# ls -al ip.sh
-rwxr-xr-x 1 root root 243 Sep 7 14:18 ip.sh

I edit sudoers so

'www ALL=(ALL) NOPASSWD: /srv/www/cgi-bin/ip.sh,/usr/sbin/iptables' too. but it doesn't work too. how can I execute this script via browser ?

View 14 Replies View Related

General :: Use The Command "sudo Su Root" From User Besides Ubuntu?

Mar 17, 2011

Why can't you use the command "sudo su root" from a user besides Ubuntu?

View 2 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 :: Can't Cd To Root Acount /home In Terminal - Sudo Cd /root Fails?

Jul 25, 2011

can't cd to root acount /home in terminal - sudo cd /root fails?

View 3 Replies View Related

OpenSUSE Install :: Revert The Changes Or Change The Permissions Again To Root:root Or Make Sudo Work

Aug 10, 2011

Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?

View 3 Replies View Related

General :: CentOS / Sudo Doesn't Accept Root Password But Logging In As Root Works

Apr 9, 2010

I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?

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

Software :: Change A Process Running In Root-user To Non-root User ?

Oct 28, 2009

Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user

View 4 Replies View Related

Ubuntu :: Root User Directory Does Not Exist, Root Password Not Recognised?

Oct 26, 2010

I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.

View 9 Replies View Related

General :: Did Not Find Any Option For Root Password For Root User In Ubuntu 9.10?

Mar 2, 2010

i used opensuse 11.1 ...there is option for root user to create password for root...but for ubuntu i did not find anything like that...so how can i create root password....or how can i use root

View 1 Replies View Related

Ubuntu :: Ask For Root Password Instead Of Sudo?

Dec 16, 2010

When i install or upgrade the system I want to be asked for the root password instead of just the normal password for sudo. The reason for this is that the kids and so on uses my system and know my password. They do not know my root password though. I do not want them to install or mess up my system by pure fumbling, so is this possible to do. A simple change in who runs the updater/install features...

View 9 Replies View Related

Ubuntu :: Why Is 'sudo' Better Than Logging In As Root?

Jan 25, 2011

I don't like about it is the fixation of avoiding root login. I read in the sticky post at the top of this forum that logging into a GUI interface as root is nearly always a bad idea. Why is this? If I have access to the root password, and can simply sudo commands as root, what is the functional difference? The only difference I can see is that I have to continually type in my root password for pretty much everything I do. Elevating a user to root status seems to require a call to the almighty.

I'm usually the only one with access to this system, and I generally like to add in user accounts for any other people that will use the system, and leave root for myself. What is the benefit of requiring 'sudo' all the time?

View 8 Replies View Related

Ubuntu :: Root-User : Unset The Root Password?

Oct 14, 2010

A friend of mine has told me to set a root password and use root (f.e. switching to su in terminal and work with root rights instead).Is there any way to unset the root password? I know how to use sudo now.

View 9 Replies View Related

Ubuntu :: OS Started Asking For 'password For Root' Rather Than Sudo

May 29, 2011

when I try to do admin tasks - e.g. setting my wireless connection to "available to all users" or updating a group's settings - it asks for "password for root" rather than asking for my password so it can sudo.I was forced to enable the root password, so I could do anything on my system ( sudo su; passwd; ) but I'd rather keep my root password locked and use sudo if possible.

View 4 Replies View Related

Ubuntu :: Preferred Use Of Sudo For Root-gaining

Oct 2, 2010

Which use of sudo do you prefer to get a root shell?

View 14 Replies View Related

OpenSUSE Install :: Get Root Privileges On User Account Without Using Root Login?

Feb 5, 2011

i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.

View 9 Replies View Related

General :: Root Logins Are Not Allowed \ When Try To Login As Root, After Logging Out As User, It Does Not Allow?

Dec 2, 2010

i just installed linux mandriva 2009. i set password for root and created a user account. when i try to login as root, after logging out as user, it does not allow me and gives the error "root logins are not allowed". even it does not show the root account. if i try to go to root from konsole terminal using su root, it allows to enter as a root but when i try to start the GUI with startx it gives error.not sure what to do and why i can't see my account in GUI mode

View 5 Replies View Related

Ubuntu :: Can't Use Sudo After Chown -R User /usr/

Jan 12, 2011

title says it all. I know, I know, a recursive chown, what was I thinking. It was late.

I just straight up:

sudo chown -R user /usr/


Now I can't `sudo', error is "authentication failure".

View 1 Replies View Related

Ubuntu :: No Longer Have A User Who Can Run Sudo?

Jun 23, 2011

I was trying to add my user to a group and used the command

Code:
sudo usermod -G sambashare_kid dev
which left me with

[code]....

View 9 Replies View Related

Ubuntu :: Cant Remember Sudo Command To Enable Root?

Jul 2, 2010

I have done this before and its driving me insane, i just cant remember what command it was and google isnt revealing anything either.i usually type:"sudo command" and it asks my password which is ok, but i have a bunch of commands to issue as root and dont want to have to type sudo each timethis is what I want to see:

View 3 Replies View Related

Ubuntu Installation :: Root Or Su Or Sudo Password Missing?

Sep 1, 2010

I upgraded from Super Ubuntu 2008.11 to Ubuntu 10.04.1 online ( my mistake ). Now I can boot into Ubuntu 10.04 with 2 kernel options and a failsafe. However I can only boot as a user ( rejean ) and not as su or sudo. My other problem is that I don't have a gui. I would like to do a Code:sudo dpkg-reconfigure xserver-xorgbut there is no password that works.What should I do?

View 1 Replies View Related







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