The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shutdown aewpcoles UNIX for Advanced & Expert Users 6 08-03-2006 09:46 AM
True Shutdown help! 01000101 UNIX for Dummies Questions & Answers 3 05-15-2006 07:36 PM
cannot login after changing login shell hardesh HP-UX 4 09-14-2005 12:21 AM
Shutdown Privilege konda UNIX for Advanced & Expert Users 2 05-20-2002 03:36 PM
to shutdown rajashekaran UNIX for Advanced & Expert Users 2 02-18-2002 01:42 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-08-2005
kapolani kapolani is offline
Registered User
  
 

Join Date: Oct 2004
Posts: 11
How do you shutdown from login?

Hello all -

On some of the systems we use - AlphaServer es40 Tru64 digital unix - you can login with the username: shutdown - with no password - and it shuts down the system gracefully. I've tried to trace what's going on in the system, but to no avail.

I've been searching the web, but haven't found anything useful. I entered a new user (shutdown) modified it's .bash_profile to call shutdown, but this doesn't seem to work.

How is this accomplished?

Any help will be appreciated.

Thanks.
  #2 (permalink)  
Old 07-08-2005
zylwyz's Avatar
zylwyz zylwyz is offline
Registered User
  
 

Join Date: Jun 2005
Location: I'm living in Unix :)
Posts: 53
The main reason of this problem can be:
the user "shutdown" is not using .bash_profile, or
you're using .bash_profile with bad shutdown command.
The command "shutdown -h now" need user who has uid=0.
So the user "shutdown" must have it.
Use:
userdel shutdown
useradd shutdown -u 0
It works fine with my linux.
However, there can be other problem:
your motherboard doesn't support "shutdown -h now", so
you should try "man shutdown" or "shutdown --help" for more info.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0