starmake.blogg.se

Sudo su without password
Sudo su without password













  1. #SUDO SU WITHOUT PASSWORD HOW TO#
  2. #SUDO SU WITHOUT PASSWORD FULL#
  3. #SUDO SU WITHOUT PASSWORD PASSWORD#
  4. #SUDO SU WITHOUT PASSWORD WINDOWS#

On the other hand, the best remembered life lessons are usually the ones that hurt the most, so perhaps this is just tough love education. I'm sure they felt that Windows/Mac users and children would find it annoying, and were afraid it might chase them away, but I don't recall it being all that annoying when I made the Windows-Linux transition. However, for inexperienced Linux users, and especially on a computer education focused platform like the Pi, I think it teaches bad habits and it probably shouldn't be the default. It just doesn't bug me either way (when I'm asked for a password, I enter it). I don't disable it on my Pi computers, but I also don't enable it on my mainstream Linux boxes. Passwordless sudo is not really the subject of this thread, but since so many have brought it up.Īs an experienced Linux user I honestly don't care about it either way. In a way, it's too bad that Microsoft's patent claim didn't save everyone in the Linux world from sudo and, of course, this thread. The use as a general tool for system administration was outside of its original scope and likely a bad idea.

#SUDO SU WITHOUT PASSWORD FULL#

My understanding is that sudo was originally created in 1980 as a way to give undergraduate students paid hourly wages at SUNY Buffalo a way to spin backup tapes during the night without full system privileges. Of course in the days of old, back when you walked uphill to school, barefoot in a blizzard, some folks just logged in as root and ran from that account. I completely agree that sudo is a tool, however it allows new folks to develop really bad habits.

sudo su without password

#SUDO SU WITHOUT PASSWORD WINDOWS#

Especially if they are coming from Windows they are used to GUI everything and much hand holding and "are you sure" prompts. The biggest problem with passwordless sudo is that new folks don't understand about privileges and what sudo is doing. Either you learn about multiuser systems and how privileges work, or you mask them with sudo and typically break things in dramatic fashion at some point. You obviously don't have to do it this way but it is really a pay now or pay later kinda thing. In my happy world, admin is done as root, user stuff is done as an unprivileged user. From that framework, proper separation of accounts and roles makes sense and the lack of this bothered me with Windows. I started out on "large" multiuser systems (VAX, IBM), then moved on to Unix, then started building PCs. I think sudo is configurable to require the root password, but I usually consider the pi user the same as root and create another account that is not a member of sudoers for normal tasks.

#SUDO SU WITHOUT PASSWORD PASSWORD#

Using a separate root password at least provides an additional reminder that root permissions are being accessed. As indicated in the original post, there is further confusion when sudo uses passwords associated with user-level accounts to obtain root-level permissions. In my opinion passwordless sudo is not substantially better than logging in as root to perform user-level computing tasks. At the same time, there are few things less convenient then rendering a system unbootable by means of sudo. People always claim that good security is a trade-off between convenience. Would that be a unwieldy inconvenience? I'm not sure one way or the other. I guess it would just mean that everybody would get used to having to type in "raspberry" (assuming they hadn't gotten around to changing it) as part of every sudo command. With passwordless sudo, it just trains folks to preface every command with sudo.īut try to imagine what the ecosystem would look like w/o passwordless sudo. I would put money on sudo being involved with that opps.

#SUDO SU WITHOUT PASSWORD HOW TO#

Just read a thread asking about how to recreate /media since they had accidentally deleted it. With passwordless sudo, it just trains folks to preface every command with sudo.

sudo su without password

Without sudo you get permission denied while trying to do something potentially stupid, and that might make to pause and think for a second. Here catch and juggle this running chainsaw, opps you don't really know how to juggle and did not realize it was a running chainsaw. Still think passwordless sudo as the default is wrong.

sudo su without password

It is a crutch to get around correct administration of a multiuser system, with different roles and privileges And having said that I am off to yell at people to get off my lawn.īut seriously I understand why it is implemented that way. Or even for your system to have a root password.

sudo su without password

The point of sudo is to allow users to perform admin tasks/run tools as root without their needing to know the root password.















Sudo su without password