Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 05:52
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
HOWTO add login and password when booting Puppy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [26 Posts]   Goto page: Previous 1, 2
Author Message
netfrog77

Joined: 10 Apr 2010
Posts: 20

PostPosted: Sun 01 May 2011, 19:56    Post subject: How can I add the login/password for Puppy 5.1/5,2 ?  

Obviously /etc/inittab has changed since the original solution was posted.

Thanks,
Bob
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Tue 03 May 2011, 10:32    Post subject: Re: How can I add the login/password for Puppy 5.1/5,2 ?  

netfrog77 wrote:
Obviously /etc/inittab has changed since the
original solution was posted.

Thanks,
Bob


I made the original post a little less then four years ago. Things
change, but case, its the same with Lupu 5.20 as it was with
whatever version I was using back then.

Change this line:

tty1::respawn:/sbin/getty -n -l /bin/autologinroot 38400 tty1

To:

tty1::respawn:/sbin/getty 38400 tty1

After the change, the boot process with stop and have you login and
provide the password.

~

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
netfrog77

Joined: 10 Apr 2010
Posts: 20

PostPosted: Sun 08 May 2011, 13:20    Post subject: Still not certain what to do with the current version  

Hi,

Thanks for responding; but I'm still not certain what to do.

Here are the tty lines in the current initab:

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

There is no 'autologin' option that would be removed by replacing the line.
Do you know if this is a customized version of 'mingetty' that does the autologin?

Thanks,
Bob
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Tue 10 May 2011, 18:36    Post subject: Re: Still not certain what to do with the current version  

netfrog77 wrote:

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6


That's for an operating system with run levels. I didn't know any Puppy
used run levels. Which version are you using?

~

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
netfrog77

Joined: 10 Apr 2010
Posts: 20

PostPosted: Mon 16 May 2011, 00:41    Post subject: Please Forgive a Puppy Frugal Newbie for a Silly Mistake  

Thanks Bruce B.

Your latest post clued me in to my error.
I mistakenly looked at the etc/inittab file in the file system that appears in Roxfiler when you click on the mounted partition where Puppy is installed.
Since it has been a while since I installed Puppy, I had forgotten it was installed in the file system of another Linux version and did not realize that Roxfiler was not displaying the Puppy file system.
Back to top
View user's profile Send private message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Sun 23 Oct 2011, 14:10    Post subject:  

Well, I've had etc/inittab modified for some time, so that a login is required. Then I realised that no grandchildren were scheduled to visit until Christmas, so I modified the file back to normal to save having to log in. Disaster! Puppy (Wary) won't boot any more.

I get-

getty: tty1; can't exec /bin/autologinroot

over and over again until I use the power button to put the poor computer out of its misery.

What to do?

(Live cd with save file)

EDIT: as I can't boot Wary, I dug out my old Puppy 431 cd. That boots, but I looked at /etc/inittab, and found that I had modified it to require login, then commented out the password line and restored the original, and it works. That's exactly what I did with Wary, but the restored file does not work. Huh??
Back to top
View user's profile Send private message 
midmen

Joined: 20 Jun 2012
Posts: 4

PostPosted: Mon 08 Oct 2012, 16:13    Post subject: Want the login prompt at bootup to be hidden/camouflageed  

Gorilla no baka, or anyone who knows the answer:

Would you please tell me what file you modified to change the login prompt as seen in your screen shot. I have looked for quite awhile and was unable to find it.

Thank you for your help.
Back to top
View user's profile Send private message 
Burunduk

Joined: 21 Aug 2011
Posts: 62

PostPosted: Mon 08 Oct 2012, 23:50    Post subject:  

midmen wrote:
Would you please tell me what file you modified to change the login prompt as seen in your screen shot. I have looked for quite awhile and was unable to find it.


Nobody knows where the hostname is stored. In the /etc/hostname maybe. Smile

Still there is another way, although I can't guarantee it won't screw up anything in your system.

Create an executable script /bin/goofylogin similar to this one:
Code:
#!/bin/bash

echo -en "\\033[1;31m"
echo "Warning! An unexpected error occurred!"
echo "All the data on your hard disk has been deleted."
echo -e "\\033[0;39m"
echo -n "Continue anyway? "

read username

exec login $username


and change the line tty1::respawn:/sbin/getty -n -l /bin/autologinroot 38400 tty1

to tty1::respawn:/sbin/getty -n -l /bin/goofylogin 38400 tty1

in the /etc/inittab file.
Back to top
View user's profile Send private message 
midmen

Joined: 20 Jun 2012
Posts: 4

PostPosted: Mon 15 Oct 2012, 09:47    Post subject: want the login prompt at bootup to be hidden/camouflageed  

Burunduk,

Thank you for your response. I should have been more specific. Changing the hostname will put anything I desire in front of the "login" prompt. What I would like to do is eliminate or change the wording "login" from the screen. What file holds the code at this point in the process? I have narrowed it down to getty or busybox, but I am not an expert on this so I am not sure. Also, how does one access the code within getty or busybox?



Puppy 528 on a USB
Back to top
View user's profile Send private message 
agordon

Joined: 27 Jun 2014
Posts: 1

PostPosted: Fri 27 Jun 2014, 22:00    Post subject: Forgot password
Subject description: Forgot password
 

I installed puppy linux on a usb drive, ran a session on my computer, saved the session to the hard drive, set a password, and then forgot the password. Is there a way to re-set the password? If not how do I uninstall the saved session so that I can re-install puppy linux and start over?

Thank You
Back to top
View user's profile Send private message 
slackfan

Joined: 29 Mar 2009
Posts: 133

PostPosted: Wed 09 Jul 2014, 18:11    Post subject:  

it is possible to give to the user root rights / to define more than one user with different rights (children, guest/visitors) and to save it in the remastered iso?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [26 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0712s ][ Queries: 12 (0.0074s) ][ GZIP on ]