02-23-2004
I found it by reading man page
Thanks, but i found it:
for i in `cat usernames_ascii_file`
do
passwd -l $i
done.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi all
by using gethostbyname, i can know whether the net is available or not.
it is working fine when i activate or deactivate in neat.
the problem is when i remove cable(netcable) it is not working proparly,
i would like to know it.
am using fedora5, AMD
can u please help me .
thank... (3 Replies)
Discussion started by: munna_dude
3 Replies
2. HP-UX
Hi,
I have searched the web and have come back with nothing that is satisfactory for what I require. SFTP is my corporations new file transfer standard. What I require is a method to lock down SFTP users to their directory (they may go to sub directories) while not restricting regular users. ... (2 Replies)
Discussion started by: Emancipator
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I need to deactivate a user account for some time and then reactivate the user account ...
Can anybody please help me how to do this.....
I don't have root privileges but i have sudo to privileges.
Thanks....
Thread closed. Double post. Continued here. (0 Replies)
Discussion started by: firestar
0 Replies
4. Solaris
Hi,
I need to deactivate a user account for some time and then reactivate the user account ...
Can anybody please help me how to do this.....
I don't have root privileges but i have sudo to privileges.
Thanks.... (3 Replies)
Discussion started by: firestar
3 Replies
5. Solaris
Hi All,
How to restrict the NIS users not to change their passwords in for NIS users??
and my NIS user is unable to login to at client location what could be the problem for this ?
Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies
6. UNIX for Dummies Questions & Answers
We want to deactivate a VG but failed, because one of the LVs created there is busy. When we are trying to unmount the LV, it is telling "not mounted" and if I execute mount command it will be informing us "already mounted". dmsetup info is indicating "Open Count = 1".
Please help me, how we... (5 Replies)
Discussion started by: atanubanerji
5 Replies
7. Red Hat
Hi All,
I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
8. Shell Programming and Scripting
Hi,
I have written a function which will blink a text "Scanning...". Now in the main script when I am doing the scan in the server I want to call this function so that user will see a blinking text on the screen and at the same time script will proceed will the scan function. Once scan is... (2 Replies)
Discussion started by: suhasingale
2 Replies
9. Shell Programming and Scripting
hi,
i am new to shell scripts
i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies
EDUSERS(1) General Commands Manual EDUSERS(1)
NAME
edusers - edit users list created by package
SYNOPSIS
edusers [system [version]]
DESCRIPTION
This command lets you safely edit the users list created by the package command. It locks the file before launching the editor, hence pro-
tecting against any concurrent update by some package command that could arrive at the same time (by e-mail). The level of protection this
locking buys you depends on the locking policy you have configured in your ~/.mailagent.
If you are within a package source tree, all you need to say is
edusers
to edit the users file for that package. In order for that particular feature to work properly, the package must have been placed under
dist control, or at least the packinit command from the dist package must have been run.
Otherwise, you may specify a system name, and optionally a version number if that is not enough to disambiguate. Using '-' will get you the
lattest version available.
In any case, there must be a proper setting of the distribs file to use this command. If that file is not accurate, the package command
will not be able to produce a users file anyway.
ENVIRONMENT
The editor is taken out of the EDITOR variable if defined, then from the VISUAL variable, defaulting to /usr/ae if none of the variables is
set.
FILES
~/.mailagent configuration file for mailagent.
Spool/distribs distribution list, same file as the one used for mailpatch.
System/.package file created by dist's packinit command to indicate the root of the source tree for that package.
System/users list of users of that system.
Log/agentlog mailagent's log file.
AUTHOR
Raphael Manfredi <Raphael_Manfredi@pobox.com>
SEE ALSO
mailagent(1), metaconfig(1), package(1), packinit(1).
EDUSERS(1)