8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have written a script to send email alerts when load of my linux server reaches max point
I keep getting false emails thought the load is normal , looks like same email is generated again and again - called from cron tab
checked if the tempfile is present , no it is not , cleaned... (22 Replies)
Discussion started by: anil529
22 Replies
2. What is on Your Mind?
I am planning to choose my career as Unix/Linux Admin or a DBA. But I have come to know from forums and few admins like the job will be 24/7. I have few questions on that.
Can we get "DAY" shifts in any one of the admin Job ?
Can't we have shift timings in any company ?
Eventhough the... (7 Replies)
Discussion started by: Jacktts
7 Replies
3. What is on Your Mind?
I'm currently a Windows admin and have wanted to jump ship to the *nix side for a while now. I've been studying both through an lpic level 1 manual as I have time (focusing on debian), and a solaris 10 cert book. The problem is I only have a handful of hours a week to study, and my current job... (3 Replies)
Discussion started by: bobwilson
3 Replies
4. Shell Programming and Scripting
Hi All,
I am using the below Script to enter a line in the File:
#!/bin/ksh
# To delete the last line if it contains the pattern Redirect permanent / Virgin Atlantic Airways - Popup
echo "Enter the URL that should point to the particular microsite"
read url
# To delete the last line if it... (0 Replies)
Discussion started by: Shazin
0 Replies
5. AIX
Hi Friends,
I am trying to write a script for finding all the users with the GID 0 i.e. Admin users. can you please help me on this. (1 Reply)
Discussion started by: anoopraok
1 Replies
6. Shell Programming and Scripting
Hi,
I'm new to UNIX and am trying to learn shell scripting in order to work on an interface that I inherited when a co-worker left. I need to be able to check to see whether a file exists to determine whether the FTP has taken place, but in testing, the if statement always evaluates as false,... (3 Replies)
Discussion started by: JeffR
3 Replies
7. Shell Programming and Scripting
i want to delete every newline and every line which starts with "RECORD......." in a file.
FILE:
Record 61391 in base BROCKHAUS (Timestamp: 2008-04-09 11:38:38)
UNTERTITEL :
Gräfin (seit 1707 Reichsgräfin) von, * Schwerin 4. 2. 1686, + Berlin
21. 10. 1744; wurde
Record 61392 in base BROCKHAUS... (4 Replies)
Discussion started by: trek
4 Replies
8. Linux
We have requirments to not allow a userid login abilities but allow users to 'su' to it. In solaris I normally set the shell in /etc/passwd to bin/false. THis does not work on Linux, any suggestions would help. (1 Reply)
Discussion started by: bryanthomas
1 Replies
lgroupmod(8) System Manager's Manual lgroupmod(8)
NAME
lgroupmod - Modify an user group
SYNOPSIS
lgroupmod [OPTION]... group
DESCRIPTION
Modifies the user group with name group.
OPTIONS
-A, --admin-add=list
Add users in comma-separated list among group's administrators.
-a, --admin-remove=list
Remove users in comma-separated list from group's administrators. Removing users that are not currently among group's administra-
tors silently succeeds.
-g, --gid=gid
Change group's group ID to gid.
-i, --interactive
Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.
-L, --lock
Lock group. This prevents users from using the group password with newgrp(1) to become a member of group.
-M, --member-add=list
Add users in comma-separated list among group's members.
-m, --member-remove=list
Remove users in comma-separated list from group's members. Removing users that are not currently among group's members silently
succeeds.
-n, --name=name
Rename group to name.
-P, --plainpassword=password
Set group's password to password. Note that the password can be viewed while running lgroupmod using tools such as ps(1).
-p, --password=encrypted
Set group's password to the password represented by the hash encrypted. Note that the hash can be viewed while running lgroupmod
using tools such as ps(1).
-U, --unlock
Unlock group.
EXIT STATUS
The exit status is 0 on success, nonzero on error.
libuser Jan 11 2005 lgroupmod(8)