TrustGroup-UAE
asked on
Linux Scripting
Hi Experts,
Hope everyone is well?
Is there a way to append a file from a Linux Command Line, Basically I need a fully automated way to do the below from a script, and it to be fully automated ....
From a terminal:
sudo vi /etc/pam.d/common-session
Find the line that states the following:
session sufficient pam_lsass.so
Replace it with:
session [success=ok default=ignore] pam_lsass.so
and
Edit the lightdm configuration file and append the following lines:
sudo vi /usr/share/lightdm/lightdm .conf.d/50 -unity-gre eter.conf
allow-guest=false
greeter-show-manual-login= true
Cheers
T
Hope everyone is well?
Is there a way to append a file from a Linux Command Line, Basically I need a fully automated way to do the below from a script, and it to be fully automated ....
From a terminal:
sudo vi /etc/pam.d/common-session
Find the line that states the following:
session sufficient pam_lsass.so
Replace it with:
session [success=ok default=ignore] pam_lsass.so
and
Edit the lightdm configuration file and append the following lines:
sudo vi /usr/share/lightdm/lightdm
allow-guest=false
greeter-show-manual-login=
Cheers
T
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.