Sponsored Content
Top Forums UNIX for Advanced & Expert Users Modification in configuration file to disable a particular user Post 302236104 by frank_rizzo on Sunday 14th of September 2008 08:55:11 PM
Old 09-14-2008
Depending on the OS - the usermod command can lock accounts. You can also change the login shell to /bin/false or something.
 

10 More Discussions You Might Find Interesting

1. AIX

How to disable cd to other folder for a user

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 Advanced & Expert Users

URGENT: Password modification for oracle user

Hi to all, Need help! For user sysoper on oracle, I want to know who and on which date/time the password has been modified? The platform is unix itself. Thanks (2 Replies)
Discussion started by: ashvik
2 Replies

3. HP-UX

Temporarily Disable User Account

I want to temporarily disable a user account on HP-UX at the start of a script and renable the account at the end of the script. What would be the best method on HP-UX to temporarily disable a user account? I know of the passwd -l option that will lock the account, but I do not see a flag for... (4 Replies)
Discussion started by: scotbuff
4 Replies

4. AIX

How to disable user login infor?

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

5. Shell Programming and Scripting

Restrict modification of a file while it is already in use by another user?

How to restrict modification of a file while it is already in use by another user? If a file is in use by one user account, how to restrict it so that no one else can change it until its closed by the first user? (3 Replies)
Discussion started by: bdiwakarteja
3 Replies

6. Solaris

Disable telnet for a particular user

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

7. Solaris

User id modification

Dear All, Some of the users having the same user id and group id in my /etc/passwd file. Now I want to change the users to have a unique user id and group id. How can we do that. If I change this will it affect the running applications. Rgds Rj (7 Replies)
Discussion started by: jegaraman
7 Replies

8. Web Development

Tapatalk Modification for vB3 - Adding User for System Information

Referring back to this thread: Tapatalk Modification for vB3 - Issue with Avatar Icons I mentioned that we had some "system bot" code: In this post, I describe that code and how easy it is to create a "system bot" user for Tapatalk (TT): Basically, its quite easy. We add a hook to... (0 Replies)
Discussion started by: Neo
0 Replies

9. Solaris

Disable Inactive User in Solaris 11

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

10. Shell Programming and Scripting

How to do user-preset login to Bash shell then automate path modification?

How do a user login with full user-environment preset to Bash shell then automatically do path modification with few script codes, either on command-line or put it in a script file. what i tried: bash --login -c PATH="/ANewPath:${PATH}" bash --login -c 'PATH="/ANewPath:${PATH}"; export PATH'... (2 Replies)
Discussion started by: abdulbadii
2 Replies
INSTALL-XPI(1)						     mozilla-devscripts suite						    INSTALL-XPI(1)

NAME
install-xpi - installs a xpi file into a Debian package SYNOPSIS
install-xpi [options] xpi-file DESCRIPTION
install-xpi is a helper tool for packaging XUL extensions. It installs the given xpi file into the correct directory and creates the required links based on the data in the install.rdf file. It corrects the file permissions unless --preserve-permissions is specified. install-xpi will create a configuration file in /etc if the XUL extension provides one or more preferences files in defaults/preferences. The configuration file contains only a description where to find the overridable preferences. debian/package.js is used as configuration file instead if it exists. The placeholder @INSTALLDIR@ is replaces by the actual installation directory. You can disable the creation of a system configuration file with --disable-system-prefs. OPTIONS
--disable-system-prefs Do not create a system preference file in /etc. -x file, --exclude=file The specified file from the xpi file will not be installed. You can use this parameter several times. -h, --help Display a brief help message. -i directory, --install-dir=directory The xpi file will be installed in the specified directory. directory must be an absolute path. Use this parameter with care. -l directory, --link=directory An additional link from the directory to the installation directory of the extension will be created. You can use this parameter several times. -p package, --package=package The xpi file will be installed in the specified binary package. If this parameter is not provided, the first binary package listed in debian/control will be used. --preserve-permissions The permissions of the files in the xpi file will not be modified. If this parameter is not provided, install-xpi will try to cor- rect the permissions of the files to 644 (files that starts with a shebang will be corrected to 755). -r, --remove-license-files Files with names like copying, licence, or license will not be installed. -v, --verbose Print more information. AUTHOR
Benjamin Drung <bdrung@debian.org> install-xpi January 2010 INSTALL-XPI(1)
All times are GMT -4. The time now is 03:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy