[colug-432] Root Login Debian
Edward Dunagin
edunagin at gmail.com
Mon Feb 13 15:25:32 EST 2012
As I recall, my systems had a choice to prevent root logins. In other
words it would not let me login as root!
Edward Dunagin-Dunigan
mobile 406-570-0992
http://www.wifimobile.org
http://doas.montanalinux.org
http://www.uscitiesnews.com
On Mon, Feb 13, 2012 at 3:10 PM, Rob Funk <rfunk at funknet.net> wrote:
> On Monday, February 13, 2012 02:20:45 PM Richard Holbert wrote:
>> Here's a snip from the sudo man page:
>>
>> The -i (simulate initial login) option runs the shell specified in the
>> passwd(5) entry of the target user as a login shell. This means that
>> login-specific resource files such as .profile or .login will be read by
>> the shell. If a command is specified, it is passed to the shell for
>> execution. Otherwise, an interactive shell is executed. sudo attempts
>> to change to that user's home directory before running the shell. It
>> also initializes the environment, leaving DISPLAY and TERM unchanged,
>> setting HOME, MAIL, SHELL, USER, LOGNAME, and PATH, as well as the
>> contents of /etc/environment on Linux and AIX systems. All other
>> environment variables are removed.
>
> Don't miss -s, the non-login version:
>
> -s [command]
> The -s (shell) option runs the shell specified by the SHELL
> environment variable if it is set or the shell as specified
> in passwd(5). If a command is specified, it is passed to
> the shell for execution. Otherwise, an interactive shell
> is executed.
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432
More information about the colug-432
mailing list