Removing Users

Removing Users

Post by JHC » Sun, 10 Nov 1996 04:00:00



I have Slackware 96 and can't find anything on removing users.  Does anyone
know how ? I've  used  Adduser  but can't find a man page about it to even
get a clue about removing a user.            
                                        Thanks

last post was wrong e-mail

 
 
 

Removing Users

Post by Ryan M. Hans » Mon, 11 Nov 1996 04:00:00


I'm a very new Linux/Unix user ; but this is what I do...correct me if I'm
wrong all you gurus.

1) rm -r "the /home/usr_act
2) remove the users login/pass line in /etc/passwd

that should be all...right?

Ryan


>I have Slackware 96 and can't find anything on removing users.  Does anyone
>know how ? I've  used  Adduser  but can't find a man page about it to even
>get a clue about removing a user.            
>                                    Thanks

>last post was wrong e-mail


 
 
 

Removing Users

Post by Thomas Portma » Tue, 12 Nov 1996 04:00:00



 >
 > I'm a very new Linux/Unix user ; but this is what I do...correct me if I'm
 > wrong all you gurus.
 >
 > 1) rm -r "the /home/usr_act
 > 2) remove the users login/pass line in /etc/passwd
 >
 > that should be all...right?

don't forget he's mail (wherever that may be) and maybe even files/dirs
in /tmp or elsewhere.

and also remove the user from the /etc/group file.

i think there are several scripts which will remove a user from your
system, just check out the archives since i can't remember the name
or the locations.

 > Ryan

        tom
--
               ...this message was brought to you by...

                       "who dat" in Switzerland

 
 
 

Removing Users

Post by Paul Hovnania » Thu, 14 Nov 1996 04:00:00




> i think there are several scripts which will remove a user from your
> system, just check out the archives since i can't remember the name
> or the locations.

Try doing two find comands, one on the username and the other on the uid
to turn up any leftover
files. You might also want to grep <username> /etc/* to see what shows
up. Then look carefully
before deleting each item.

        Paul Hovnanian

 
 
 

1. Add/remove user to user group(s) in a script ??

[Posted and mailed]



: >
: >
: >
: > I would like to know how I would go about adding/removing a user
: > to some user groups within a shell script.  I want to be able to give
: > some of my users temporary group membership for a certain set of groups
: > so they can run an application. When they exit from that application I
: > would like to remove them from the groups they were previously added to.
: > The users would be running the script from their own account via a captive menu
: > so I suspect they would have to adopt superuser privileges in order
: > to execute the group addition and removal.
: >
: > Is this possible?

Why not just adjust the application itself so that it has SETGID
privileges?  That way, the users can be given execute permissions
on the app, but the app (and not the users separately) can create
or modify its files as appropriate?

Just a thought.

= Steve =

--
    +-------------------------+-----------------------------------+
    | Steve W. Jackson        |  CACI, Inc - FEDERAL              |
    | Project Manager         |  Software Revitalization Division |
    | 334-244-7400            |  600 Interstate Park Drive        |
    | 334-244-7447 Fax        |  Suite 623                        |

    +-------------------------+-----------------------------------+

2. Finally!

3. Removing users from NIS+

4. Making enough where your at?

5. removing users?

6. FreeBSD ISO Image

7. How to remove user

8. adaptec 15xx ???

9. : Removing user files, but not mail folders?

10. Help with removing users..

11. Add and remove users in NIS?

12. How do I remove users?

13. removing users form NIS+ tables