Software :: Difference Between Su And Sudo?
Jan 24, 2011They both appear to do the same thing, except sudo won't ask me for a password....?
View 3 RepliesThey both appear to do the same thing, except sudo won't ask me for a password....?
View 3 RepliesIt 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.
Sudo vs gksudo What's difference ?
View 2 Replies View RelatedCan 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 RelatedWhat are the differences if I build (./configure, make, make install) an app when log in as root vs a "regular" user other than I have to use sudo for make install? If an app is built from a non-root account, will it be available to every other user on the system?
View 4 Replies View RelatedI just wanted to know the difference between Using Sudo mechanism over using Power breaker utilities.
View 4 Replies View Relatedcan anyone tell me the difference between "sudo shutdown now" and "sudo shutdown 0"
i know that "sudo shutdown 0" will shutdown the system in 0 seconds. but when i run sudo shutdown now my system goes into the maintenance mode?? what is maintenance mode??
What is the difference between the commands "su" and "sudo -i"?
When I do sudo -i, it asks me the password and after typing my password, I login.
But when I do "su",it asks for my password, and I type the same password as for the sudo -i, but the terminal shows su: Authentication failure Why is it so? Does these commands have different passwords? If so I've forget password for "su". Now what to do?
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
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]....
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 RelatedKernel 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.
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 RelatedWhere is the SUDO file at, and remind me how do I add myself as a SUDO'er?
View 3 Replies View RelatedI am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.
View 8 Replies View RelatedI am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.
The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo
I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?
Alright setting up a friends netbook, display has been a little iffy (slow. glxgears is giving like 100fps). Couple issues: xorg.conf doesn't exist (i know thats typically not an issue) and "sudo xorg -configure" and "sudo xorg --configure" both return "xorg command not found."
glxinfo say that its using Mesa for the software rasterizer and that the driver is from mesa. lspci says the VGA controller is from Intel. I'm thinking xorg is defaulting to vesa for drivers, but I need to know how to change that to the open source intel driver
So installing a programm is a problem. I like to install Aqualung. "/.configure" works. But "make" seems to be not installed. "checkinstall" seems to be not installed "sudo apt-get make" does not work. I have no internet connection with linux, because I have no idea how I install the network card. I guess this sudo command use internet? Is there another way to compile that program? (And just by the way, why must this be so difficult?
View 3 Replies View RelatedWhat is the difference between su - and su? Both ask me for password. Bothe report "root" when asked whoami
View 6 Replies View Relateddf -k
/dev/sda6 25396228 21249088 2836240 89% /export
21G used[code].....
The 3.4G is correct because we have removed all non essential file but free space reported by df is not consistent with the actual free space that should be there.
I'm planning to download ubuntu, but I don't know if I should download the 64-bit one or the 32-bit one? My computer can handle 64-bit, has 4 gb, 320 gb harddrive. What;s the difference between 64-bit and 32-bit?
View 2 Replies View RelatedI've typed 'l' instead of 'ls' in the terminal by mistake a couple of times, and it seems to do pretty much - but not exactly - the same as 'ls' ('l' appends *, @ etc at the end of filenames which seem to indicate permissions and/or links).
I can't find any documentation on 'l'. 'l --help' gives exactly the same output as 'ls --help'. 'which l' gives nothing. There are no files in my filesystem called only 'l' either - just a couple of unrelated folders.
So what's the difference between l and ls?
I have two interfaces, Gnome and KDE. So sometimes I am asked to chose between the 2 display manager gdm (Gnome) or kdm (KDE). I've never noticed any difference. When I have problems with one I have problems with the other, and usually they both seem to function equally well. If you have ever been in a situation where one was better than the other could you please tell me about it? My question is related to troubleshooting a dual-monitor setting but this is another thread, here I'm just asking because I wish to learn a bit more about displays in general.
View 1 Replies View RelatedI know Ubuntu is based on solid foundation of deb. How about rpm?
Currently ubuntu supports installation using deb. Who supports rpm? red hat?
the difference between GLX and EGL?
View 1 Replies View RelatedThere is a major size difference between the dvd and the cd and It seems that you can install debian from both so What's the difference ?
View 9 Replies View Relatedwhat is the difference between C and gcc...
View 12 Replies View RelatedLast week in one of the Interview Dump Papers I read about NIS+. Anyone who can quick reference how the setting up NIS is different from NIS+.
View 1 Replies View Relatedwhat is the difference between a GUI and KDE..
View 5 Replies View RelatedI need to know the exact difference between SCP and SSH can somebody explain please as i am confused as both seem to do the same thing if so let me know what the difference is.
View 4 Replies View Related