LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 09-05-2006, 08:22 PM   #1
binary66
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
How to force a user/password prompt to logon?


Hi,

I have just installed Puppy Linux on my hard drive and notice that when the system is started it automatically logs in as root with no password or promting to logon via username and password.

I am going to be using my Puppy Linux system as a file server on and older piece of hardware but for security reasons I dont want people to be able to plug in a monitor, power cycle the machine and have root access at the console.

Can someone let me know if it's possible to force Puppy to prompt for a user id and password to logon with when it starts up?

Thanks...
 
Old 09-06-2006, 04:59 AM   #2
liaty
Member
 
Registered: Oct 2005
Distribution: openSuse 10.1
Posts: 129

Rep: Reputation: 15
You need to find the user management settings. Sorry not familiar with puppy, but there will be an option for autologin. Normally a check box.
 
Old 09-07-2006, 12:59 AM   #3
binary66
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by liaty
You need to find the user management settings. Sorry not familiar with puppy, but there will be an option for autologin. Normally a check box.
Thanks liaty, good suggestion, but I had already tried looking for anything to do with user management, there doesn't seem to be anything at all. I'm thinking that because Puppy is one of those "minimal" distributions. From what I've read it's intended to run as root because it's generally used as a client O/S rather than a server O/S and it normally runs live from CD or USB stick etc. I have it installed on the hard drive though.

I think I might dump it and find something else. The only reason I got it is because I am trying to find a lite Linux version to run as a file server on an old P2 box with 128MB RAM. It runs beautifully on that box, Samba works fine, everything is great except security at the console.
 
Old 09-07-2006, 05:31 AM   #4
liaty
Member
 
Registered: Oct 2005
Distribution: openSuse 10.1
Posts: 129

Rep: Reputation: 15
Have you give Slackware a look. You can do a minimal install for a text based distro. And if you are wanting a gui there a alot of slim ones to chose from xfce wm also kde if your memory can take it.

Last edited by liaty; 09-07-2006 at 05:37 AM.
 
Old 09-07-2006, 09:10 AM   #5
GuestToo
LQ Newbie
 
Registered: May 2005
Posts: 22

Rep: Reputation: 15
you would probably have to edit /etc/inittab ... it's the respawn/autologin line that does it

to change inittab, you probably have to remaster Puppy ... inittab is not editable in older versions of Puppy (Puppy 1.x), i don't know if changes to inittab can be saved in Puppy 2.x or not, it would be more secure if it can't
 
Old 09-08-2006, 05:50 AM   #6
binary66
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GuestToo
you would probably have to edit /etc/inittab ... it's the respawn/autologin line that does it

to change inittab, you probably have to remaster Puppy ... inittab is not editable in older versions of Puppy (Puppy 1.x), i don't know if changes to inittab can be saved in Puppy 2.x or not, it would be more secure if it can't
Thanks GuestToo you're a champ. Modifying inittab did the trick, it works perfectly now, prompting me to sign in when the system boots.

I have a hard drive installation, I'm not using the live CD, so I can modify inittab just fine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to force a user to change their NIS password at logon? synthol6 AIX 1 08-17-2010 08:47 PM
add a user with password without prompt grendel-IT Linux - Software 7 09-27-2006 02:07 PM
add user prompt for password on login redir Linux - Newbie 2 02-28-2005 11:01 AM
How to force user to enter username and password sxcheng Linux - Security 1 02-23-2005 05:46 AM
put my user logon instead of bash prompt little_ball Slackware 10 04-13-2004 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 02:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration