| Auto Install for Mandrakelinux | ||
|---|---|---|
| Prev | Next | |
This option is to
set the Super User log in (usually referred to as root). These
values are placed in the file
/etc/passwd
and the group id is placed in the file /etc/group.
|
'superuser' => { |
|
|
|
'uid' => '0', |
|
'gid' => '0', |
|
'realname' => 'root', |
|
'pw' => '$1$XHDtOdGw$kBibHl2otqOVEnBIumdgR/', |
|
or |
|
'password' => 'psbcr!', |
|
'shell' => '/bin/bash', |
|
'home' => '/root', |
|
'icon' => 'root' |
|
}, |
Descriptions:
|
'uid' |
user id number (SHOULD ALWAYS be 0) |
|
'gid' |
group ID (SHOULD ALWAYS be 0) |
|
'realname' |
usually root, but can be anything you want. |
|
|
NOTE: use either 'pw' or 'password' - but NOT both. |
|
'pw' |
this is the encrypted form of the password. Its contents are dependent on the authentication used. If using MD5 and Shadow, then copy it from /etc/shadow'. |
|
'password' |
this is the clear text form of the password. Just what ever you want. |
|
'shell' |
the path name and
shell program to use when root logs in (Optional, defaults to
/bin/bash /bin/csh /bin/sh /bin/ksh
|
|
'home' |
where root's home directory is, usually /root |
|
'icon' |
if present, is the filename (but no extension) containing the desired icon. These icons are located in: /usr/share/mdk/faces. |
|
|
Setting 'pw' => undef will result in an installed system where you can log in as root without a password. Probably not something you really want to do. |
Related Option Entries:
| Prev | Home | Next |
| services | timezone |