Sponsored Content
Top Forums UNIX for Advanced & Expert Users Help can't change user by su - command! Post 302135922 by manthasirisha on Thursday 13th of September 2007 02:09:05 PM
Old 09-13-2007
How to check if su is enabled for a user or not? Is there a command or a way to do that? Thanks very much!
 

8 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

User name change?

Hello, I love the service. My username is Jmt. Can I change that to WebKruncher? Thanks, -Jmt WebKruncher.com - sole proprietor. (1 Reply)
Discussion started by: Jmt
1 Replies

2. Forum Support Area for Unregistered Users & Account Problems

Change of user name

I am on several other Forums under the handle of FloridaBD and therefore would like to request that my user name here on Unix forums be changed from SunBurntYux to FloridaBSD Thanks. (1 Reply)
Discussion started by: SunBurntYux
1 Replies

3. Shell Programming and Scripting

How do i change to super user then revert back to ordinary user ,using shell script?

Hi all, I am trying to eject the cdrom from a livecd after certain stage... Now assuming that it is possible to eject,please consider my issue!!! The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive... However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies

4. UNIX for Dummies Questions & Answers

change user> to user@host> ssh prompt

Hi, I was wondering how to change the prompt for my ssh login. At the moment it is like user> while I'd like it to be as user@host> It is in the .bash_profile or .ssh ??? Thanks (2 Replies)
Discussion started by: pmasterkim
2 Replies

5. Solaris

how to change /export/home/user dir to /home /user in solaris

Hi all i am using solaris 10, i am creating user with useradd -d/home/user -m -s /bin/sh user user is created with in the following path /export/home/user (auto mount) i need the user to be created like this (/home as default home directory ) useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies

6. AIX

How to change normal user id to LDAP user id?

If I create a new user id test: mkuser id=400 test then I want it to LDAP user: chuser -R LDAP SYSTEM=LDAP registry=LDAP test It shows: 3004-687 User "test" does not exist. How to do? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

7. UNIX for Dummies Questions & Answers

could a change the ls command for a user only

Hi When I do the ls command I do ls -al so could I put someting in the .profile or somewhere else to juste write ls and the command will do ls -al ??? juste for 1 user ??? thanks Sylvain (5 Replies)
Discussion started by: slevesque
5 Replies

8. UNIX for Beginners Questions & Answers

Command to change add permissions for a new user to all files in all subfolders and folders

Hi there! I'm new to Unix and haven't done command line stuff since MS-Dos and Turbo Pascal (hah!), I would love some help figuring out this basic command (what I assume is basic). I'd like to add a User to the permissions of all files in a folder and all files in all subfolders, as well... (9 Replies)
Discussion started by: Janjbrt
9 Replies
lugadmin(1M)															      lugadmin(1M)

NAME
lugadmin - long user and group name enablement and display SYNOPSIS
num] DESCRIPTION
The command enables the support of long user and group names on the system, sets the default display width for long user and group names, and displays the current status of the system. If no options are specified, the option is assumed. Options The following options are supported: Enable long user and group name support on the system. See the subsection below for details. This option requires superuser privileges. Set num as the default display width for long user and group names. num can be in the range to The option can be only be specified with the option or when long names have been previously enabled. See the subsection below for details. This option requires superuser privileges. Display the current status of the system. The command displays one of: The system is restricted to short (8-byte) user and group names. The system is enabled for long (255-byte) user and group name support. A name string can be up to 255 bytes plus a trailing NULL byte. Enabling Long User and Group Names To enable long user and group names, 1. Stop the daemon. 2. Run the command with the option. 3. The command requests confirmation before enabling the system. If you respond with or the command proceeds; otherwise, it aborts. 4. The command creates the file. 5. If the option is not specified, num defaults to The specified or default value of num is written in Setting the User and Group Name Display Width The long user and group name default display width is set when is executed with the option. It can be changed at any time by executing with the option. If is not specified with the option, the value of num defaults to Application Usage Use one of these: o in program code; see sysconf(2) and the section. o in program code; see ug_display_width(3C). o in shell scripts; see getconf(1) and the section. o in shell scripts and all return either (short names) or (long names). See ug_display_width(3C) for its return values. Use one of the following procedures: o In program code, call o In a shell script, 1. Run or to see if long names are enabled. If not enabled, set width to 2. Else, if enabled, check for the environment variable. If the variable is set to a value between set width to the value. Oth- erwise set width to 3. Else, if not set, set width to the value in the file. Set width to if the value is out of range, not an integer, or improperly formatted. The current display width is used by all system and conforming applications to display formatted output. See section of ug_dis- play_width(3C) for usage of current display width. EXTERNAL INFLUENCES
Environment Variables If it is set and long names are enabled, it overrides the width specified in the file for all system and conforming applications that write formatted output. RETURN VALUE
exits with one of the following values: Successful completion Failure DIAGNOSTICS
You may have attempted to use the option for a second time. You tried to use the option before using the option. A call to the function failed. WARNINGS
The file is the switch that marks a long name system. If it is missing, short names are assumed and the variable is ignored. While many programs are unaffected by long names in a short name environment, some may behave abnormally and some may abort. It is recommended that you do not attempt to restore the short name environment once long names have been enabled. Do not use the system constant with the command or the function to test for name length; it is not changed when long names are enabled. AUTHOR
was developed by HP. FILES
If this file is present, the system is enabled for long user and group names; otherwise, it is not. This file contains the default display width, as set with the option. SEE ALSO
getconf(1), sysconf(2), ug_display_width(3C) lugadmin(1M)
All times are GMT -4. The time now is 03:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy