01-26-2007
You can use the below ones.
usermod -e 'yesterday' <username> (expire the user a/c)
usermod -s '/bin/false' <username> (set the shell to /bin/false)
Changing the shell to /bin/false will disable the user's ability to login.
10 More Discussions You Might Find Interesting
1. AIX
How to disable user for cd to some another folders other than his folders.
AIX 5L 5.2
Thanks
Dilip. (1 Reply)
Discussion started by: Dilippatel
1 Replies
2. UNIX for Dummies Questions & Answers
I have this unix version 3.0
"UNIX_SV server 4.0 3.0 3425 Pentium II(TM)-ISA/PCI"
can i delete or disable the system generated account as "daemon";"uucp";"sys";"adm";"listen";"bin"
and if yes how can i do it?
Regards (1 Reply)
Discussion started by: sak900354
1 Replies
3. AIX
hi to all
i'm a newbie on aix.
how would i block temporarily a few users in accessing our aix server so that other users may not be affected by th cpu usage...because if all of them accessing our server the CPU utilization goes high...
thanks
winky (3 Replies)
Discussion started by: winky
3 Replies
4. Solaris
I couldnt find this in any other post - so hoping someone can help out.
I want to set password expiry (or rather I have to) for a number of users on my solaris 9 system. I know i can set the following options in the /etc/default/passwd file to do it and then just type a passwd -f <username> to... (6 Replies)
Discussion started by: frustrated1
6 Replies
5. AIX
If user login and don't do anything in 15 mins, the user is kicked off from the server. how to disable it? (5 Replies)
Discussion started by: rainbow_bean
5 Replies
6. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
7. Red Hat
First post, sorry to be a bother but this one has been dogging me. I have a process user (java application server) that trips a resource limit every couple weeks and need help finding what limit we're hitting.
First, this is what's running:
This is the error when jobs are run or the... (0 Replies)
Discussion started by: Katahdin
0 Replies
8. Solaris
On Solaris 8 is there anyway to disable telnet for a particular user and not for entire system altogether?
I would like the user to retain a shell and so creating a noshell like ftp account is not an option. (14 Replies)
Discussion started by: boshyd
14 Replies
9. Shell Programming and Scripting
i was just using gnu grep
grep (GNU grep) 2.20
and when running a command i kept getting really weird results, namely that eval and echo and various combinations would not run the command
BIN="${FFMPEG} -i ${INPUT} ${setX265} ${videoCrop} ${audioOptions} ${OUTPUT}.mkv"
with this... (7 Replies)
Discussion started by: f77hack
7 Replies
10. Solaris
Goal: To disable a Solaris user, after that user was inactive for X days.
My understanding for linux was that there was no systematic way to disable inactive users, therefore we had to set a password expiration via /etc/default/passwd, MaxWeeks; then in /etc/default/useradd (/etc/shadow), the... (1 Reply)
Discussion started by: Drasavokian
1 Replies
LEARN ABOUT DEBIAN
ktoblzcheck
KTOBLZCHECK(1) General Commands Manual KTOBLZCHECK(1)
NAME
ktoblzcheck - Check Account and BLZ (bank routing code)
SYNOPSIS
ktoblzcheck [--returncode] [--file=<datafile>] <bank-id> <account-id>
DESCRIPTION
This manual page documents briefly the ktoblzcheck application.
ktoblzcheck is a program that will check a given account and blz for the bank being valid and the account being valid using some checksum
calculations, if supported for that particular bank. The output is the clear-text name of the bank specified by <bank-id>, and whether the
given <account-id> is a valid account number at this bank.
OPTIONS
<bank-id>
This is the Bankleitzahl (bank routing id), actually it is the account-id of that particular bank at the Deutsche Bundesbank.
<account-id>
This is the account number you wish to verify. If the checksum method of the bank specified by the <bank-id> is supported, you will
get the account-id verified, i.e. if it is a valid account-id at that particular bank.
--returncode
If given, the result is returned via the returncode and no output on the terminal. The following returncodes are possible: 0:
account and bank are ok 1: unknown, e.g. checksum not implemented or such 2: account and/or bank not ok 3: bank not found
--file=<datafile>
Specifies the file with the bankdata. This file can be obtained via the internet from the Deutsche Bundesbank on address
http://www.bundesbank.de/zahlungsverkehr/zahlungsverkehr_bankleitzahlen_download.php
Beware! This page is in German only.
BUGS
No bugs are known at this time. Only certain checksum algorythms are supported as of now, so please don't complain if you always get
"unknown" as return value.
AUTHOR
This manual page was written by Jens Gecius <jens@gecius.de> for the Debian GNU/Linux system. Authors of ktoblzcheck are Fabian Kaiser
<fabian@openhbci.de> and Christian Stimming <stimming@tuhh.de>.
August 3, 2003 KTOBLZCHECK(1)