Root Password and logon

Root Password and logon

Post by Bruce T Armstro » Sun, 31 Dec 1899 09:00:00



Is there a way to go straight into LINUX and avoid logging on for
ever.
Bruce T.

 
 
 

Root Password and logon

Post by Eric » Sun, 31 Dec 1899 09:00:00



> Is there a way to go straight into LINUX and avoid logging on for
> ever.
> Bruce T.

Yes there is,

you can boot the system single user, which by default isn't password
protected
on RH systems (other distro's might have this protected). If you want
multi-user mode, you can change an entry in /etc/initab

the line containing:
 1:2345:respawn:/sbin/mingetty tty1
you can change to:
 1:2345:respawn:/bin/su - USERNAME

As a remark: this can be done, but I strongly advise you you not to do
this

Eric

 
 
 

Root Password and logon

Post by Floyd Davidso » Sun, 31 Dec 1899 09:00:00




>> Is there a way to go straight into LINUX and avoid logging on for
>> ever.
>> Bruce T.

>Yes there is,

>you can boot the system single user, which by default isn't password
>protected
>on RH systems (other distro's might have this protected). If you want
>multi-user mode, you can change an entry in /etc/initab

>the line containing:
> 1:2345:respawn:/sbin/mingetty tty1
>you can change to:
> 1:2345:respawn:/bin/su - USERNAME

>As a remark: this can be done, but I strongly advise you you not to do
>this

Well, at least the last line is certainly good advice!

The problem with going single user is that you are then missing
many of the services provided by the system.

There are two other, much more reasonable ways.  First, a word
of caution that this of course only applies to a home computer
where security is absolutely unimportant.  (And recognize that
some would say that means it must be in a locked room with no
access to anything like the Internet... :-)

One solution is login and just do not logout.

The other is to edit the /etc/passwd  file (or the appropriate
shadow password file) and just delete the password for your
login.  Here is an example entry from /etc/shadow, with
no password between the two colons after the user name:

floyd::10124:0:99999:7:::

That results in no password being required, and a login will
consist only of telling it which user id should be logged in,
hitting the enter key, and bingo you get logged in with no
prompt for a password ever appearing.

But, just like the other suggestion, I don't advise doing
this either.

  Floyd

--

Ukpeagvik (Barrow, Alaska)