9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi, I have a function to calculate "yesterday" in format YYYYMMDD:
desa_ev9 # date +"%Y%m%d" --date "-1 day 20180701"
20180630
desa_ev9 # date +"%Y%m%d" --date "-1 day 20180720"
20180719
desa_ev9 # date +"%Y%m%d" --date "-1 day 20190101"
20181231
desa_ev9 # date +"%Y%m%d" --date "-1... (2 Replies)
Discussion started by: augreen
2 Replies
2. Red Hat
Dear All ,
I have created a user named X and gave sudo permissions for it , So that it can access some commands as root.
This particular user can login to the server using SSH login through putty any where with in the network.
But there is some issue , when the same user is trying from... (4 Replies)
Discussion started by: jegaraman
4 Replies
3. AIX
I have four AIX 6.1.7.4 systems freshly built and ready for our DBAs to do their work. Of the three one runs into an odd issue while logging in as himself, using Putty with ssh protocols. He logs in successfully, but also gets the following error message:
: 3004-300 You entered an invalid login... (2 Replies)
Discussion started by: Mike Brendan
2 Replies
4. Shell Programming and Scripting
when i am executing the script i am getting ?Invalid command though the script is right.
Could any one please let me know how to overcome this problem. Urgent Please
Thanks a lot in advance (2 Replies)
Discussion started by: Olivia
2 Replies
5. Shell Programming and Scripting
In the following code
a=
echo $?
echo $?
Why the op is (2 Replies)
Discussion started by: lipun4u
2 Replies
6. Shell Programming and Scripting
Hi,
I have an SFTP script which is called from another run script:
When the SFTP process is run we passed through an invalid ip address to check the error logging and to ensure everything is working as expected.
Below is a sample of the code in the script:
$RUNSOCKS... (2 Replies)
Discussion started by: ronnie_uk
2 Replies
7. Post Here to Contact Site Administrators and Moderators
i follow on the https://www.unix.com/cfmgoogle.php?cx=partner-pub-6323928554267084%3Absye1r5tx7j&cof=FORID%3A10&q=solaris&sa=Search#907
https://www.unix.com/sun-solaris/ (4 Replies)
Discussion started by: Hank
4 Replies
8. Shell Programming and Scripting
Hi
How to check invalid user account?
invalid condition:
1. without home directory
2. home directory is empty
3. no home directory
4. no shell
5. no passwd
user1:x:6000:6000:user1app:/DB/user1:/bin/ksh (5 Replies)
Discussion started by: geoffry
5 Replies
9. AIX
Does anyone have a good script / cron job that handles this?
I have looked in smit and see it is clearing this count with:
chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s '{userid}'
However when I looked around to find ways to automate this I have not found an easy... (0 Replies)
Discussion started by: Keith Johnson
0 Replies