disable a user temporarily

disable a user temporarily

Post by Subramanian Sivakuma » Wed, 04 Oct 2000 04:00:00



is that a bad idea to add a # in front of the username ( in the /etc/passwd
file ) if one wants to disable that user account temporarily ??

thanx for the comments.

- Shiva

 
 
 

disable a user temporarily

Post by Ed F. de Guzma » Wed, 04 Oct 2000 04:00:00


Just lock the user out by editing the /etc/shadow file.

or doing this:

    passwd -l <username>

Ed


> is that a bad idea to add a # in front of the username ( in the /etc/passwd
> file ) if one wants to disable that user account temporarily ??

> thanx for the comments.

> - Shiva


 
 
 

disable a user temporarily

Post by Joshua Goul » Wed, 04 Oct 2000 04:00:00



Quote:> Just lock the user out by editing the /etc/shadow file.

> or doing this:

>     passwd -l <username>

Keep in mind that this doesn't work if you're using NIS.

  Joshua

 
 
 

disable a user temporarily

Post by Ed F. de Guzma » Wed, 04 Oct 2000 04:00:00


Then: passwd -r nisplus -l <username>!!

Ed



> > Just lock the user out by editing the /etc/shadow file.

> > or doing this:

> >     passwd -l <username>

> Keep in mind that this doesn't work if you're using NIS.

>   Joshua

 
 
 

1. Disabling screensaver temporarily

Hi all,

how can I disable the screensaver temporarily (e.g. in a shell script) for
watching TV or a DVD under KDE 2.1.2 without the screensaver locking the
screen. I have tried the command

"dcop kdesktop KScreensaverIface enable false"

but it does not work. I get the error message "no such function". Please
help.

Is there documentation of the supplied interface available?

Regards
Detlev
--
-----------
Detlev Offenbach

2. X11 server (free or commercial) for MagicGraph128 XD?

3. NOTICE: voting@hut.fi temporarily disabled

4. Easier way to install and remove software.

5. Zsh: Temporarily disable history expansion

6. Red Hat Linux Real Audio Server Problems

7. How to disable stderr temporarily?

8. telnet problem

9. disabling screensaver/DPMS temporarily

10. Temporarily disabling DiskSuite mirroring?

11. Can I disable the 387 temporarily

12. User management: disable users to view mounted drives

13. temporarily blocking an IP: dhcp users & arpwatch