You are not logged in.

#1 2006-11-27 17:46:03

Shagbag
Member
Registered: 2006-10-25
Posts: 259

How do I create a 'sudo' type of environment?

I came to Arch from Ubuntu.  One of the featues of Ubuntu that I liked (a personal preference here - nothing more, nothing less) was the absence of a root account (disabled in Ubuntu by default) in combination with the 'sudo' command.

At the moment I've been using a defacto method by enclosing my commands in single quotes and pre-fixing them with 'su -c'.

I'm now getting tired of this and would like to implement a proper sudo environment.  Can I do this in Arch, how easy is it to do and what are the commands I need to execute to achieve the joint aims (sudo + root account disabled)?

Any help you can give is greatly appreciated.

Offline

#2 2006-11-27 17:53:01

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: How do I create a 'sudo' type of environment?

As with any piece of software - install it an configure it.
The 'proper' way is:

pacman -S sudo
su -c visudo (uses vi to edit the sudoers file)
sudo <blah>

Offline

#3 2006-11-27 19:36:29

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Re: How do I create a 'sudo' type of environment?

Thanks phrakture.  I didn't know 'sudo' was a package.  I do now.  Another one for the n00bs' Almanac!  Cheers wink

Offline

Board footer

Powered by FluxBB