Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-02-2004, 06:22 PM   #1
LQ Newbie
Registered: Jun 2004
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Problems with /usr/bin/chsh

Okay, I downloaded and installed Slackware 9.1. When attempting to run chsh as a non-root user, I get "You may not change the shell for kbolino." (in this case, I was kbolino when executing). I didn't pay it much mind, downloaded and installed Slackware-current packages. But, I'm still getting the same problem. /usr/bin/chsh gives the following `ls -l':

-rws--x--x 1 root bin 27780 May 20 22:01 chsh*

I also notice that the setuid bit will sometimes turn itself off (?!?) but setting on/off has no effect (same message is produced). I tried changing user/group to root/root, no avail. Tried using permissions -rwsr-sr-x, no avail. No problems with `passwd' or `chfn'. Maybe someone else has encountered this problem?
Old 06-02-2004, 08:16 PM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
well, what is your users default $SHELL??
which $SHELL
Old 06-03-2004, 05:27 AM   #3
Registered: Nov 2003
Location: Bulgaria
Distribution: Vector Linux, Morphix
Posts: 295

Rep: Reputation: 31
why you want to run chsh as an ordinary user?
the syntaxis of the command is
chsh -s /bin/ kbolino as root


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
/usr/bin/X11/ and /usr/X11R6/bin/ the same? linuxtesting2 Linux - Newbie 2 11-16-2004 10:57 AM
what is "S" instead of "X" in the file permission when i look at /usr/bin/chsh? Linux_interest Linux - Newbie 4 08-28-2004 09:22 AM
xcdroast installation problems despite use of --with-cdrtools-prefix=/usr/bin ??? Raptor Ramjet Slackware 4 01-27-2004 06:55 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration