Author Topic: Permissions issues editing .profile, passwd, .bashrc  (Read 3098 times)

bMindful

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://www.onematchfire.com
Permissions issues editing .profile, passwd, .bashrc
« on: October 20, 2003, 04:09:26 am »
Hi all-

Stoopid permissions question I\'m sure, but can\'t figure it out.

I\'m trying to make some small changes to my .profile file, and passwd file (change over to the bash shell), but I do not have write permissions. I\'m using vi (also tried AdvTextEdit), but I get write errors as I do not have permission to save my changes.

Do I need to explicitly login as root when using terminal? Or do I need to chown or chmod the files first?

Thanks,

bMindful

SL5500, v3
SL-5500, Rom 3.10, Socket CF WiFi, SanDisk SD 256 RAM [winXP]

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Permissions issues editing .profile, passwd, .bashrc
« Reply #1 on: October 20, 2003, 05:14:43 am »
In the SL5500 3.x ROMs you run as the \'zaurus\' user, which doesn\'t have admin permissions. So when you start the terminal, you are logged in as \'zaurus\'. Hence to edit /etc/passwd you must switch to the \'root\' user by running the command

su

If it asks for a password, it is the same as your passcode that you set in the Security app.

As for the .profile and .bashrc files, which ones are you trying to change? The ones under /home/root or /home/zaurus? Since you\'re now running as \'zaurus\' by default you will be using the ones under /home/zaurus which you should be able to edit, if they already exist, or create without any problems.

You cannot edit the files under /home/root as the \'zaurus\' user. You must switch to the root user to do that.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

bMindful

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://www.onematchfire.com
Permissions issues editing .profile, passwd, .bashrc
« Reply #2 on: October 20, 2003, 01:59:02 pm »
thanks so much, tummus!
SL-5500, Rom 3.10, Socket CF WiFi, SanDisk SD 256 RAM [winXP]

Anonymous

  • Guest
Permissions issues editing .profile, passwd, .bashrc
« Reply #3 on: December 02, 2003, 09:53:27 am »
Does the 3.10 Q desktop no longer support the execute as root checkbox?  When I check it off, it doesn\'t seem to hold the check or execute as root.

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Permissions issues editing .profile, passwd, .bashrc
« Reply #4 on: December 03, 2003, 06:27:39 am »
Quote
Does the 3.10 Q desktop no longer support the execute as root checkbox?  When I check it off, it doesn\'t seem to hold the check or execute as root.
This was buggy in v3.10. Try flashing to 3.13 from http://community.zaurus.com/projects/sl5500uss
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

tapjpa

  • Guest
Permissions issues editing .profile, passwd, .bashrc
« Reply #5 on: December 03, 2003, 12:51:19 pm »
tumnus- something tells me that link won\'t work anymore. Try this here http://www.zaurususergroup.com/modules.php...q=getit&lid=120