LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2008, 06:51 AM   #1
NEVICA
LQ Newbie
 
Registered: Feb 2008
Posts: 23

Rep: Reputation: 15
SU permission


Hello,

I have just installed the new version of UBUNTU.

During the installation set the program did not ask me to set up a Super User password.

In other versions of Linux such as Debian this has always been the case.

How do I set up a SU password in order that I can change file rights etc.

Regards,

Nevica
 
Old 08-02-2008, 06:57 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Typically in Ubuntu you are meant to use sudo instead, so

sudo chmod 755 filename

At the password prompt, you give the admin user password - ie the user you set up at install

Last edited by billymayday; 08-02-2008 at 07:08 AM.
 
Old 08-02-2008, 07:04 AM   #3
NEVICA
LQ Newbie
 
Registered: Feb 2008
Posts: 23

Original Poster
Rep: Reputation: 15
Hello Billy,

I want to change the rights of a folder and not just a file. Would I have to use chown thus:

sudo chown -x <folder name>

Can sudo be used this way?

Thanks,

Nevica
 
Old 08-02-2008, 07:09 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
sudo lets you run any command as root
 
Old 08-02-2008, 07:17 AM   #5
NEVICA
LQ Newbie
 
Registered: Feb 2008
Posts: 23

Original Poster
Rep: Reputation: 15
thanks billy
 
Old 08-02-2008, 07:28 AM   #6
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
You can also access the superuser account like this

sudo -i

Now you will be in superuser bash shell
 
Old 08-02-2008, 08:02 AM   #7
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
You can also do sudo su
It will ask for a password. You give your password.
The prompt will change from $ to #
at that point you are Root
 
Old 08-02-2008, 03:36 PM   #8
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
sudo su is redundant. Try sudo -s instead.
 
  


Reply


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
group permission the sticky bit permission comes in capital 'S' pkishorenayak Linux - Newbie 1 04-11-2008 06:04 PM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 06:57 AM
How to get the permission? lugia Ubuntu 23 07-25-2006 07:39 PM
permission problem - "You don't have permission to access" radone Linux - General 3 07-24-2006 11:23 AM


All times are GMT -5. The time now is 06:40 PM.

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