know a particular user is disabled or enabled


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers know a particular user is disabled or enabled
# 8  
Old 04-01-2010
use Passwd -S username
passwd -S davis
# 9  
Old 04-01-2010
You don't mention what Operating System you have.

If you have the "logins" command this is the easiest way to produce a list which can be further processed in shell.

For example:

Code:
logins -xto

 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Web Development

CentOS 7 redirecting me to old disabled dev site when removed from sites-enabled

I am having problems accessing a new site I am trying to setup on my CentOS 7 VM. I have added a vhosts file for it, but when I access easydev.com in the browser it continues to redirect me to the old (now disabled) dev site of crmpicco.dev. Is there something wrong with my config? # apachectl... (3 Replies)
Discussion started by: crmpicco
3 Replies

2. Solaris

[Solved] Can't get into single user mode - sulogin was disabled

Solaris 10 trying to patch and therefore want to do this from single user mode I do a init 0 get's me to ok> :) ok> boot -s I was a UK Sun Field Engineer for 10 years ..... I've used "boot -s " quite a bit ..... I get a console login , which I subsequently login into #who... (13 Replies)
Discussion started by: Martincorneuk
13 Replies

3. Solaris

see if async i/o is enabled in Solaris 9

Hi guys. This may be a stupid question but I am trying to see if my Solaris 9 server has async i/o enabled... Is there a quick way to determine this? Thanks in advance. (1 Reply)
Discussion started by: jamie_collins
1 Replies

4. Red Hat

how to test whether is user is enabled on disabled in Radius

Hi i am having two linux machines M1 M2 ,where M1 is the main machine and the connector is M2 Radius services are installed in M2. i pulled M2 users which resides on /user/local/raddb/users to M1 .so that any changes made to user in M1 will be reflected in M2. now i am disabling a user from M1... (1 Reply)
Discussion started by: kalyankalyan
1 Replies

5. UNIX for Dummies Questions & Answers

how to test whether is user is enabled on disabled in Radius

Hi i am having two linux machines M1 M2 ,where M1 is the main machine and the connector is M2 Radius services are installed in M2. i pulled M2 users which resides on /user/local/raddb/users to M1 .so that any changes made to user in M1 will be reflected in M2. now i am disabling a user from M1... (0 Replies)
Discussion started by: kalyankalyan
0 Replies

6. Linux

ldap user disabled

Hi All, If ldap user is disabled on linux. Do you think ldap processes will still run while ldap user had been disabled? Thanks for any comment you may add. (2 Replies)
Discussion started by: itik
2 Replies

7. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

8. HP-UX

st_san_safe enabled

$ uname -a HP-UX vfauh203 B.11.11 U 9000/800 486452371 unlimited-user license SCSI TAPE: dev = 0xcd520000 Failed open - st_san_safe enabled () is there any tools i can run to further investigate this err0r i received from syslog.log ? im new to hp-ux thanks (1 Reply)
Discussion started by: libchk
1 Replies

9. IP Networking

how we can find whether net is enabled or not

how we can find whether net is enabled or not with out using ping is there anyway please guide me thanku ,in advance sree (1 Reply)
Discussion started by: phani_sree
1 Replies
Login or Register to Ask a Question