8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
4. Shell Programming and Scripting
I am using the below Script to enter a line in the File:
# 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"
# To delete the last line if it... (0 Replies)
Discussion started by: Shazin
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
6. Shell Programming and Scripting
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
7. Shell Programming and Scripting
i want to delete every newline and every line which starts with "RECORD......." in a file.
Record 61391 in base BROCKHAUS (Timestamp: 2008-04-09 11:38:38)
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
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
lgroupmod(8) System Manager's Manual lgroupmod(8)
lgroupmod - Modify an user group
lgroupmod [OPTION]... group
Modifies the user group with name group.
Add users in comma-separated list among group's administrators.
Remove users in comma-separated list from group's administrators. Removing users that are not currently among group's administra-
tors silently succeeds.
Change group's group ID to gid.
Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.
Lock group. This prevents users from using the group password with newgrp(1) to become a member of group.
Add users in comma-separated list among group's members.
Remove users in comma-separated list from group's members. Removing users that are not currently among group's members silently
Rename group to name.
Set group's password to password. Note that the password can be viewed while running lgroupmod using tools such as ps(1).
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).
The exit status is 0 on success, nonzero on error.
libuser Jan 11 2005 lgroupmod(8)