LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] UNIX conventions...

[ILUG] UNIX conventions...

Brian Scanlan singer at redbrick.dcu.ie
Tue Nov 16 13:01:19 GMT 1999


On Tue, Nov 16, 1999 at 12:52:45PM +0100, kevin lyda wrote:
> Why did the person replace /bin/sh?  Because there's no way for a
> regular user to change their shell on a Solaris box with a "files"
> passwd target.  You have to su to root and edit /etc/passwd.  Of
> course you have to so to root to copy bash over sh...

 From man passwd

OPTIONS
     -r        Specifies the repository to which an operation  is
               applied. The supported repositories are files, nis
               , or nisplus.
     -e        Change the login shell. For the files  repository,
               this  only  works for the super-user. Normal users
               may change the nis  or nisplus  repositories.  The
               choice  of shell is limited by the requirements of
               getusershell(3C). If  the  user  currently  has  a
               shell  that  is not allowed by getusershell , only
               root may change it.



-- 
"As with most of my theories, this one doesn't hold up to close
scrutiny, but it's surprisingly resilient to casual criticism."





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell