Write a shell script security policy settings for linux
The pro help!
Write a shell script setup for linux security policies include:
1. login (username and password login).
2. add, delete your username and password.
3. firewall.
Note: Write a shell script file as follows:
If login successful then
Step 2.
If step 2 succeeds (ie add, delete success) then
Step 3
End.
---------- Post updated at 10:28 PM ---------- Previous update was at 06:54 PM ----------
Can anyone help me with a bash shell login script? Its for my unix class and we need to make a script that allows the users we create to login on a screen and put their user name and password on it. Then from that screen it goes to a menu screen IF they put the right login/password combination.
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.
Please review the rules, which you agreed to when you registered, if you have not already done so.
More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.
Please help me to write the shell script
AC|NAME|STATE|MAXVALUE|MINVALUE---------heading
111|UMA|ODISHA|123,00.00|54.00
111|UMA|ODISHA|124,00.00|25.00
111|UMA|ODISHA|114,00.00|58.00
111|UMA|ODISHA|104,00.00|00.00
111|UMA|ODISHA|194,00.00|19.00
111|UMA|ODISHA|184,00.00|64.00... (5 Replies)
1)
PermitEmptyPasswords is set to No
# grep "^PermitEmptyPasswords" /etc/ssh/sshd_config
PermitEmptyPasswords no
If there is no output does it implies 'As parameter was not set mean system will also not accepted emptypassword.'
2)
Users is not allowed to set... (2 Replies)
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
I have make an menu in which first option is to start and second is to stop the services
echo "Please enter the appropriate choice for doing the operations"
echo "
1) STOP Services
2) START Services
case $choice in
1)
... (1 Reply)
Hi Guy's
Just I want to know the default settings of security password in AIX there is some changes happened in my machine when I try to change my password I'm getting this message
Changing password for "root"
root's New password:
a minimum of 1 elapsed week between changes.... (1 Reply)
Hi ,
i need to write a script
like this
In 1.sh
./test.sh
wait(5sec)
send ctrl+C to server
./testxxxx.sh
first i need invoke test.sh from 1.sh , after wating for some time i need to close the test.sh script & i need to start new script
i tried to invoke script... (2 Replies)
I'm trying to read a bunch of log files and output the lines that contain particular strings.
To accomplish this, I've been running the following from the command line:
find . -name "*" | xargs grep " " | grep " " > output.txt
Two grep statements are needed in case I'm looking for a... (3 Replies)
I am working on SunSolaris- v5.9 and am trying to obtain default security settings (including password settings).
Although in the AIX environment, to obtain default setting the following commands are used:
/etc/security/user
/etc/security/limits
/etc/security/environ... (1 Reply)
well after a possible hack last week that was a pain in the as* i have reinstalled and i am setting up my security settings before i connect to the internet this time...
problem is that when i try to change the security setting using in the control setting the left panel (where the change is... (2 Replies)