Sponsored Content
Full Discussion: deactivate users
Top Forums UNIX for Dummies Questions & Answers deactivate users Post 47934 by ortsvorsteher on Monday 23rd of February 2004 06:26:17 AM
Old 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.

Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

activate and deactivate

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

Limiting SFTP Users While Not Limiting Regular Users?

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

Deactivate a user account in Solaris 10

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

Deactivate a user account in Solaris 10

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

To restrict the users not to change the passwords for NIS users

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

Unable to deactivate a Volume Group

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

Showing all users in 'users' and 'top' commands

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

Activate and deactivate function within a ksh script

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

Create multiple users with individual passwords to users

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)
All times are GMT -4. The time now is 08:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy