Sponsored Content
Top Forums UNIX for Advanced & Expert Users Can't delete the user from command line Post 28681 by hassan2 on Monday 23rd of September 2002 08:02:18 AM
Old 09-23-2002
are your users account store in your local /etc/passwd or NIS/NIS+?

because userdel cannot change information supplied by the NIS/NIS+
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Using telnet client from MacOSX's command line terminal

I'm completely new to Unix, but familiar with Mac OSX. I've just discovered the command line terminal feature of this new OS and I'm trying to learn how to telnet into my host's server to change permissions to allow executable cgi scripts for my website. Is there anyone who might be able to... (2 Replies)
Discussion started by: tylerl
2 Replies

2. UNIX for Dummies Questions & Answers

sed 's/~/\^J/g' how to get "^J" on same line as rest of the command.

when ever i type it in it always looks like so echo $file | sed 's/~/\ /g' how can i get it on one line? (6 Replies)
Discussion started by: Optimus_P
6 Replies

3. UNIX for Dummies Questions & Answers

hit 'enter' with no user intervention

I'd like to write a shell script that will enter '1', for example. How do you do that? You know, so instead of writing echo "Enter 1 or 2" read onetwo and waiting for the user to enter a 1 or 2, I'd like the script to act like someone entered a 1, or 2. Is there a hex value for the... (1 Reply)
Discussion started by: jpprial
1 Replies

4. UNIX for Dummies Questions & Answers

what is the 'whatis' command?

I am kind of new with Unix and I really need some help. Can you please tell me what the 'whatis' command is? and what does it do? Let's say that I have a file which I want to delete, what command will I need to use? If I have a directory that I want to delete all files from what command do... (11 Replies)
Discussion started by: mischiefdemon
11 Replies

5. UNIX for Dummies Questions & Answers

'find' command question

my solaris text talks about the 'find' command... it further goes to talk about an "action" used with the find command. I am completely confused as to what the {} do with the find comand. the explanation is this: "A set of braces, {}, delimits where the file name is passed to the command from... (2 Replies)
Discussion started by: xyyz
2 Replies

6. Shell Programming and Scripting

Clearify what it means under 'WHAT' when hit the 'w'-command

I wonder how I shall read the result below, especially 'what' shown below. The result was shown when I entered 'w'. E.g what is TOP? What is gosh ( what does selmgr mean?)? login@ idle JCPU PCPU what 6:15am 7:04 39 39 TOP 6:34am 6:45 45 45 TOP 6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies

7. UNIX for Dummies Questions & Answers

I can't delete some files

I've been trying to delete a file with a space in it like this: Nothing 1.jpg I can't copy/delete it or anything like that.I've tried "Nothing_1.jpg" but that didn't work.Anyone know how to do this? (4 Replies)
Discussion started by: DISTURBED
4 Replies

8. UNIX for Dummies Questions & Answers

VI 'go to position #' command

I apologize is this is somewhere else but I did look.... Is there a command to goto position # x within the VI editor? I've seen where you can search for a particular char string but I need to go to position 200 within a record (tired of counting positions)...:) Thanks in advance... (2 Replies)
Discussion started by: hedrict
2 Replies

9. UNIX for Dummies Questions & Answers

Delete a line containing a string from user input

I have code that accepts input from a user, and when the user hits enter it is supposed to delete that whole line from the file. echo "Which record? " read record sed '/$record/d' file However, it does not delete it. Any help? (1 Reply)
Discussion started by: itech4814
1 Replies

10. Shell Programming and Scripting

sed command to grep multiple pattern present in single line and delete that line

here is what i want to achieve.. i have a file with below contents cat fileName blah blah blah . .DROP this REJECT that . --sport 7800 -j REJECT --reject-with icmp-port-unreachable --dport 7800 -j REJECT --reject-with icmp-port-unreachable . . . more blah blah blah --dport 3306... (14 Replies)
Discussion started by: vivek d r
14 Replies
groupdel(1M)															      groupdel(1M)

NAME
groupdel - delete a group from the system SYNOPSIS
group DESCRIPTION
The command deletes a group from the system by removing the appropriate entry from the file. The command must be used with the group argument which is the name of the group to be deleted. The name consists of a string of printable characters that may not include a colon or newline Refer to usergroupname(5) to understand the functionality changes with the Numeric User Group Name feature. Options The command uses the following option: Exercise the safe delete feature. That is, if the gid of the primary group of any system user matches the gid of group, then group is not deleted. NIS The command is aware of NIS user entries. Only local groups may be deleted with Attempts to delete an NIS group will result in an error. NIS groups must be administered from the NIS server. If is used on a system where NIS is installed, it may fail with the error (return value 6), if the group specified is an NIS group (see group(4)). RETURN VALUE
exits with one of the following values: No error. Invalid command syntax. Invalid argument supplied to an option. group does not exist. Cannot modify the file. file or file busy. Another command may be modifying the file. Unable to open or file is non-existent. group is busy or cannot delete the primary group. EXAMPLES
Delete the group from the file if it exists: WARNINGS
Because many users may try to write the file simultaneously, a password locking mechanism was devised. If this locking fails after subse- quent retrying, terminates. FILES
SEE ALSO
users(1), groupadd(1M), groupmod(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), group(4), usergroupname(5). STANDARDS CONFORMANCE
groupdel(1M)
All times are GMT -4. The time now is 01:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy