Jump to content

Photo

/etc/login.defs

- - - - -

6 replies to this topic

#1
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

Anyone see anything wrong with this line in /etc/login.defs ?

MOTD_FILE       /etc/motd

Here's what I get:


configuration error - unknown item 'MOTD_FILE' (notify administrator)

https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#2
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 345 posts

where this configuration error comes from.


www.funtoo.org

#3
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA
The moment I do an 'su'

https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#4
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 345 posts

was uncomment a manual change?


www.funtoo.org

#5
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA
yes

https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#6
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 345 posts

using MOTD_FILE in login.defs is no longer works and handled by pam_motd, in /etc/pam.d/login

man pam_motd have an example.


www.funtoo.org

#7
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

Sounds like the examples need to be removed then


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users