/etc/motd in cagefs
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Manuel Kissoyan
  2. Sunday, 03 June 2012
  3.  Subscribe via email
hi, wondering if there is any way to add /etc/motd in the cagefs so users with shell access see the welcome/warning message in motd?

Thanx!
Rate this post:
  1. 03.06.2012 15:06:33
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Create your own template, like:
/etc/cagefs/conf.d/motd.cfg

[motd]
comment=Message Of the Day
paths=/etc/motd

Then run:
cagefsctl --update
or
cagefsctl --update-etc
  1. 03.06.2012 15:06:44
  2. # 2
Manuel Kissoyan Accepted Answer
Posts: 23
Joined: 16.03.2011
0
Votes
Undo
Thanx very much Igor!
  1. 04.06.2012 23:06:53
  2. # 3
Manuel Kissoyan Accepted Answer
Posts: 23
Joined: 16.03.2011
0
Votes
Undo
just a note...in WHM where you enable/disable cage for users i see system usernames listed there like clamav, will be great if you can only list user usernames there and not also system usernames.

Thanx!
  1. 05.06.2012 08:06:21
  2. # 4
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
I thought we excluded all system usernames (you can add excluded names into /etc/cagefs/exclude/systemuserlist)
We will review it/add more
  1. 07.06.2012 14:06:08
  2. # 5
Manuel Kissoyan Accepted Answer
Posts: 23
Joined: 16.03.2011
0
Votes
Undo
Thanx Igor, please also add stunnel in the system excludes
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.