[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Making login simple



> 
> If anyone knowledgeable could help with this question:
> 
> My current pam.conf file looks like:
> 
> #login auth       required      pam_securetty.so
> #login auth       required      pam_unix.so
> #login auth       required      pam_nologin.so
> #login account    required      pam_unix.so
> #login password   required      pam_cracklib.so
> #login password   required      pam_unix.so nullok use_authtok md5
> shadow
> #login password   required      pam_unix.so nullok use_authtok
> #login session    required      pam_unix.so
> #login session    optional      pam_console.so
> 
> OTHER password optional pam_permit.so
> OTHER auth optional pam_permit.so
> OTHER account optional pam_permit.so
> OTHER session optional pam_permit.so
> 
> I was trying to add in the requirement that only at bootup is a password
> required at the login prompt.
> 
> At no other place in the system do I need authentication because this
> will be a embedded system.
> 
> I would rather just have the password stored as plain text in the
> /etc/passwd file.
> 
> When I boot the machine with all sorts of combinations of login
> auth/password/session, I can never
> get it just right.
> 
> So for now, I am forced to NOT require a password at login, which is not
> secure.
> 
> Anybody know how to configure the top part of this pam.conf file to make
> it work?
> 
> And maybe work with only plain text in the /etc/passwd file? No md5 or
> shadow needed, but OK if necessary.
> 
> Thanks,
> 
> Mark Diener





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []