Computing.Net > Forums > Solaris > disabling the login in Solaris

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

disabling the login in Solaris

Reply to Message Icon

Name: Prashanth
Date: November 14, 2002 at 22:49:36 Pacific
OS: Solaris 2.7
CPU/Ram: Sparc
Comment:

Hi
can anybody help me to diable/eneble the user logins in Solaris without user interraction. I want to disable the user logins in some particular time. I am having one script which is scheduled in cron.while running that script no user should login. So want to include some command in that script which will disable the user logins and also i want command to enable logins

thanks in advance
Prash



Sponsored Link
Ads by Google

Response Number 1
Name: NA
Date: November 15, 2002 at 05:05:55 Pacific
Reply:

By creating a file /etc/nologin you will prevent new logins however it will not log out the current connections.

take a look at `man nologin`


0

Response Number 2
Name: Prash
Date: November 16, 2002 at 02:48:46 Pacific
Reply:


Hi NA
thanks yaar good solution. keep in touch can give me u r mail id


prash


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: disabling the login in Solaris

format the harddisk in solaris www.computing.net/answers/solaris/format-the-harddisk-in-solaris/5076.html

Configure the Domain in Solaris www.computing.net/answers/solaris/configure-the-domain-in-solaris-/3652.html

dns configuration in solaris 8 www.computing.net/answers/solaris/dns-configuration-in-solaris-8/2114.html